Skip to content

Instantly share code, notes, and snippets.

View bruntonspall's full-sized avatar

Michael Brunton-Spall bruntonspall

View GitHub Profile
@bruntonspall
bruntonspall / boxstarter.ps1
Last active March 8, 2019 19:32 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@bruntonspall
bruntonspall / tim.js
Created September 9, 2010 18:01 — forked from premasagar/tim.js
tim.js
/*
== Tim ==
A tiny JavaScript micro-templating script.
http://gist.github.com/521352
You can use Tim to write simple templates that use JavaScript's
familiar dot notation to replace template tags with JSON object
properties.
@bruntonspall
bruntonspall / gist:191220
Created September 22, 2009 16:50 — forked from anonymous/gist:191217
Bookmarklet for quick bookmarking sites
javascript:void(window.open(%22http://www.brunton-spall.co.uk/admin/bookmark/new?link=%22+encodeURIComponent(location.href)+%22&title=%22+escape(document.title)+%22&viaurl=%22+encodeURIComponent(document.referrer)+%22&description=%22+(document.getSelection?document.getSelection():window.getSelection()),%20%22%22,%20%22fullscreen=no,toolbar=no,status=yes,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=600,height=400%22));