This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://web.archive.org/web/20091015013516/http://www.elusivesnark.com/2008/11/carolines-dice-portrait.html | |
PImage img; | |
PImage cropped_img; | |
PImage patch; | |
int _width = 640; | |
int _height = 1024; | |
int patch_w = 16; | |
int patch_h = 16; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install sun-java6-plugin | |
sudo update-alternatives --install /usr/lib/mozilla/plugins/mozilla-javaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".tabs").tabs(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# | |
#Define dumpfile name | |
MYSQLBACKUP= /tmp/dbackup | |
#Perform MySQL dump | |
#Replace appropriate USER, PASSWORD and paths to mysqldump, socket, etc. | |
#Drop in you preferred method - tar versus gzip, etc. | |
/usr/bin/mysqldump --all-databases -S /tmp/mysql.sock -uUSER -pPASSWORD | gzip -c > $MYSQLBACKUP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osgi> provlquery /eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile "select(parent | parent.properties['org.eclipse.equinox.p2.type.group'] == true && parent.requirements.exists(rc | everything.exists(iu | iu.id == 'org.eclipse.core.filesystem' && iu ~= rc)))" true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax({ | |
url: '/echo/error/', | |
async: true, | |
// retryCount and retryLimit will let you retry a determined number of times | |
retryCount: 0, | |
retryLimit: 10, | |
// retryTimeout limits the total time retrying (in milliseconds) | |
retryTimeout: 10000, | |
// timeout for each request | |
timeout: 1000, |
OlderNewer