This file contains 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
#!/usr/bin/env python | |
"""Mail. | |
Usage: | |
mail.py (-h | --help) | |
mail.py --version | |
mail.py [--to <to>] [--from <from>] [--cc <cc>] [--subject <subject>] [--message <message>] | |
Options: |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Decode</title> | |
</head> | |
<body> | |
drag & drop an audio file. | |
<ul style="list-style:none"> |
This file contains 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 | |
export XKL_XMODMAP_DISABLE=1 | |
unset SESSION_MANAGER | |
unset DBUS_SESSION_BUS_ADDRESS | |
gnome-panel & | |
gnome-settings-daemon & | |
metacity & | |
nautilus & |
This file contains 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 new_code |
This file contains 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 update | |
sudo apt-get install --yes htop unzip | |
sudo apt-get install --yes python-software-properties | |
sudo add-apt-repository --yes ppa:minetestdevs/stable | |
sudo apt-get update | |
sudo apt-get install --yes minetestc55 | |
wget https://gitorious.org/calinou/carbone/archive/master.zip -O carbone.zip | |
unzip carbone.zip |
This file contains 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
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script> | |
<script> | |
var vegetables = [{ | |
"name": "Carrot" | |
}, { | |
"name": "Potato" | |
}, { | |
"name": "Broccoli" | |
}]; |
This file contains 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
<html> | |
<head> | |
<title>Redirecting...</title> | |
<meta http-equiv="refresh" content="0;url=http://google.de"> | |
</head> | |
<body> | |
Attempting to redirect to <a href="http://google.de">http://google.de</a>. | |
</body> | |
</html> |
This file contains 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 update | |
sudo apt-get -y install couchdb | |
# curl http://localhost:5984 | |
sudo apt-get install -y python-software-properties | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository -y ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install -y nodejs |
This file contains 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
# 1.py | |
# pip2 install trello | |
# https://pythonhosted.org/trello/trello.html | |
import pprint | |
pp = pprint.PrettyPrinter(indent=4) | |
import credentials | |
key = credentials.key |
This file contains 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
# via http://json-template.googlecode.com/svn/trunk/doc/Introducing-JSON-Template.html | |
import jsontemplate | |
import json | |
# load template | |
template = open('test_template.html', 'r').read() | |
# load data | |
data = json.loads(open('test_data.json', 'r').read()) |
OlderNewer