heroku
Can I use redis-cli with a connection URL?
No, at the moment (v3.2.1) redis-cli does not support the URI connection schema. If you want, you can make a feature or pull request for that in the Redis repository. UPDATE: The -u option was released with Redis 4.0, see Release notes. For example: redis-cli -u redis://user:pass@host:6379/0
Clear Heroku logs (command)
heroku restart will clear logs – although if you’re running in production you may not want to do this on a whim 😀 Other than that you can use the advanced logging addon (Syslog drains), which gives you the ability to clear the logs: deprecated heroku logs:drains clear Update 2019/08/07 heroku drains More info: http://devcenter.heroku.com/articles/logging
SSH tunneling from Heroku
Yes, you can. Having now gone down this path: yes, it is possible to set up an SSH tunnel from heroku to an external database. [NOTE: My particular app was written in Ruby on Rails, but the solution given here should work for any language hosted on Heroku.] Statement of the problem I am running … Read more
Heroku – How can I undo a push on heroku?
actually now heroku has a rollback! http://blog.heroku.com/archives/2010/11/17/releases/ heroku rollback
Is there a way to force a Heroku Dyno to sleep?
I got the definitive answer from a Heroku engineer. It’s no, you can’t force a dyno to sleep.
Heroku Toolbelt switch between multiple account
Have you tried the heroku accounts plugin?
SHARED_DATABASE (DATABASE_URL) —-backup—> error ! must delete a backup before creating a new one
heroku pgbackups:capture –expire this will create the backup 🙂 –expire automatically deletes the oldest existing manual backup
What exactly is dyno hour on Heroku?
From documentation: “Heroku usage is computed from wall-clock time, not CPU time. This means that usage accumulates over time as long as dynos are enabled, regardless of traffic or activity.” https://devcenter.heroku.com/articles/usage-and-billing#computing-usage 750 hrs is enough to cover any single dyno for an entire month. Essentially “non-production” apps are free in that regard. (unless you have … Read more