Skip to content

Instantly share code, notes, and snippets.

View bkw's full-sized avatar

Bernhard Weisshuhn (a.k.a. bernhorst) bkw

View GitHub Profile
@bkw
bkw / regip.sh
Last active January 3, 2016 09:38 — forked from booo/regip.sh
#!/bin/sh
set -eu
if [ "$#" -lt "7" ]; then
echo "usage: $0 <user> <password>" \
"<network 104.13.9> <range start> <range end> <plz> <description>"
exit 1
fi
@bkw
bkw / svn-remove-stale-branches.sh
Created December 3, 2012 10:05 — forked from estahn/svn-remove-stale-branches.sh
Remove branches that belong to closed tickets
#!/usr/bin/env bash
set -eu
# Base Repository URL
SVN_URL=http://svn-repo-url
# Atlassian Jira URL
JIRA_URL=https://jira-url
@bkw
bkw / jsconf2011-talks.txt
Created May 6, 2011 07:42 — forked from indexzero/jsconf2011-talks.txt
JSConf talks and resources
Track A
Bytes and Blobs – David Flanagan @__DavidFlanagan
Slides: http://davidflanagan.com/Talks/jsconf11/BytesAndBlobs.html
Conference Wifi Redux - Malte Ubi @cramforce
Sashimi: https://github.com/cramforce/Sashimi
Slides: http://social-traffic.streamie.org/preso/static/#slide1
Run Your JS everywhere with Jellyfish – Adam Christian @admc
var http = require('http'),
util = require('util');
var options = {
host: 'api.twitter.com',
port: 80,
path: '/1/statuses/public_timeline.json'
};
var chunks = [],
total = 0;
!!! 5
//[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]
//[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]
//[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]
//[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]
head
meta(charset="utf-8")
meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1")
title some Title
meta(name="description", content="")