memcached SASL ubuntu
Create a sasl folder in your user’s home directory, with the following content:
Create the database file:
Start memcached with SASL enabled:
migrating a heroku database
Put app in maintenance:
Create backup
Add new db addon, and check color in heroku config, and restore from backup:
After everything’s been done, promote it to be the main DB:
Remove maintenance, and restart app:
go extension manager
Seems interesting, need to try it out: [go extension manager] (https://github.com/adeven/goem)
manually triggering newrelic errors
I triggered an error manually from the console like this:
Of course when running in an environment where the agent is already started, you’d have to call only notice_error.
setting a global gitignore file
If you want to set a global gitignore file, that would apply to all your repos, you can do so like this: