This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"userName": "alphagov", | |
"repo": "calculators" | |
}, | |
{ | |
"userName": "alphagov", | |
"repo": "calendars" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :smartdown do | |
def smartdown_coversheet_path(flow_name, coversheet_name= flow_name) | |
File.join(smartdown_flow_path(flow_name), "#{coversheet_name}.txt") | |
end | |
def smartdown_flow_path(flow_name) | |
Rails.root.join('lib', 'smartdown_flows', flow_name) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"www.agileplannerapp.com":{"_enabled":true,"_rules":{".masthead":{"display":"none"},"#page > p.update":{"display":"none"},".kanban-board > header":{"display":"none"},".column[data-collection=Blocked] .cards > li > article":{"border":"4px solid red"},".column .bar":{"display":"none"}}}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bundler could not find compatible versions for gem "nokogiri": | |
In Gemfile: | |
govspeak (= 1.5.4) ruby depends on | |
nokogiri (~> 1.5.10) ruby | |
slimmer (= 4.1.0) ruby depends on | |
nokogiri (1.5.9) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pulls li.age-aging, | |
#pulls li.age-old { | |
/*background: #9Fa098;*/ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (url, params) { | |
var body = document.body, | |
script = document.createElement('script'); | |
try { | |
pairs = []; | |
for(var key in params) pairs.push(encodeURIComponent(key) + '=' + encodeURIComponent(params[key])); | |
script.setAttribute('src', url + '?' + pairs.join('&')); | |
script.setAttribute('id', params.id || 'bookmarklet'); | |
} catch (c) { | |
alert('Please wait until the page has loaded'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function.prototype.bind=Function.prototype.bind||function(b){if(typeof this!=="function"){throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");}var a=Array.prototype.slice,f=a.call(arguments,1),e=this,c=function(){},d=function(){return e.apply(this instanceof c?this:b||window,f.concat(a.call(arguments)));};c.prototype=this.prototype;d.prototype=new c();return d;}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (max-width: 480px) { | |
body #page { | |
min-width: 320px; | |
max-width: 480px; | |
} | |
/** Header */ | |
#primaryNav { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// javascript:(function(src){document.body.appendChild(document.createElement('script')).setAttribute('src', src);})("https://gist.github.com/raw/924488/twttr.media.types.Lastfm.js"); | |
// Simulate self-executed scope in phoenix.js, Replicate A (ajax/xdm var in compressed version) | |
(function(A) { | |
twttr.mediaType("twttr.media.types.Lastfm", { | |
icon: "song", | |
domain: "http://www.last.fm", | |
matchers: { | |
track: /^#{optional_protocol}?www\.last\.fm\/music\/([^/]+\/[^/]+\/[^/]+)/i, | |
album: /^#{optional_protocol}?www\.last\.fm\/music\/([^/]+\/[^/]+)/i, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(src) { | |
document.body.appendChild(document.createElement('script')).setAttribute('src', src); | |
})(prompt("Script URL to load", "http://example.com/script.js")); | |
// You could drop the self executing function now src is at the end of the line, it's just as easy to edit. |