Skip to content

Instantly share code, notes, and snippets.

View abraithwaite's full-sized avatar
:shipit:
:(){ :|:& };:

Alan Braithwaite abraithwaite

:shipit:
:(){ :|:& };:
View GitHub Profile
class A(object):
if windows:
def do_things(self):
# It's windows so this is a hack
return True
else:
def do_things(self):
# Not such a hack
return True
@abraithwaite
abraithwaite / PKGBUILD
Created August 14, 2014 07:24
mutt pkgbuild
# $Id$
# Contributor: tobias [tobias [at] archlinux.org]
# Maintainer: Gaetan Bisson <[email protected]>
pkgname=mutt
pkgver=1.5.23
pkgrel=1
pkgdesc='Small but very powerful text-based mail client'
url='http://www.mutt.org/'
license=('GPL')
@abraithwaite
abraithwaite / build.sh
Created August 8, 2014 03:30
Deterministic Linux Builds
#!/bin/bash
export INSTALL_MOD_STRIP=-s
export KBUILD_BUILD_TIMESTAMP=0
export KBUILD_BUILD_USER=root
export KBUILD_BUILD_HOST=localhost
make mrproper
make allnoconfig
make -j4