Public Gists by akitaonrails

Gravatar
Thu Sep 03 22:31:49 -0700 2009
1
2
3
2.3.4 CHANGE LOG
 
Action Mailer
Gravatar
Tue Jul 07 15:43:29 -0700 2009
1
2
3
*AVISO* agradeço aos interessados, mas já vendi este notebook. []'s
 
Vendo meu Macbook Pro 2008/2009, usado em ótimas condições (penúltima versão antes do novo Unibody, não tem o trackpad multitouch da nova geração)
Gravatar
Fri Apr 17 16:25:57 -0700 2009
1
2
3
#!/bin/bash
projects=( rails active_merchant activerecord_i18n_defaults adva_cms amqp ansuz apache-upload-progress-module backports braid click-to-globalize clj-garden cucumber cucumber-tmbundle custom_resource_name deprec design_patterns_in_ruby exception_notification git-me-up git_depot globalize2 globalize2-demo grit http_accept_language insoshi isitjruby jrails jruby-rack lighthouse-api merb-internals-handbook mizuho mspec panda paperclip poignant-br prawn rails-template rake-compiler reia rhodes rhosync rquery rspec rspec-rails ruby-benchmark-suite rubyspec sake-tasks saushengine scanty snippets standalone-migrations translate_routes translator twitter vim-git vim-rails webrat )
for repo in ${projects[@]}; do
Gravatar
Wed Apr 08 01:58:39 -0700 2009
1
2
3
Rails::Initializer.run do |config|
  config.logger = Logger.new(STDOUT)
  config.active_record.colorize_logging = false
Gravatar
Tue Mar 31 21:22:46 -0700 2009
1
2
3
### NGINX:
 
$ httperf --server=akitaonrails.local --uri=/posts --rate=5 --num-conns=5
Gravatar
Tue Mar 31 21:22:19 -0700 2009
1
2
3
### NGINX:
 
$ httperf --server=akitaonrails.local --uri=/posts --rate=10 --num-conns=100
Gravatar
Tue Mar 31 21:21:40 -0700 2009
1
2
3
### NGINX
 
$ httperf --server=akitaonrails.local --uri=/ --rate=10 --num-conns=100
Gravatar
Sat Feb 07 10:39:38 -0800 2009
1
2
3
require 'autotest/redgreen'
 
module Autotest::Growl
Gravatar
Sat Jan 10 08:41:20 -0800 2009
1
2
3
# run by doing:
# rake locales:compile LANG_TARGET=pt-BR
namespace :locales do
Gravatar
Tue Jan 06 13:38:17 -0800 2009
1
2
3
def teste
  puts 1 + 2
end
Gravatar
Mon Jan 05 04:22:57 -0800 2009
1
2
3
RubyConf
RailsConf
RailsConf EU
Gravatar
Wed Oct 01 23:40:22 -0700 2008
1
2
3
LoadModule passenger_module /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.0.3/ext/apache2/mod_passenger.so
PassengerRoot /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.0.3
PassengerRuby /opt/ruby-enterprise/bin/ruby
gist: 14292 crontab para Gitorious
Gravatar
Wed Oct 01 23:18:27 -0700 2008
1
2
3
*/1 * * * * /opt/ruby-enterprise/bin/ruby /var/www/gitorious/script/task_performer
* */1 * * * cd /var/www/gitorious && /opt/ruby-enterprise/bin/rake ultrasphinx:index RAILS_ENV=production
 
gist: 14291 gitorious.yml
Gravatar
Wed Oct 01 23:11:34 -0700 2008
1
2
3
# The session secret key (`apg -m 64` is always useful for this kinda stuff)
cookie_secret: frie...kceft
 
gist: 14290 database.yml para gitorious
Gravatar
Wed Oct 01 23:09:50 -0700 2008
1
2
3
development:
  adapter: mysql
  database: gitorious_development
gist: 14052 Logrotate for Gitorious
Gravatar
Wed Oct 01 00:55:14 -0700 2008
1
2
3
/var/www/gitorious/log/*log {
    missingok
    notifempty
gist: 14049 CentOS init script for Gito...
Gravatar
Wed Oct 01 00:35:40 -0700 2008
1
2
3
#!/bin/bash
#
# Init file for Gitorious Ultrasphinx daemon
gist: 14047 CentOS init script for Gito...
Gravatar
Wed Oct 01 00:18:33 -0700 2008
1
2
3
#!/bin/bash
#
# Init file for Gitorious GIT-Daemon daemon
gist: 13894 Forces the Shared Access se...
Gravatar
Tue Sep 30 10:59:30 -0700 2008
1
2
3
SC sdset SharedAccess D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc config SharedAccess start= auto
net start sharedaccess
Gravatar
Sun Sep 21 10:22:07 -0700 2008
1
2
3
{
  :'pt-BR' => {
    # formatos de data e hora