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
echo hello |
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
150 a.adtng.com | |
2 a.postrelease.com | |
6 a.teads.tv | |
191 a.thumbs.redditmedia.com | |
5 aan.amazon.com | |
689 aax-eu.amazon-adsystem.com | |
68 aax-us-east.amazon-adsystem.com | |
219 acdn.adnxs.com | |
11 acridtwist.com | |
12 ad-delivery.net |
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
0.0.0.0 66.media.tumblr.com | |
0.0.0.0 a.adtng.com | |
0.0.0.0 a.thumbs.redditmedia.com | |
0.0.0.0 a1.adform.net | |
0.0.0.0 aax-eu.amazon-adsystem.com | |
0.0.0.0 acdn.adnxs.com | |
0.0.0.0 ad.360yield.com | |
0.0.0.0 ad.crwdcntrl.net | |
0.0.0.0 ad.yieldlab.net | |
0.0.0.0 ads.adaptv.advertising.com |
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://radioclasica.rtveradio.cires21.com/radioclasica.mp3 |
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
" hello world | |
" Open all of these in a tab with `gnb` or open one of these with <N>goa where <N> | |
let qmark a = ["http://www.reddit.com", "http://www.liliputing.com"] | |
" https://developer.chrome.com/extensions/match_patterns | |
" *://mail.google.com/* , Matches any URL that starts with http://mail.google.com or https://mail.google.com. | |
" let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*", "@https://mail.google.com/mail/*"] |
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
""" | |
Pocket Calibre Recipe v1.4 | |
""" | |
from calibre import strftime | |
from calibre.web.feeds.news import BasicNewsRecipe | |
from string import Template | |
import json | |
import operator | |
import re | |
import tempfile |
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
<!doctype HTML> | |
<meta charset = 'utf-8'> | |
<html> | |
<head> | |
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/nvd3/1.1.15-beta/nv.d3.min.css'> | |
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js' type='text/javascript'></script> | |
<script src='//d3js.org/d3.v3.min.js' type='text/javascript'></script> | |
<script src='//cdnjs.cloudflare.com/ajax/libs/nvd3/1.1.15-beta/nv.d3.min.js' type='text/javascript'></script> | |
<script src='//nvd3.org/assets/lib/fisheye.js' type='text/javascript'></script> |
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
<!doctype HTML> | |
<meta charset = 'utf-8'> | |
<html> | |
<head> | |
<script src='//ramnathv.github.io/rCharts/libraries/widgets/polycharts/js/polychart2.standalone.js' type='text/javascript'></script> | |
<style> | |
.rChart { | |
display: block; |
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
# One-off script I wrote to slurp sample sentences off http://smart.fm | |
require 'rubygems' | |
require 'open-uri' | |
require 'hpricot' | |
def cleanup_text(str) | |
# str = str.gsub /<\/?b>/, "" # Human readable | |
str = str.gsub /\s+/, " " | |
return str.strip |
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
class Delicious | |
class << self | |
def tag(username, name, count = 15) | |
links = [] | |
url = "http://feeds.delicious.com/v2/rss/#{username}/#{name}?count=#{count}" | |
feed = Hpricot(open(url)) | |
feed.search("item").each do |i| | |
item = OpenStruct.new | |
item.link = i.at('link').next.to_s |
NewerOlder