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
file 1 content |
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
gist(1) GIST gist(1) | |
NAME | |
gist: command line git pastebin: | |
SYNOPSIS | |
<command> | curl -d file_ext\[gistfile1\]=.py -d file_name\[gistfile1\]=file_1 --data-urlencode file_contents\[gistfile1\]@- -w \\n%\{redirect_url\}\\n gist.github.com/gists | |
DESCRIPTION | |
clone the resulting git repository with |
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 | |
""" | |
Info - get video information through gstreamer | |
copyright 2008 - Johannes 'josch' Schauer <[email protected]> | |
derived from discoverer.py from the python gstreamer examples. | |
kudos to Edward Hervey | |
This program is free software: you can redistribute it and/or modify |
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 | |
import pygst | |
pygst.require('0.10') | |
import os | |
import gst | |
from gobject import timeout_add, MainLoop | |
mainloop = MainLoop() | |
pipeline = gst.element_factory_make('playbin') |
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
From f8b4a752dc41e81bca114e92838a41915fd87cb4 Mon Sep 17 00:00:00 2001 | |
From: josch <[email protected]> | |
Date: Mon, 7 Dec 2009 08:29:45 +0000 | |
Subject: [PATCH] added libts-bin, input-utils | |
--- | |
pyneo-rootfs.sh | 4 ++-- | |
1 files changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/pyneo-rootfs.sh b/pyneo-rootfs.sh |
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 | |
import sys | |
class VM: | |
max_space = 32 | |
def __init__(self, program, initial_data): | |
self.program_store = list() | |
self.data_store = self.max_space*[0] |
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
/* | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of | |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
GNU General Public 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
#!/bin/sh -e | |
ROOTDIR="n900-chroot" | |
PACKAGES="ifupdown,openssh-server,udev,procps,netbase,vim,console-setup-mini,man-db,iproute" | |
PACKAGES="$PACKAGES,module-init-tools,wget,openssh-client,locales,sysklogd,klogd,input-utils,dnsutils" | |
PACKAGES="$PACKAGES,alsa-base,ntpdate,debconf-english,screen,less,console-tools,iputils-ping,vpnc,rsync" | |
PACKAGES="$PACKAGES,i2c-tools,watchdog" | |
cdebootstrap --flavour=minimal --include=$PACKAGES sid "$ROOTDIR" |
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
\documentclass[11pt,a4paper]{article} | |
\usepackage{amsmath} | |
\usepackage{listings} | |
\usepackage[utf8]{inputenc} | |
\begin{document} | |
\renewcommand{\theenumi}{(\alph{enumi})} | |
\renewcommand{\labelenumi}{\theenumi} | |
\section{Introduction} |
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
""" | |
Render TeX blocks to png | |
This is a Blogofile filter. Place it in your _filters directory. | |
""" | |
import tempfile | |
import subprocess | |
import shutil | |
import shlex | |
import os |
OlderNewer