Skip to content

Instantly share code, notes, and snippets.

View Jabbslad's full-sized avatar

Jamie Atkinson Jabbslad

  • London, UK
  • 03:57 (UTC +01:00)
View GitHub Profile

Ten seconds to ponder if a thread is worth it

recording

A userstyle that makes you wait ten seconds before entering a Hacker News thread. I use stylus to manage mine.

.subtext {
  display: inline-block;
 background: linear-gradient(to left, transparent 50%, #f60 50%) right;
Verifying that "jabbslad.id" is my Blockstack ID. https://onename.com/jabbslad

Keybase proof

I hereby claim:

  • I am Jabbslad on github.
  • I am jabbslad (https://keybase.io/jabbslad) on keybase.
  • I have a public key whose fingerprint is 527F 74A4 8BF8 15F3 1D7B EDD0 252E 06A2 124A EE49

To claim this, I am signing this object:

@Jabbslad
Jabbslad / golang-setup.sh
Created September 3, 2014 12:48
Setup Golang
brew install go
mkdir $HOME/go
echo -e "
export GOPATH=$HOME/go
export GOROOT=$(go env GOROOT)
export PATH=$PATH:$GOPATH/bin:$GOROOT/bin" >> $HOME/.bash_profile
brew install hg
source $HOME/.bash_profile
go get code.google.com/p/go.tools/cmd/godoc
go get code.google.com/p/go.tools/cmd/vet
@Jabbslad
Jabbslad / gist:6954243
Created October 12, 2013 20:01
Create Mavericks Bootable USB
# Attribution: http://povolotski.me/2013/10/12/osx-mavericks-gm-out-bootable-installation-usb
# Pre-requisites:-
# * 8GB USB Stick formatted as Mac OS Extended (Journaled)
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
; 43: Write a function which reverses the interleave process into x number of subsequences.
(fn [coll n]
(apply map list (partition n coll)))
; 66: Given two integers, write a function which returns the greatest common divisor.
(fn [x y]
(if (= y 0) x
(recur y (rem x y))))
@Jabbslad
Jabbslad / default-irc-channels
Last active December 15, 2015 19:49
My default freenode channels
/join #clojure
/join ##javascript
/join #documentcloud
/join #ruby
/join #meteor
@Jabbslad
Jabbslad / hack.sh
Created March 31, 2012 10:24 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@Jabbslad
Jabbslad / dabblet.css
Created February 10, 2012 16:02
Untitled
a {
display: inline-block;
outline: none;
cursor: pointer;
text-align: center;
text-decoration: none;
font: 90px/100% Arial, Helvetica, sans-serif;
padding: .5em 2em .55em;
text-shadow: 0 1px 1px rgba(0,0,0,.3);
-webkit-border-radius: .5em;
@Jabbslad
Jabbslad / dabblet.css
Created February 10, 2012 12:31
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
a {
position: absolute;
top: -1px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topright: 5px;
border-bottom-top-radius: 5px;