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
Thu Oct 11 09:48:24 UTC 2018 |
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
Sat May 7 09:44:58 UTC 2016 |
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 | |
# Example of using Tokyo Cabinet with the | |
# pytc (http://pypi.python.org/pypi/pytc/) Python language bindings. | |
# For an overview of pytc's methods, download the pytc source, | |
# open the pytc.c file and go to line 889 | |
from tc import HDB, HDBOREADER, HDBOWRITER, HDBOCREAT, HDBONOLCK, Error | |
# open (or create) the 'test.hdb' database with write permissions |
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
<!-- Simple Countdown in JS + Total Count --> | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<title></title> | |
<style type="text/css" media="screen"> |
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 | |
# encoding: utf-8 | |
""" | |
Text Labels as png with Pango/Cairo | |
""" | |
import os | |
import cairo |
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 | |
# encoding: utf-8 | |
import sys | |
import os | |
from docutils.core import publish_parts | |
from docutils.writers import html4css1 | |
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/bash | |
# | |
# Install LaTeX Beamer for TeX Live | |
# | |
# Arthur Koziel | |
# arthurkoziel.com | |
BEAMER_URL=http://surfnet.dl.sourceforge.net/sourceforge/latex-beamer/latex-beamer-3.07.tar.gz | |
XCOLOR_URL=http://mesh.dl.sourceforge.net/sourceforge/latex-beamer/xcolor-2.00.tar.gz | |
PGF_URL=http://switch.dl.sourceforge.net/sourceforge/latex-beamer/pgf-1.01.tar.gz |
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/bash | |
# This will scrape the django trac pages and output two files with ticket counts | |
# ticket-status-all.txt: assigned | repoened | new | |
# ticket-meta-all.txt: has_patch | needs_docs | needs_tests | needs_better_patch | |
# You can then use these numbers to make a plot in gnuplot or R | |
# | |
# Note: This was just a test; it's better to use the TRAC API. | |
DATE=$(date +%Y-%m-%d) | |
wget "http://code.djangoproject.com/query?status=assigned" -O 1 |
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 bash | |
# goes through directories, checks if it's a svn/hg/git repo and updates them | |
for i in $(ls -d */); do | |
echo $i; | |
if [ -d "$i/.git" ]; then cd $i; git pull; cd ..; fi | |
if [ -d "$i/.hg" ]; then cd $i; hg pull -u; cd ..; fi | |
if [ -d "$i/.svn" ]; then svn up $i; fi | |
echo; | |
done |