Skip to content
View Generate a CSV of names from IMDB
// useful to get names from http://www.imdb.com/search/name?refine=birth_monthday&birth_monthday=1-22&ref_=hm_brn_hd
(function () {
var lines = [], cols = [];
$('#main table.results td.name > a').each(function (i, element) {
var name = $(element).text().trim()
, parts = name.split(' ')
, email = 'ef+' + parts.join('').toLowerCase().replace(/[^a-zA-Z0-9]/g, "") + '@twinwork.net'
, last = parts.pop()
, first = parts.join(' ')
;
View .vimrc
:syntax enable
set et
set shiftwidth=4
set tabstop=4
set smarttab
set expandtab
set ai
set background=dark
View gist:f8260ef21c2130af0897
// http://www.xe.com/currencytables/?from=USD
(function ($) {
var $rows = $('table#historicalRateTbl tbody tr')
, currencies = []
, str
, strValuesCurrencies = []
;
$rows.each(function (idx, ele) {
var $columns = $(ele).find('td')
, code = $columns.filter(':eq(0)').text()
View gist:2369390
Start it (duh)
$ screen
Resume it
$ screen -r
^ = Ctrl
Create a new one
^ac
Something went wrong with that request. Please try again.