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
task :update_counters => :environment do | |
Tag.reset_column_information | |
Tag.all.each do |t| | |
Tag.update_counters(t.id, :taggings_count => t.taggings.count) | |
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
export PATH=/opt/local/lib/postgresql83/bin:${PATH} | |
env ARCHFLAGS="-arch x86_64" gem install pg |
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
!.*/(\.[^/]*|public\/images|doc\/app|vendor\/rails|cache|tmp|log|logs|system|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$ |
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
He recibido este correo sobre la nueva ley de descargas de internet... | |
1. SUPUESTO | |
a) PEPE se descarga una canción de Internet. | |
b) PEPE decide que prefiere el disco original y va a El Corte Inglés a | |
hurtarlo. Una vez allí, y para no dar dos viajes, opta por llevarse toda | |
una discografía. La suma de lo hurtado no supera los 400 euros. | |
ACLARACIÓN: La descarga de la canción sería un delito con pena de 6 | |
meses a dos años. El hurto de la discografía en El Corte Inglés ni | |
siquiera sería un delito, sino una simple falta (art. 623.1 del Código |
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
# Standard capistrano deploy.rb file | |
# by Emili Parreno - www.eparreno.com | |
# | |
# Knowledge | |
# http://www.capify.org/index.php/Documentation | |
# http://github.com/guides/deploying-with-capistrano | |
# http://wiki.brightbox.co.uk/docs:gemv2:repositories | |
set :application, 'myapp' | |
set :keep_releases, 3 |
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
# Pasos para compilar ImageMagick e instalar RMagick en Debian | |
# Gracias a Ivan Belmonte (@ibelmonte) | |
# | |
# Instalar las dependencias de ImageMagick para poderlo compilar | |
sudo apt-get install libjpeg62-dev libbz2-dev libtiff4-dev libwmf-dev libz-dev libpng12-dev libx11-dev libxt-dev libxext-dev libxml2-dev libfreetype6-dev liblcms1-dev libexif-dev perl libjasper-dev libltdl3-dev graphviz gs-gpl pkg-config | |
# Compilar ImageMagick para que se pueda instalar luego RMagick, que requiere la versión 6.3+ y Debian incorpora la 6.2.x. | |
cd /usr/local/src | |
wget -c ftp://ftp.fu-berlin.de/unix/X11/graphics/ImageMagick/ImageMagick-6.4.1-10.tar.gz | |
tar zxvfp ImageMagick-6.4.1-10.tar.gz |
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
# lib/tasks/import.rake | |
# Import data from CSV fixtures | |
require 'csv' | |
require 'active_record/fixtures' | |
namespace :db do | |
namespace :import do | |
task :cities => :environment do | |
puts "Important ciutats..." |
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
Awesome Gibson Les Paul Supreme 2013 Wine Red colour. AAAA maple top and back, gold hardware. | |
Pictures https://goo.gl/photos/GEzW8Gssib1RH5qc9 | |
From Musicorp: | |
"This model bears all the hallmarks of an ornate custom-made instrument, with seven-ply top binding, three-ply back binding, a bound Richlite® fingerboard with mother-of-pearl (MoP) split-block inlays, a showpiece headstock trimmed in five-ply binding with deluxe MoP globe inlay and "Supreme" banner, MoP Gibson logo, an engraved brass truss-rod cover, gold hardware, and even gold-tinted frets. With gorgeous flamed maple on both sides of a chambered mahogany body core, the Les Paul Supreme is nothing short of stunning, and your choice of translucent high-gloss Heritage Cherry Burst or Desert Burst finish shows off this exalted wood with real class. | |
More than just an incredible looker, however, the Les Paul Supreme is also a powerful tone machine. A pair of Gibson's most popular humbucking pickups with genuine Alnico magnets yield a wide array of voices |
NewerOlder