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
<?xml version="1.0"?> | |
<configuration> | |
<system.diagnostics> | |
<switches> | |
<add name="ShowErrors" value="4"/> | |
</switches> | |
<!-- log to debug output --> | |
<sources> |
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 | |
"""Export CSV from an RRD XML dump. | |
Usage: rrdxml.py file.xml rra | |
Where rra is the 0-based index for the RRA you want to dump. | |
""" | |
from csv import writer | |
from itertools import chain, izip |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.fitnesse</string> | |
<key>ServiceDescription</key> | |
<string>FitNesse Acceptance Tests</string> | |
<key>ProgramArguments</key> | |
<array> |
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
diff --git date_popup/date_popup.module date_popup/date_popup.module | |
index 513aace..6111004 100644 | |
--- date_popup/date_popup.module | |
+++ date_popup/date_popup.module | |
@@ -29,9 +29,6 @@ function date_popup_load() { | |
return; | |
} | |
$path = drupal_get_path('module', 'date_popup'); | |
- if (module_exists('jquery_ui')) { | |
- jquery_ui_add('ui.datepicker'); |
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 | |
changed=`git status -s | wc -l` | |
if [[ "$changed" -gt "0" ]]; then | |
echo "\033[31mCan't sync: working tree dirty\033[0m" | |
else | |
repo=${1:-origin} | |
if which -s git-up; then | |
git up $repo | |
else | |
git pull --rebase $repo |
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/python | |
# vim: set fileencoding=utf-8 | |
from csv import writer | |
from datetime import datetime | |
from selenium import webdriver | |
COUNTIES = [ | |
(5334, 'SR Aachen'), |
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
digraph tartetatin { | |
node [fontname=Helvetica, shape=rect]; | |
// ingredients | |
{ | |
node [color=gray, style=filled]; | |
butter; sugar; water; apple; rosemary; pastry; | |
} | |
// temps |
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/python | |
# | |
# git-slim | |
# | |
# Remove big files from git repo history. | |
# | |
# Requires GitPython (https://github.com/gitpython-developers/GitPython) | |
# | |
# References: | |
# - http://help.github.com/remove-sensitive-data/ |
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 unfiltered.filter._ | |
import unfiltered.request._ | |
import unfiltered.response._ | |
class HelloWorldApp extends Plan { | |
def intent = { | |
case GET(Path("/")) => | |
PlainTextContent ~> ResponseString("Hello, world!") | |
} | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.thoughtworks-studios.com/ns/go"> | |
<xs:element name="pipelines"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element ref="link"/> | |
<xs:element ref="pipeline"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> |
OlderNewer