Skip to content

Instantly share code, notes, and snippets.

@till
till / gist:223136
Created October 31, 2009 16:18 — forked from janl/gist:223077
var till = "awesome";
var mathias = "win";
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.
@till
till / gist:715511
Created November 25, 2010 15:07 — forked from anonymous/gist:715357
#!/usr/bin/php -q
<?php
define("DBHOST", "localhost");
define("DBUSER", "-mydb");
define("DBPASS", "");
define("DEFAULT_DB", "-mydb");
define("MAILER_TABLE", "mail_queue");
define("MAILER_LOCK_FILE", "/tmp/mailer_queue.lock");
#! /bin/sh
### BEGIN INIT INFO
# Provides: redis-server
# Required-Start: $syslog
# Required-Stop: $syslog
# Should-Start: $local_fs
# Should-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: redis-server - Persistent key-value db
<?php
require_once __DIR__ . '/silex.phar';
/**
* @desc Add local pear setup.
*/
set_include_path(__DIR__ . '/vendor/pear:' . get_include_path());
$app = new Silex\Application();
#!/usr/bin/env python
import sys
import boto
import pprint
del_flag = ''
if len(sys.argv) > 1:
del_flag = sys.argv[1]
#!/usr/bin/env python
import sys
import os
import boto
import pprint
del_flag = ''
if len(sys.argv) > 1:
del_flag = sys.argv[1]
@till
till / ignition.json
Created May 27, 2020 17:28 — forked from thetechnick/ignition.json
Hetzner Cloud terraform coreos install
{
"ignition": {
"version": "2.0.0",
"config": {}
},
"storage": {
},
"systemd": {},
"networkd": {},
"passwd": {