Skip to content

Instantly share code, notes, and snippets.

View Jabbslad's full-sized avatar

Jamie Atkinson Jabbslad

  • London, UK
  • 12:08 (UTC)
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;
@Jabbslad
Jabbslad / xbox.js
Created January 21, 2012 19:55
Xbox Live Scraper For PhantomJS
/*
Copyright (c) 2012 Jabbslad
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
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 / 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;