http://patshaughnessy.net/2012/1/4/never-create-ruby-strings-longer-than-23-characters http://patshaughnessy.net/2014/1/9/how-big-is-a-bignum http://www.rubyfleebie.com/understanding-fixnums/ http://latentflip.com/i-need-to-see-your-id/
- https://github.com/fastly/fastly-rails
- ransack
- faker
- annotate
- simple-spreadsheet
- simple-cov
- assert_json
- api-pagination
- apipie
- mysql2
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
http://weblogs.asp.net/dwahlin/creating-a-typescript-workflow-with-gulp |
list of databases in a Postgresql:
- \l
list of all the tables in a Postgresql database:
- \d
turn on timing, and checking how much time a query takes to execute:
- \timing
list of available functions:
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
step1: | |
uninstall rvm | |
step2: | |
delete .rvm folder | |
step3: | |
brew reinstall openssl | |
step4: |
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
1. Yrs of experience should be obvious |
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
{{$guid}} | |
the above variable will generate UUID in Postman Rest Client | |
Sample request is below | |
======================== | |
{ | |
"user":{ | |
"id":"{{$guid}}" | |
} | |
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
heroku config:set REDIS_PROVIDER=REDISTOGO_URL | |
Sidekiq will automatically use it. | |
Also create a config/initializers/redis.rb and put the below content | |
if ENV["REDISCLOUD_URL"] | |
$redis = Redis.new(:url => ENV["REDISCLOUD_URL"]) | |
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
ps aux | grep sublime | awk '{ print $2 }' |
NewerOlder