Skip to content

Instantly share code, notes, and snippets.

Avatar
🇦🇺
🐈 👨🏻‍💻

Simon Brazell SimonBrazell

🇦🇺
🐈 👨🏻‍💻
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am simonbrazell on github.
  • I am simon_b (https://keybase.io/simon_b) on keybase.
  • I have a public key ASBGN9pVocpEgi-FyUxO5mfMOHUOHXKWx8rHIpdImJVhngo

To claim this, I am signing this object:

@SimonBrazell
SimonBrazell / scheduler.rake
Created Jun 21, 2018
Schedule Heroku Dyno Restarts
View scheduler.rake
# Credit goes to Jon Archer for this: http://www.jonarcher.com/2016/08/scheduled-heroku-dyno-restarts.html
#
# SETUP
# =====
#
# Create new rake task:
# $ rails generate task scheduler restart
#
# Install the Heroku oauth plugin:
# $ heroku plugins:install heroku-cli-oauth
@SimonBrazell
SimonBrazell / crlf2lf.txt
Last active Feb 7, 2018
Replace all CRLF with LF line endings in local repo
View crlf2lf.txt
brew install dos2unix
cd /path/to/repo
find ./ -type f -exec dos2unix {} \;