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
set[:swap][:location]="/swapfile" | |
set[:swap][:blocksize]="1024k" | |
set[:swap][:count]="1024" |
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
#!/bin/bash | |
# lets. A productivity booster | |
# based on ideas from https://gist.github.com/605292 | |
# | |
# Copy your /etc/hosts to /etc/hosts.play and create a new one called /etc/hosts.work with a list of blocked sites | |
# Usage: sudo lets [play|work] | |
if [ $# = 0 ] | |
then |
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
mod_auth_openid | |
the openid module for apache | |
home | |
faq | |
releases | |
issues | |
Introduction : The Apache OpenID Module | |
mod_auth_openid is an authentication module for the Apache 2 webserver. It handles the functions of an OpenID consumer as specified in the OpenID 2.0 specification. See the FAQ for more information. Download the current release from the the releases page. |
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
Cuando el diario suculento plato, | |
base de toda mesa castellana, | |
gastar me veda el rígido mandato | |
de la Iglesia Apostólica Romana, | |
yo, fiel cristiano, que sumiso acato | |
cuanto de aquella potestad emana, | |
de las viandas animales huyo | |
y con esta invención lo sustituyo. | |
Ancho y profundo cuenco, fabricado | |
de barro (como yo) coloco al fuego; |
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
before "deploy:symlink_initializers", "bundler:bundle_new_release" | |
namespace :bundler do | |
task :bundle_new_release do | |
run "cd #{release_path} && bundle install" | |
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
[Tue, 13 Jul 2010 17:28:28 +0200] INFO: Starting Chef Run | |
[Tue, 13 Jul 2010 17:28:33 +0200] ERROR: Errno::ENOENT | |
[Tue, 13 Jul 2010 17:28:33 +0200] FATAL: No such file or directory - /usr/lib/ruby/gems/1.8/gems/chef-0.8.16/distro/debian/etc/default/chef-client | |
/srv/chef/cache/cookbooks/chef/recipes/bootstrap_client.rb:79:in `read' | |
/srv/chef/cache/cookbooks/chef/recipes/bootstrap_client.rb:79:in `from_file' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/cookbook.rb:171:in `load_recipe' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/mixin/language_include_recipe.rb:38:in `include_recipe' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/mixin/language_include_recipe.rb:26:in `each' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/mixin/language_include_recipe.rb:26:in `include_recipe' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/bin/../lib/chef/compile.rb:145:in `load_recipes' |
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
A backup of http://sites.google.com/site/redcodenl/creating-shazam-in-java-1 just in case | |
Why is this necessary? Read http://sites.google.com/site/redcodenl/patent-infringement | |
Please fork, tweet about, etc. | |
---- | |
Creating Shazam in Java | |
A couple of days ago I encountered this article: How Shazam Works | |
This got me interested in how a program like Shazam works… And more importantly, how hard is it to program something similar in Java? |
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
require 'rubygems' | |
set :stage, nil unless defined? stage | |
namespace :growl do | |
task :notify do | |
growl_send(ENV["GROWL_MESSAGE"] || "wants your attention") | |
end | |
task :alert do |
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
Dir[File.join(File.dirname(__FILE__), '..', 'vendor', 'gems', 'hoptoad_notifier-*')].each do |vendored_notifier| | |
$: << File.join(vendored_notifier, 'lib') | |
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
*** Exception NameError in PhusionPassenger::Railz::ApplicationSpawner (uninitialized constant Rails) (process 8140): | |
from /home/wadus/sites/responde/config/preinitializer.rb:4 | |
from /opt/ruby-enterprise/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | |
from /opt/ruby-enterprise/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/phusion_passenger/railz/application_spawner.rb:297:in `preload_application' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/phusion_passenger/railz/application_spawner.rb:248:in `initialize_server' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/phusion_passenger/utils.rb:255:in `report_app_init_status' | |
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/phusion_passenger/railz/application_spawner.rb:233:in `initialize_server' | |
from /opt/ruby-enterprise/l |