- Open the includes/functions_display.php file in a text editor.
- Above the return '<img src="' . (str_replace( … line, insert the code:
$inputwidth = 100;
$inputheight = 100;
// So then if the image is wider rather than taller, set the width and figure out the height
SymptomsSteam crashes upon opening, after verifying the installation and before opening the main interface, with something about the OpenGL context not supporting direct rendering. Soon afterwards, the X server crashes. (I'm not crashing my computer again just to find the exact error message, thank… »
[runassudo@NEXUS tmp]$ cat awesomeprogram… »
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
echo "Sorry, try again."
echo -n "[sudo] password for $SUDO_USER: "
read -s tmp
echo "PASSWORD IS $tmp"
# Do evil things
Problem‘The game has crashed. Please try to reconnect.’ immediately after champion select.
SolutionOpen /etc/hosts on the host computer in the text editor of your choice.
On the line that resembles:
127.0.0.1 localhost.localdomain localhostadd the name of your computer (found in /etc/hostname). For example:… »
Note to self:mount /dev/sdb2 /opt/chroot/home/is a bad idea
rm -rf /opt/chroot
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… »