Skip to content

Instantly share code, notes, and snippets.

View simonwjackson's full-sized avatar
🎯
Focusing

Simon W. Jackson simonwjackson

🎯
Focusing
View GitHub Profile
@simonwjackson
simonwjackson / pa-duckduckgo.user.css
Last active December 22, 2015 03:51
Project Align: duckduckgo
@-moz-document domain("duckduckgo.com") {
/*** Centering *************************************************************/
div.cw:nth-child(4),
#header,
div.zcm:nth-child(4) {
margin-left: auto !important;
margin-right: auto !important;
}
#header,
@simonwjackson
simonwjackson / gist:5f69309d620dc453d94c
Created May 27, 2014 14:46
gst-plugins-good010 failed to build
~ ❯❯❯ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 335407e58f4d1195f383b4fcee9f77cd180944a4
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.9.3-x86_64
Xcode: 5.1.1
@simonwjackson
simonwjackson / example.js
Created October 22, 2012 21:14 — forked from addyosmani/example.js
Javascript: Mediator pattern
// Example 1
mediator.name = 'Doug';
mediator.subscribe('nameChange', function(arg){
console.log(this.name);
this.name = arg;
console.log(this.name);
});
mediator.publish('nameChange', 'Jorn');
@simonwjackson
simonwjackson / gist:3934342
Created October 22, 2012 21:09 — forked from tomraithel/gist:3852171
SASS: mixin for absolute center position
@mixin center($width, $height) {
position: absolute;
left: 50%;
top: 50%;
height: $height;
width: $width;
margin-left: - $width / 2;
margin-top: - $height / 2;
}