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
Oferta de trabajo en Simplelógica | |
http://simplelogica.net | |
keywords: rails, ruby, web, simplelogica, hacking | |
Contacto: [email protected] | |
Fecha: 28/10/2008 | |
Hola, | |
en Simplelógica estamos buscando un/una desarrollador/desarrolladora en Rails para trabajar con nosotros. No necesitamos superexpertos, sino gente que esté entusiasmada por su experiencia con Rails hasta el momento y quiera continuar aprendiendo y mejorando en un entorno bastante agradable, con proyectos variados e interesantes y con unos compañeros Extremadamente Simpáticos™. | |
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
module Kandypot | |
module Randomizer | |
def lucky(i,p = 0.8) | |
(rand < p) ? i : nil | |
end | |
end | |
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
// ==UserScript== | |
// @name Hang The DJ | |
// @namespace http://simplelogica.net/cajondesastre/hangthedj | |
// @description Gets rid of blipfuckingfm on Twitter | |
// @include http://twitter.com/* | |
// @author mort ([email protected]) | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js | |
// ==/UserScript== | |
$(function() { | |
$(":contains('http://blip.fm')").parent('tr.status').hide(); |
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
config/database.yml | |
*~ | |
*.cache | |
*.log | |
*.pid | |
tmp/**/* | |
.DS\_Store | |
db/cstore/** | |
doc/api | |
doc/app |
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 'twitter' | |
# TwitterBackup.new(user,pass).backup! | |
# Will save tweets to files | |
# ~/.twitter_backup/tweets/tweet_id.yaml # Full yaml tweet | |
# ~/.twitter_backup/tweets/tweet_id.txt # Only tweet text | |
# Search locally in your tweets | |
# cat ~/.twitter_backup/tweets/*.txt | grep -i 'some text' |
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}" |
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
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
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
<!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 { |
OlderNewer