> /var/adm/sylog
fuser /var/adm/syslog
ps -p `fuser /var/adm/syslog`
Keni

Jar Jar Binks Fan Club
No title available
EXPECTATIONS

if i look back, i am lost
I'd rather be in outer space 🛸
🩵 avery cochrane 🩵

shark vs the universe
official daine visual archive
Cosmic Funnies
YOU ARE THE REASON
ojovivo

gracie abrams
Sweet Seals For You, Always
Cosimo Galluzzi
macklin celebrini has autism
untitled
NASA

Product Placement

Jimmy Eat World
seen from Malaysia
seen from Philippines
seen from Venezuela

seen from Singapore

seen from United Kingdom
seen from United States

seen from Pakistan

seen from United States
seen from United Kingdom

seen from Germany

seen from Malaysia
seen from Pakistan

seen from Malaysia
seen from United States
seen from Malaysia

seen from Thailand
seen from Netherlands
seen from Canada
seen from Egypt
seen from Australia
@ror32-blog-blog
> /var/adm/sylog
fuser /var/adm/syslog
ps -p `fuser /var/adm/syslog`
Rails Blog & Conference
* blog
Crowd Interactive Tech Blog : http://blog.crowdint.com/archive
http://blog.bemga.com/?tag=ruby-on-rails
* conference
MAGMA RAILS : http://www.magmarails.com/
RailsConf2012 :Â http://www.railsconf2012.com/
http://www.confreaks.com/events/railsconf2012 presentations available
http://lanyrd.com/2012/railsconf/
Gem Server
gem server
Run your own gem server
http://guides.rubygems.org/run-your-own-gem-server/
Rails Logger
The default Rails log level is
info in production mode and
debug in development and test mode.
http://guides.rubyonrails.org/debugging_rails_applications.html#the-logger
http://engineering.freeagent.com/2011/10/12/understanding-the-rails-logger/
http://railscasts.com/episodes/56-the-logger-revised
[Tip]
http://syntaxionist.rogerhub.com/rotate-rails-logs-with-logrotate.html
http://zogovic.com/post/21138929607/running-time-in-rails-logs
https://github.com/wvanbergen/request-log-analyzer/
http://cbpowell.wordpress.com/2012/04/05/beautiful-logging-for-ruby-on-rails-3-2/
http://jasonseifer.com/2009/08/10/using-the-rails-logger-outside-of-models-and-controllers
http://mirakui.hatenablog.com/entry/2012/02/19/how-to-flush-rails-logger-if-unicorn-timeout
[Tip2]
def index
 @articles = Article.all
 logger.debug "Articles Count: #{Article.count}"
end
def index
 @articles = Article.all
 logger.debug { "Articles Count: #{Article.count}" }
