http://collectiveidea.com/blog/archives/2016/01/08/postgresql95-upgrade-with-homebrew/
Upgrade Postgres (9.5):
brew update && brew upgrade postgres
Then let’s stop the old installation (but don’t load up the new one yet).
http://collectiveidea.com/blog/archives/2016/01/08/postgresql95-upgrade-with-homebrew/
Upgrade Postgres (9.5):
brew update && brew upgrade postgres
Then let’s stop the old installation (but don’t load up the new one yet).
| /[^\x00-\x7F] |
| select * from users into outfile 'users.csv' fields terminated by ',' optionally enclosed by '"' lines terminated by '\n'; |
| https://www.reddit.com/r/MechanicalKeyboards/wiki/buying_guide | |
| WASD CODE 87-Key Mechanical Keyboard - Cherry MX Clear | |
| http://www.wasdkeyboards.com/index.php/products/code-keyboard/code-87-key-mechanical-keyboard.html | |
| KUL ES-87 Tenkeyless Keyboard (Cherry MX Clear) | |
| http://www.elitekeyboards.com/products.php?sub=keyed_up_labs,tenkeyless&pid=es87u_cc_bbb_al |
| $(document).ready -> | |
| $(document) | |
| .on('ajax:before', ".single-line-qualification", (e) -> | |
| debugger | |
| # do validation and return false to cancel ajax | |
| if e.target[1].value.trim() == '' | |
| e.target[1].value = '' | |
| alert 'You must enter a name!' | |
| return false | |
| ) |
Posted March 06, 2013 02:31 By Veezus Kreist (http://blog.veez.us/)
I've always been a pretty austere guy. I'd rather have less things than more: every time I move I throw out half of what I have. I'm not big into customization, either; if there's a non-ridiculous default, that's what I'm using.
That ethos extends into my work. I use the default Terminal.app on my MacBook, with the built-in Pro theme. I use exactly 12 vim plugins, including my favorite color scheme. My dot files amount to only 300-some lines, including vim options, bash options, git options, and comments.
That's the background for this post on single-session development, the way I've been developing lately. When I say session, I mean shell session. I mean, log into one shell on my laptop, maximize it, and run everything in that one session: no tabs, no screen, and certainly no tmux. Bernerd Schaefer started me down this path in his Laptop-Driven Development; that post has been hanging out in the back of my
| RSpec.configure do |config| | |
| # ...snip | |
| config.before(:each) do | |
| DatabaseCleaner.start | |
| GC.disable | |
| end | |
| config.after(:each) do | |
| DatabaseCleaner.clean |
| Deploying a Rails 3 App with EC2 + S3 + Ubuntu + Capistrano + Passenger | |
| ======================================================================= | |
| EC2 Setup | |
| --------- | |
| 1 Launch New ec2 instance - ami-1634de7f | |
| 2 Create elastic IP [ELASTIC_IP] and associate it with instance | |
| 3 go to domain registrar DNS settings, @ and www to ELASTIC_IP | |
| 4 set the `:host` in `config/deploy.rb` to ELASTIC_IP |
master branch is always production-ready, deployable, 100% green test suitegit pull is configured to automatically rebase)| # You can disable this feature for just Sublime Text 3: | |
| defaults write com.sublimetext.3 ApplePressAndHoldEnabled -bool false | |
| # Alternately, if you want this feature disabled globally, you can enter this: | |
| defaults write -g ApplePressAndHoldEnabled -bool false |