Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ShaneHudson on github.
  • I am shanehudson (https://keybase.io/shanehudson) on keybase.
  • I have a public key whose fingerprint is B185 71A1 5414 9CFC 01B9 E947 BCF3 3797 3D83 C303

To claim this, I am signing this object:

var min = 1;
var max = 20;
var Link = $.noUiSlider.Link;
$(".range-slider").noUiSlider({
start: [2, 14],
connect: true,
behaviour: 'tap-drag',
range: {
'min': min,
/*
* This Script adds every song in the playlist you're currently
* viewing at https://play.spotify.com to "Your Music".
*
* Open your browser console and paste this script to run it.
*/
(function() {
// Check this web browser has all the functionality we need to do this task.
var hasQuerySelector = typeof document.querySelector === 'function';
.hide-text {
overflow: hidden;
text-indent: 100%;
white-space: nowrap;
}
@ShaneHudson
ShaneHudson / functions.php
Created July 20, 2012 14:04 — forked from johnmegahan/functions.php
Extended Walker class for use with the Zurb Foundation Template Dropdown menus in Wordpress. Forked from a Twitter Bootstrap walker.
<?php
class Foundation_Walker_Nav_Menu extends Walker_Nav_Menu {
function start_lvl( &$output, $depth ) {
$indent = str_repeat( "\t", $depth );
$output .= "\n$indent<ul class=\"flyout\">\n";
}
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(500);

Selling Macbook Pro Late 2011 about £850

Very good condition (Just needs cleaning, which I will have done before sending), works perfectly. Couple of small scratches (and a tiny dent that you never notice) on the bottom.

Model Name: MacBook Pro Model Identifier: MacBookPro8,1 Processor Name: Intel Core i5 Processor Speed: 2.4 GHz Number of Processors: 1 Total Number of Cores: 2