git branch -vv --color=always | while read; do echo -e $(git log -1 --format=%ci $(echo "_$REPLY" | awk '{print $2}' | perl -pe 's/\e\[?.*?[\@-~]//g') 2> /dev/null || git log -1 --format=%ci)" $REPLY"; done | sort -r | cut -d ' ' -f -1,4-
git for-each-ref --format='%(committerdate:iso8601) %(committerdate:relative) %(refname)' --sort -committerdate
git for-each-ref --format='%(committerdate:iso8601) %(committerdate:relative) %(refname)' --sort -committerdate refs/heads/
git for-each-ref --format='%(committerdate:short),%(authorname),%(refname:short)' --sort=committerdate refs/heads/ | column -t -s ','
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r
for branch in `git branch -l | grep -v '*'`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r
One word: task automation. It's basically zero effort and you can use the ./task.js package manager to handle any repetitive tasks. You can use ./task.js to automate everything with minimum effort.
./task.js provides the structure, order, and authority that you as a developer so desperately crave.
./task.js will also take responsibility for your actions if you need it to. It's what everybody is using now.
./task.js is the new hotness. It's all about ./task.js now, just like that.
This is compared to npm run/bash scripts, which are:
- Plain Strings (207):
foo - Anchors (208):
k$ - Ranges (202):
^[a-f]*$ - Backrefs (201):
(...).*\1 - Abba (169):
^(.(?!(ll|ss|mm|rr|tt|ff|cc|bb)))*$|^n|ef - A man, a plan (177):
^(.)[^p].*\1$ - Prime (286):
^(?!(..+)\1+$) - Four (199):
(.)(.\1){3} - Order (198):
^[^o].....?$ - Triples (507):
(^39|^44)|(^([0369]|([147][0369]*[258])|(([258]|[147][0369]*[147])([0369]*|[258][0369]*[147])([147]|[258][0369]*[258])))*$)
| package main | |
| import ( | |
| "net/http" | |
| "fmt" | |
| "io" | |
| "strconv" | |
| "launchpad.net/goamz/aws" | |
| "launchpad.net/goamz/s3" | |
| ) |
| // Done inside a repl so I can call land() when the drone is mis-behaving | |
| // The client library will probably handle the forSec() queue stuff in the future | |
| var client = require('.').createClient(); | |
| client.startRepl(function(err) { | |
| if (err) throw err; | |
| forSec(5, 'takeoff'); | |
| forSec(3, 'stop'); | |
| forSec(5, 'frontBack', -0.1); |
Code examples from this stack overflow answer.
| function ci() { | |
| echo -e "$(testlingify &> /dev/null && testlingify badge)\n\n\ | |
| $(travisify &> /dev/null && travisify badge)" | |
| } | |
| # with nodei.co badge | |
| function ci() { | |
| name=$(node -pe 'require("./package").name') | |
| echo -e "[](https://nodei.co/npm/$name)\n\n\ |
Work in progress, I'll write this up properly when I'm done.
Almost all credit goes to @maxogden for putting me on to this and pointing me in the right direction for each of these items.
Prerequisites:
- Raspberry Pi
- Kindle Paperwhite freed from its locked down state (jailbroken) http://www.mobileread.com/forums/showthread.php?t=198446
- You have to downgrade your Kindle to 5.3.1 to install the current jailbreak; that's just a matter of getting the old version image, putting it on your Kindle via USB and telling it to install "upgrade". Then you put in the Jailbreak files, load the ebook and break.
- Your kindle will be quick to detect an upgrade is available so it'll want to upgrade soon afterwards but the jailbreak will last but you have to reinstall the developer certificates so it's a bit of a pain but doable. Find all the instructions on the mobileread.com forums and wiki.
| # Video: http://rubyhoedown2008.confreaks.com/08-chris-wanstrath-keynote.html | |
| Hi everyone, I'm Chris Wanstrath. | |
| When Jeremy asked me to come talk, I said yes. Hell yes. Immediately. But | |
| then I took a few moments and thought, Wait, why? Why me? What am I supposed | |
| to say that's interesting? Something about Ruby, perhaps. Maybe the | |
| future of it. The future of something, at least. That sounds | |
| keynote-y. | |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://npmjs.org/install.sh | sh |