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
import javax.net.ssl.SSLParameters; | |
import javax.net.ssl.SSLSocket; | |
import javax.net.ssl.SSLSocketFactory; | |
import java.io.*; | |
/** Establish a SSL connection to a host and port, writes a byte and | |
* prints the response. See | |
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
*/ | |
public class SSLPoke { |
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
# prepare for autotest + redgreen + growl | |
yum install libffi-devel | |
cat <<EOT >> Gemfile | |
group :test do | |
gem 'autotest' | |
gem 'autotest-growl' | |
gem 'autotest-fsevent' |
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 | |
URL=`curl -s http://www.sublimetext.com/3 | grep id=\"dl_linux_64 | sed -e "s/.*also available as a <a href=\"//g" -e "s/\".*//g"` | |
wget -nc $URL |
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
Show hidden characters
{ | |
"working_dir": "${project_path:${folder}}", | |
"shell_cmd": "mvn -fae clean install" | |
} |
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
# Depeche Mode - Delta Machine Tour - Setlist Lyrics | |
## 1. Welcome To My World | |
Welcome to my world | |
Step right through the door | |
Leave your tranquilizers at home | |
You don't need them anymore | |
All the drama queens are gone |
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
config_description=UAE default configuration | |
config_hardware=false | |
config_host=false | |
config_version=0.8.29 | |
unix.rom_path=~/ | |
unix.floppy_path=~/ | |
unix.hardfile_path=~/ | |
unix.savestate_path=~/ | |
unix.cpu_idle=0 | |
amd64.use_tsc=yes |
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
# diff -Naur wfcmgr.old wfcmgr | |
--- wfcmgr.old 2013-07-25 15:49:31.180136647 +0200 | |
+++ wfcmgr 2013-07-25 15:50:10.153028280 +0200 | |
@@ -143,7 +143,7 @@ | |
if [ -f $HOME/.ICAClient/.eula_accepted ] | |
then | |
# EULA has been accepted on a previous occasion | |
- exec $ICAROOT/wfcmgr.bin $* | |
+ exec $ICAROOT/wfcmgr.bin $1 $2 "$3" | |
fi |
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 | |
# Author: Shirish Padalkar (https://twitter.com/_Garbage_) | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 infoq_presentation_url" | |
exit 1 | |
fi | |
url_with_spaces=`curl -A "Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10" $1 | grep "<source src=" | tr -dc "[:print:]"` |
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/sh | |
# Color diff output, for human consumption | |
# License: LGPLv2 | |
# Author: | |
# http://www.pixelbeat.org/ | |
# Notes: | |
# If 2 parameters are passed, then they are passed to | |
# the `diff -Naru` command first. Otherwise the parameters |
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 | |
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm | |
yum -y install python ffmpeg mediainfo | |
curl https://codeload.github.com/chamfay/Curlew/zip/master -o Curlew-master.zip | |
unzip Curlew-master.zip | |
rm Curlew-master.zip | |
cd Curlew-master | |
python2 ./setup.py | |
cd .. | |
mkdir -p /home/liveuser/.curlew/ |
OlderNewer