Skip to content

Instantly share code, notes, and snippets.

View SimonBrazell's full-sized avatar
🇦🇺
🐈 👨🏻‍💻

Simon Brazell SimonBrazell

🇦🇺
🐈 👨🏻‍💻
View GitHub Profile
@SimonBrazell
SimonBrazell / crlf2lf.txt
Last active February 7, 2018 22:42
Replace all CRLF with LF line endings in local repo
brew install dos2unix
cd /path/to/repo
find ./ -type f -exec dos2unix {} \;
@SimonBrazell
SimonBrazell / scheduler.rake
Created June 21, 2018 01:00
Schedule Heroku Dyno Restarts
# 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

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: