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
| - Una presentación sobre nada | |
| "nothing happens on the show. You see, it's just like life. You know, you eat, you go shopping, you read.. You eat, you read, You go shopping." (Seinfield) | |
| - The Lunar Society | |
| "The Lunar Society of Birmingham was a dinner club and informal learned society of prominent industrialists, natural philosophers and intellectuals who met regularly between 1765 and 1813 in Birmingham, England." | |
| - John Snow - The Ghost Map | |
| "John Snow (15 March 1813 – 16 June 1858) was a British physician and a leader in the adoption of anaesthesia and medical hygiene. He is considered to be one of the fathers of epidemiology, because of his work in tracing the source of a cholera outbreak in Soho, England, in 1854." | |
| - Historias individuales intricadas en un marco histórico |
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
| require 'rubygems' | |
| require 'wirble' | |
| Wirble.init | |
| Wirble.colorize | |
| script_console_running = ENV.include?('RAILS_ENV') && IRB.conf[:LOAD_MODULES] && IRB.conf[:LOAD_MODULES].include?('console_with_helpers') | |
| rails_running = ENV.include?('RAILS_ENV') && !(IRB.conf[:LOAD_MODULES] && IRB.conf[:LOAD_MODULES].include?('console_with_helpers')) | |
| irb_standalone_running = !script_console_running && !rails_running | |
| if script_console_running |
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
| require 'rubygems' | |
| require 'csquares' | |
| require 'geohash' | |
| class TileMaker | |
| def self.make(lat_min = 0.0, lon_min = 0.0, lat_max = 90.0, lon_max = 180.0, step = 0.0001) | |
| lat = lat_min |
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
| require 'rubygems' | |
| require 'httparty' | |
| require 'nokogiri' | |
| require 'open-uri' | |
| class Twitter | |
| include HTTParty | |
| base_uri 'twitter.com' | |
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
| - The Secret Life of The Manic Depressive | |
| - The Ascent of Money | |
| - The Century of the Self | |
| - (Alan Moore) | |
| - (John Nash) | |
| - Trinity | |
| - Chasing Ghosts | |
| - Helvetica | |
| - The King of Kong | |
| - (Pinball) |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
| "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>Arritmia / mort</title> | |
| <style type="text/css"> | |
| div#sidebar { |
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
| Desobediencia Civil, Henry David Thoreau, Antorcha | |
| DESOBEDIENCIA CIVIL | |
| Acepto plenamente la divisa: el mejor gobierno es el que menos gobierna, y quisiera verlo actuar en este sentido más rápida y sistemáticamente. Realizada, equivale en última instancia a esto en lo que también creo: el mejor gobierno es el que no gobierna en absoluto, y cuando los hombres estén preparados para él, éste será el tipo de gobierno que todos tendrán. El gobierno es, bajo óptimas condiciones nada más que un recurso, pero la mayoría de los gobiernos suelen ser, y a veces todos los gobiernos son inoportunos. Las objeciones que han sido planteadas contra la existencia de un ejército regular, son muchas y de peso. Finalmente éstas pueden también aplicarse a un gobierno establecido. El ejército regular no es más que un tentáculo del gobierno establecido. El mismo gobierno, que sólo es el medio escogido por el pueblo para ejecutar su voluntad, está igualmente sujeto a sufrir abusos y corrupción antes de que el pueblo llegue a actuar |
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
| require 'sinatra' | |
| get '/:colour' do | |
| erb "<body style='background-color:##{params[:colour]}'></body>" | |
| 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
| >> lat = '51.500915' | |
| => "51.500915" | |
| >> lon = '-0.122405' | |
| => "-0.122405" | |
| >> radius = 1 | |
| => 1 | |
| >> options = {} | |
| => {} | |
| >> options[:flickr] = {:auth => {:api_key => 'XXXXX'}} | |
| => {:auth=>{:api_key=>"XXXXX"}} |
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
| class RoresDownloader | |
| MONTHS = %w(january february march april may june july august september october november december) | |
| YEARS = 2004..2009 | |
| def self.download | |
| YEARS.each do |year| | |
| MONTHS.each do |month| | |
| m = month.capitalize | |
| url = "http://lists.simplelogica.net/pipermail/ror-es/#{year}-#{m}.txt.gz" | |
| puts "Y: #{year}; M: #{m}; URL: #{url}" |