SSH into Root
$ ssh [email protected]
Change Root Password
" SFDX mappings | |
" Requires https://github.com/skywind3000/asyncrun.vim | |
let mapleader = "\<Space>" | |
nmap <leader>fst :AsyncRun sfdx force:source:status<CR> | |
nmap <leader>fsp :AsyncRun sfdx force:source:push<CR> | |
nmap <leader>wfsp :w<CR> :AsyncRun sfdx force:source:push<CR> | |
nmap <leader>fsl :AsyncRun sfdx force:source:pull<CR> | |
nmap <leader>fol :AsyncRun sfdx force:org:list<CR> |
1. `vim /etc/syslog.conf` | |
2. Add to end of file: `cron.* /var/log/cron.log` | |
3. | |
``` | |
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist | |
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist | |
``` | |
[where-is-the-cron-log-file-in-macosx-lion](http://apple.stackexchange.com/questions/38861/where-is-the-cron-log-file-in-macosx-lion) |
# Without this fix, downgrading from Rails 4 to Rails 3 causes session cookies to blow up. | |
# | |
# The way the flash is stored in the session changed in a backwards-incompatible way. | |
if Rails::VERSION::MAJOR == 3 | |
module ActionDispatch | |
class Flash | |
def call(env) | |
if (session = env['rack.session']) && (flash = session['flash']) |
SSH into Root
$ ssh [email protected]
Change Root Password
This is a quick tutorial explaining how to get a static website hosted on Heroku.
Why do this?
Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.