This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"github.com/zeebo/bencode" | |
) | |
type Foo struct { | |
Name string | |
Stuff interface{} |
This file contains hidden or 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 | |
n1=1250 | |
n2=2500 | |
n3=3750 | |
n4=5000 | |
n5=6250 | |
n6=7500 | |
n7=8750 | |
n8=10000 |
This file contains hidden or 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 | |
now=`date +%s` | |
stattime=`stat -c'%Z' /tmp/sshag.$USER` | |
uptime=`cat /proc/uptime | cut -d. -f1` | |
if [ 0 -lt $[ $now - $stattime - $uptime] ]; then | |
ssh-agent > /tmp/sshag.$USER | |
chmod 600 /tmp/sshag.$USER | |
fi |
This file contains hidden or 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
name = dcbl1 | |
description = Theme fuer db-events.de | |
core = 7.x | |
stylesheets[all][] = style.css |
This file contains hidden or 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/python2 | |
import simplejson, urllib | |
from optparse import OptionParser | |
from sys import argv,exit | |
class URLNotValidError(Exception): | |
pass | |
class Soundcloud(object): |
This file contains hidden or 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
#include "stdlib.h" | |
#include "stdio.h" | |
#include "sqlite/sqlite3.h" | |
int gotmail(void* NotUsed, int colcount, char** qresult, char** colname); | |
sqlite3* db; | |
char * EMSG = NULL; | |
int main(){ |
This file contains hidden or 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
void | |
drawbar(Monitor *m) { | |
int x; | |
unsigned int i, occ = 0, urg = 0; | |
unsigned long *col; | |
Client *c; | |
for(c = m->clients; c; c = c->next) { | |
occ |= c->tags; | |
if(c->isurgent) |
This file contains hidden or 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
(function () { | |
var thumbs = {}; | |
Thumb = function(cfgObj){ | |
if(typeof(cfgObj) !== "object") throw("config object missing!") | |
if(cfgObj.parentElement!= null){ | |
this.parentElement = cfgObj.parentElement | |
}else{ | |
throw("no parent element!"); | |
} |

This file contains hidden or 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
/* See LICENSE file for copyright and license details. */ | |
/* appearance */ | |
static const char font[] = "-*-tamsyn-medium-*-*-*-12-*-*-*-*-*-*-*"; | |
static const char normbordercolor[] = "#444444"; | |
static const char normbgcolor[] = "#444444"; | |
static const char normfgcolor[] = "#73a800"; | |
static const char selbordercolor[] = "#73a800"; | |
static const char selbgcolor[] = "#444444"; |