end
Rails Custom Configuration
https://github.com/binarylogic/settingslogic
https://github.com/markbates/configatron
https://github.com/raavin/configatron-rails
http://stackoverflow.com/questions/592554/best-way-to-create-custom-config-options-for-my-rails-app
Bulk inserting data using ActiveRecord.
https://github.com/zdennis/activerecord-import
Run a single migration! @Rails
http://stackoverflow.com/questions/753919/run-a-single-migration-file
rake db:migrate:status
rake db:migrate:down VERSION=20090408054532
rake db:migrate:up VERSION=20090408054532
rails console
>> require "db/migrate/20090408054532_add_foos.rb"
>> AddFoos.up
script/runner 'require("db/migrate/20090408054532_add_foos.rb").first.constantize.up'
MySQL Data and Time Functions
http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html
SELECT NOW()
SELECT UTC_TIMESTAMP()
MySQL tips (MyISAM, InnoDB)
*Â Concurrent Inserts (MyISAM)
http://dev.mysql.com/doc/refman/5.5/en/concurrent-inserts.html
* INSERT DELAYEDÂ Syntax (MyISAM)
http://dev.mysql.com/doc/refman/5.5/en/insert-delayed.html
* Bulk Data Loading for InnoDB Tables
http://dev.mysql.com/doc/refman/5.5/en/optimizing-innodb-bulk-data-loading.html
*Â 13.2.6. LOAD DATA INFILE Syntax
http://dev.mysql.com/doc/refman/5.5/en/load-data.html
*Â 8.4.3.2. Disadvantages of Creating Many Tables in the Same Database
http://dev.mysql.com/doc/refman/5.5/en/creating-many-tables.html
*Â 13.2.5.3. INSERT ... ON DUPLICATE KEY UPDATE Syntax
http://dev.mysql.com/doc/refman/5.5/en/insert-on-duplicate.html
* Avoid Query Cache
SELECT SQL_NO_CACHE ...
*Â Packet too large
http://dev.mysql.com/doc/refman/5.5/en/packet-too-large.html
MySQL Edition
MySQL Community Edition
http://www.mysql.com/products/
http://www.mysql.com/products/community/
MySQL query beautifier!
iPhone System Versioning Preprocessor Macros
/*  *  System Versioning Preprocessor Macros  */ #define SYSTEM_VERSION_EQUAL_TO(v)          ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame) #define SYSTEM_VERSION_GREATER_THAN(v)        ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending) #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v)  ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) #define SYSTEM_VERSION_LESS_THAN(v)         ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending) #define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v)   ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending) /*  *  Usage  */ if (SYSTEM_VERSION_LESS_THAN(@"4.0")) {   ... } if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"3.1.1")) {   ... }
http://stackoverflow.com/questions/3339722/check-iphone-ios-version
__IPHONE_OS_VERSION_MIN_REQUIRED = 30200.
node.js useful links
http://nodejs.org/api/
http://howtonode.org/
https://no.de/
https://github.com/nodejitsu/handbook
http://search.npmjs.org/
http://nodeup.com/
http://blog.nodejitsu.com/npm-cheatsheet
http://www.scoop.it/t/nodejs-code
http://openmymind.net/redis.pdf
CoffeeScript useful links
http://coffeescript.org/
http://ontwik.com/javascript/jeremy-ashkenas-coffeescript-for-the-well-rounded-rubyist/
http://arcturo.github.com/library/coffeescript/
http://autotelicum.github.com/Smooth-CoffeeScript/
http://railscasts.com/episodes/267-coffeescript-basics
http://peepcode.com/products/coffeescript
http://pragprog.com/book/tbcoffee/coffeescript
http://my.safaribooksonline.com/book/programming/coffeescript/9780132946155
http://coffeescriptcookbook.com/chapters/strings/capitalizing-words
https://github.com/languages/coffeescript
Rails Timezone
**
http://www.elabs.se/blog/36-working-with-time-zones-in-ruby-on-rails
* What time is it or handling timezones in Rails
http://databasically.com/2010/10/22/what-time-is-it-or-handling-timezones-in-rails/
config/application.rb
config.time_zone = 'Seoul'
Time.zone = current_user.time_zone || MyAppName::Application.config.time_zone]
http://apidock.com/rails/ActionView/Helpers/FormOptionsHelper/time_zone_select
<%= time_zone_select( "user", 'time_zone', ActiveSupport::TimeZone.us_zones, :default => "Pacific Time (US & Canada)") %>
<%= time_zone_select( "user", 'time_zone') %>
<%= time_zone_select( "user", 'time_zone', /Seoul/) %>
<%= time_zone_select( "user", "time_zone", nil, :default => "Seoul" ) %>
*Â http://railscasts.com/episodes/106-time-zones-in-rails-2-1
add_column :users, :time_zone, :string
1.9.2p318 :002 > MyData.first.updated_at
 => Thu, 14 Jun 2012 15:46:07 KST +09:00Â
1.9.2p318 :003 >Â MyData.first.updated_at_before_type_cast
 => "2012-06-14 06:46:07.970776"Â
CoffeeScript & jQuery example
From CodeSchool
https://gist.github.com/2941940
https://gist.github.com/2941984