Here I'm gathering awesome things to do with Steam Deck.
Resource:
Here I'm gathering awesome things to do with Steam Deck.
Resource:
| HTTP status code symbols for Rails | |
| Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
| Status Code Symbol | |
| 1xx Informational | |
| 100 :continue | |
| 101 :switching_protocols | |
| 102 :processing |
| RAILS_ENV=production rake db:setup | |
| # produces the error below.....hmmm.....it's a no-worky | |
| psql:/yourprojectpath/yourproject/db/structure.sql:29: ERROR: could not open extension control file "/usr/share/postgresql/9.1/extension/hstore.control": No such file or directory | |
| # hstore postgresql extension needs to be installed, so.... | |
| sudo apt-get install postgresql-contrib | |
| # now your extension should be available to enable so log in with psql | |
| psql -d yourproject_production -U yourdbuser -W |
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
cp ~/.gnupg/pubring.gpg /path/to/backups/
cp ~/.gnupg/secring.gpg /path/to/backups/
cp ~/.gnupg/trustdb.gpg /path/to/backups/