Find it here: https://github.com/bitemyapp/learnhaskell
This file contains hidden or 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
| < | |
| %3C | |
| < | |
| < | |
| < | |
| < | |
| < | |
| < | |
| < | |
| < |
This file contains hidden or 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
| /usr/local/heroku/lib/heroku/updater.rb:33: warning: parenthesize argument(s) for future version | |
| Uploading SSH public key /Users/y/.ssh/heroku_rsa.pub | |
| /usr/local/heroku/vendor/gems/netrc-0.7.1/lib/netrc.rb:79:in `readto': undefined local variable or method `count' for []:Array (NameError) | |
| from /usr/local/heroku/vendor/gems/netrc-0.7.1/lib/netrc.rb:85:in `parse' | |
| from /usr/local/heroku/vendor/gems/netrc-0.7.1/lib/netrc.rb:20:in `read' | |
| from /usr/local/heroku/lib/heroku/auth.rb:92:in `netrc' | |
| from /usr/local/heroku/lib/heroku/auth.rb:116:in `read_credentials' | |
| from /usr/local/heroku/lib/heroku/auth.rb:59:in `get_credentials' | |
| from /usr/local/heroku/lib/heroku/auth.rb:47:in `user' | |
| from /usr/local/heroku/lib/heroku/auth.rb:14:in `client' |
This file contains hidden or 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
| /** | |
| * Annotated Gruntfile. | |
| * This builds a Backbone/Marionette application using Dust.js (Linkedin fork) as a | |
| * templating system, as well as some helpers from Foundation, with Browserify. | |
| * It also configures a watcher and static server with live reload. | |
| */ | |
| module.exports = function (grunt) { | |
| // This automatically loads grunt tasks from node_modules | |
| require("load-grunt-tasks")(grunt); |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
This file contains hidden or 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
| while true ; do | |
| for nn in `oc get ns | cut -d' ' -f 1` ; do | |
| if `oc get deployments -n $nn | grep -q webserver` ; then | |
| oc patch deployment jobrunner --patch '{"spec":{"template":{"spec":{"containers":[{"name":"jobrunner","resources":{"requests":{"memory":"3G"}} }]}}}}' -n $nn | |
| oc patch deployment hub-scan --patch '{"spec":{"template":{"spec":{"containers":[{"name":"hub-scan","resources":{"requests":{"memory":"2G"}} }]}}}}' -n $nn | |
| echo "now scaling down $nn" | |
| oc scale deployment hub-scan --replicas=0 -n $nn |
OlderNewer
