VirtualTam's bookmarks

  1. Very cool & detailed tutorial on how to setup Emacs for Python editing, completion & execution.

    https://github.com/jhamrick/emacs

  2. To import a certificate to a Java keystore:

    $ keytool -import -alias <alias> -file <file>.crt -keystore <keystore>

    Example (Linux w/ OpenJDK 7):

    $ /usr/lib/jvm/java-7-openjdk-amd64/bin/keytool -import -alias <alias> -file <file>.crt -keystore /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security/cacerts

  3. To increase the memory allocated and available:

    # /etc/default/jenkins
    JAVA_ARGS=&quot;-Xms4G -Xmx16G -Djava.awt.headless=true&quot;
    

    See also

  4. Includes support for Coverage, Xunit and other cool stuff ;-) Oh, and there is parallel testing, too \o/

    nosetests --with-coverage --cover-erase --cover-tests --cover-html --cover-html-dir=htmlcov --with-xunit --xunit-file=unit.xml

    via http://www.alexconrad.org/2011/10/jenkins-and-python.html

  5. "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system."

    The opposite is WET:

    We
    Edit
    Terribly, Tumultuously, Tempestuously, Tenaciously, Too much, Timidly, Tortuously, Terrifiedly... 
    

    > I think WET also stands for "We Enjoy Typing" // DuncanBayne