Skip to content

Instantly share code, notes, and snippets.

David Burrows dburrows

Block or report user

Report or block dburrows

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View install vscode extensions
# generate by running command
# code --list-extensions | xargs -L 1 echo code --install-extension
code --install-extension Zignd.html-css-class-completion
code --install-extension abusaidm.html-snippets
code --install-extension angryobject.react-pure-to-class-vscode
code --install-extension
code --install-extension bibhasdn.unique-lines
code --install-extension dbaeumer.vscode-eslint
code --install-extension drKnoxy.eslint-disable-snippets
View Basic Node Docker file
FROM ubuntu:14.04
RUN apt-get -y update
RUN apt-get -y install software-properties-common
RUN add-apt-repository ppa:chris-lea/node.js
RUN apt-get -y update
RUN apt-get -y install nodejs
ADD . /src
RUN cd /src; npm install
CMD ["nodejs", "/src/index.js"]
dburrows / gist:71c5cdbe696665ce5b4a
Last active Aug 29, 2015
Minification issues with Angular & Browserify
View gist:71c5cdbe696665ce5b4a
// when using Browserify with Angular + ngmin you may do something like this
// controllers/example-list.js
module.exports = function ($scope) {
// example-module.js
var exampleListController = require('./controllers/example-list');
View gist:44a0577278737143e2f8
$type: "scale";
$value: 50%;
$lb: "(";
$rb: ")";
div {
transform:( #{$type}#{$lb}#{$value}#{$rb} );
dburrows / OS X - installing Ansible via `pip install`
Last active Nov 4, 2016
Reliably installing Ansible on OS X Mavericks
View OS X - installing Ansible via `pip install`
// brew install ansible didn't work properly,
// even tried brew install python but no joy
// so use pip on standard python install
sudo pip install ansible
// if you get errors try this
// from
When you get to the step 'sudo pip install ansible', do this instead:
View gist:9972975
var Q = require('q');
var HTTP = require("q-io/http");
Q.all( [
.then(function(resStatusArray) {
dburrows / gist:6462367
Created Sep 6, 2013
Sublime Text 3 Icons Fix
View gist:6462367
fix is here
in Sublime Text 3, in the SublimeLinter folder
42: +MARK_THEMES_PATH = os.path.join('Packages', 'SublimeLinter', 'gutter_mark_themes')
263: gutter_mark_image = gutter_mark_theme + '-' + lint_type
View rspec_cheat_sheet.rd
$ gem install rspec
dburrows / Gemfile
Created Mar 23, 2012 — forked from mbleigh/Gemfile
Non-Rails Rackup with Sprockets, Compass, Handlebars, Coffeescript, and Twitter Bootstrap
View Gemfile
source ""
gem 'sprockets'
gem 'sprockets-sass'
gem 'sass'
gem 'compass'
gem 'bootstrap-sass'
gem 'handlebars_assets'
gem 'coffee-script'
You can’t perform that action at this time.