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
#!ipxe | |
set base-url http://alpha.release.core-os.net/amd64-usr/current | |
kernel ${base-url}/coreos_production_pxe.vmlinuz sshkey="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAYQC2PxAKTLdczK9+RNsGGPsz0eC2pBlydBEcrbI7LSfiN7Bo5hQQVjki+Xpnp8EEYKpzu6eakL8MJj3E28wT/vNklT1KyMZrXnVhtsmOtBKKG/++odpaavdW2/AU0l7RZiE= coreos pxe demo" | |
initrd ${base-url}/coreos_production_pxe_image.cpio.gz | |
boot |
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
# Fake a fuse install | |
# from https://gist.github.com/henrik-muehe/6155333/e35981031bad80ada4cbf1e4a48ba7f86a019db4 | |
# see https://github.com/dotcloud/docker/issues/2191 | |
run apt-get install libfuse2 | |
run cd /tmp &&\ | |
apt-get download fuse &&\ | |
dpkg-deb -x fuse_* . &&\ | |
dpkg-deb -e fuse_* &&\ | |
rm fuse_*.deb &&\ | |
echo -en '#!/bin/bash\nexit 0\n' > DEBIAN/postinst &&\ |
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 sys | |
from PySide.QtCore import QObject, Slot | |
from PySide.QtGui import QApplication | |
from PySide.QtWebKit import QWebView | |
html = """ | |
<html> | |
<body> | |
<h1>Hello!</h1><br> |
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
# -*- coding: utf-8 -*- | |
""" | |
Flaskr | |
~~~~~~ | |
A microblog example application written as Flask tutorial with | |
Flask and couchdbkit. | |
:copyright: (c) 2010 by Armin Ronacher. | |
:license: BSD, see LICENSE for more details. |
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
// Tree-Structure from https://gremlin-users.googlegroups.com/attach/eb75b39c6330a874/Simple+Tree.png?pli=1&view=1&part=4 | |
g = new TinkerGraph() | |
A = g.addVertex('A') | |
B = g.addVertex('B') | |
g.addEdge(A, B, 'child') | |
C = g.addVertex('C') | |
g.addEdge(A, C, 'child') | |
D = g.addVertex('D') |
NewerOlder