List of incompetent jackasses who can't check a source if their lives depended on it:
This file contains 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
{"data":[{"id":"1432750582849","json":"{\"enabled\":true,\"name\":\"Twitter: Hide Trends\",\"url\":\"\",\"updateUrl\":\"\",\"sections\":[{\"code\":\".module.trends { display: none; }\",\"domains\":[\"twitter.com\"],\"regexps\":[],\"urlPrefixes\":[],\"urls\":[\"\"]}]}"},{"id":"1432750082921","json":"{\"enabled\":true,\"name\":\"Twitter: Hide Promoted Tweets\",\"url\":\"\",\"updateUrl\":\"\",\"sections\":[{\"code\":\"*[data-promoted] { display:none; }\",\"domains\":[\"twitter.com\"],\"regexps\":[],\"urlPrefixes\":[],\"urls\":[\"\"]}]}"},{"id":"1432750240677","json":"{\"enabled\":true,\"name\":\"Twitter: Hide Who to Follow\",\"url\":\"\",\"updateUrl\":\"\",\"sections\":[{\"code\":\".wtf-module,\\n.WhoToFollow {\\n\\tdisplay: none !important;\\n}\",\"domains\":[\"twitter.com\"],\"regexps\":[],\"urlPrefixes\":[],\"urls\":[\"\"]}]}"},{"id":"1432750414498","json":"{\"enabled\":true,\"name\":\"Twitter: Hide Footer\",\"url\":\"\",\"updateUrl\":\"\",\"sections\":[{\"code\":\".Footer { display: none }\",\"domains\":[\"t |
This file contains 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
#pagelet_trending_tags_and_topics, | |
#pagelet_ego_pane, | |
.rhcFooterWrap { | |
display: none !important; | |
} | |
[data-reactid*="$interestsNav"], | |
[data-reactid*="$developerNav"], | |
[data-reactid*="$pagesNav"], | |
[data-reactid*="$listsNav"], | |
[data-reactid*="$eventsNav"], |
This file contains 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
source 'https://rubygems.org' | |
gem 'sinatra', git: 'git://github.com/sinatra/sinatra.git' | |
gem 'sequel' | |
gem 'sqlite3' | |
gem 'yajl-ruby', require: 'yajl' |
This file contains 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
# This goes in _plugins/excerpt.rb | |
module Jekyll | |
class Post | |
alias_method :original_to_liquid, :to_liquid | |
def to_liquid | |
original_to_liquid.deep_merge({ | |
'excerpt' => content.match('<!--more-->') ? content.split('<!--more-->').first : nil | |
}) | |
end | |
end |
This file contains 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
// HOWTO: load LABjs itself dynamically! | |
// inline this code in your page to load LABjs itself dynamically, if you're so inclined. | |
(function (global, oDOC, handler) { | |
var head = oDOC.head || oDOC.getElementsByTagName("head"); | |
function LABjsLoaded() { | |
// do cool stuff with $LAB here | |
} |
This file contains 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
/* Daniel Ott | |
* entities.css | |
* 31 January 2011 | |
* | |
* Adding arrows to thinks makes them more clickable. Right? | |
* Use CSS's :after pseudo-selector to insert hexadecimal values | |
* of html entities into the document. Less markup. More awesome. | |
*/ | |
.add-an-arrow:after { |
This file contains 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
const fs = require('fs'); | |
const d3 = require('d3-dsv'); | |
const path = require('path'); | |
const yaml = require('js-yaml'); | |
const toMarkdown = require('to-markdown'); | |
d3.csvParse( | |
fs.readFileSync('./goodreads_library_export.csv', 'utf8') | |
).filter(row => { | |
return row['Exclusive Shelf'] !== 'to-read'; |
This file contains 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
http { | |
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:8m max_size=3000m inactive=600m; | |
proxy_temp_path /var/tmp; | |
include mime.types; | |
default_type application/octet-stream; | |
sendfile on; | |
keepalive_timeout 65; | |
gzip on; | |
gzip_comp_level 6; |
This file contains 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
(* | |
The zero_pad function taken from: | |
http://www.nineboxes.net/2009/10/an-applescript-function-to-zero-pad-integers/ | |
*) | |
on zero_pad(value, string_length) | |
set string_zeroes to "" | |
set digits_to_pad to string_length - (length of (value as string)) | |
if digits_to_pad > 0 then | |
repeat digits_to_pad times | |
set string_zeroes to string_zeroes & "0" as string |
OlderNewer