This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usual case: | |
eipipuz@RadicalGolem:~/piss$ heroku db:push mysql://pissuser:password@localhost/pissing | |
Sending schema | |
Sending data | |
1 tables, 1 records | |
!!! Caught Server Exception | ETA: --:--:-- | |
Taps Server Error: PGError ERROR: relation "users" does not exist | |
eipipuz@RadicalGolem:~/piss$ heroku info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I made this file to scratch an itch. I'm learning Python and I found they have "new" control flows. They have a while/else. This made me go to Wikipedia and see if there were any others I was ignoring. This in turn made me come to exit_when. It's like a Case statement with a While mixed in. | |
Will I ever use it? Dunno. Have I found any useful scenario? Not yet. | |
(I'm sure a better Rubyist can make a better implementation. If someone knows a better way, please let me know.) | |
Enjoy. |