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/ksh | |
# | |
# REview - Pick - Phuck Around | |
# | |
# Copyright (C) 2011 Peter Parkanyi <[email protected]> | |
# Distributed under the MIT license | |
# | |
SHA1='[a-f0-9]{40}' | |
LISTPATCHES=$(git log HEAD..$1 |grep -E "${SHA1}\$" |sed "s/^.*\(${SHA1//@([\{\}])/\\\1}\)\$/\1/") | |
alias show='git show --patch-with-stat' |
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
# usage: | |
# to build hazi1.cpp: make hazi1 | |
# to build and run: make RUN=1 hazi1 | |
# to build and strip //-style comments: make STRIP=1 hazi1 | |
# guess what: make RUN=1 STRIP=1 hazi1 | |
CC = g++ | |
OPTS = -g --pedantic -Wall --ansi -lglut | |
.cpp: | |
$(CC) $(OPTS) $*.cpp -o $* |
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 | |
USER='username' | |
PASS='password' # password for the irc server or irssi-proxy | |
PORT=6668 # port where irssi-proxy runs | |
HOST='localhost' # host where irssi-proxy runs | |
CHAN='#test' # channel in which to post | |
read oldrev newrev _branch | |
branch=$(echo $_branch | sed 's/.*\/\([a-z0-9][a-z0-9]*\)$/\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 python | |
import fileinput | |
print """# Generated by Password Exporter; Export format 1.1; Encrypted: false | |
"hostname","username","password","formSubmitURL","httpRealm","usernameField","passwordField" """ | |
for line in fileinput.input(): | |
s = line.split('","') | |
if s[0] == '"origin_url': continue # skip the header |
NewerOlder