- Serial Port: /dev/cu.SLAB_USBtoUART
- Baud Rate: 115200
- Data Bits: Eight
- Stop Bits: Two
- Handshake: None
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
| ### KERNEL TUNING ### | |
| # Increase size of file handles and inode cache | |
| fs.file-max = 2097152 | |
| # Do less swapping | |
| vm.swappiness = 10 | |
| vm.dirty_ratio = 60 | |
| vm.dirty_background_ratio = 2 |
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
| namespace :staging do | |
| desc 'create subdomain DNS record for Heroku review app' | |
| task :publish_dns do | |
| require 'dnsimple' | |
| require 'platform-api' | |
| STAGING_DOMAIN = 'mystagingdomain.com'.freeze | |
| DNSIMPLE_ACCOUNT_ID = .freeze | |
| heroku_app_name = ENV['HEROKU_APP_NAME'] | |
| subdomain = heroku_app_name.match(/.*(pr-\d+)/).captures.first |
OlderNewer