I hereby claim:
- I am mitch000001 on github.
- I am mitch000001 (https://keybase.io/mitch000001) on keybase.
- I have a public key whose fingerprint is 8309 FBE1 F701 CB58 3F0D D213 DD07 6E43 DB6C 51C3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# bash completion for rake | |
# | |
# some code from on Jonathan Palardy's http://technotales.wordpress.com/2009/09/18/rake-completion-cache/ | |
# and http://pastie.org/217324 found http://ragonrails.com/post/38905212/rake-bash-completion-ftw | |
# | |
# For details and discussion | |
# http://turadg.aleahmad.net/2011/02/bash-completion-for-rake-tasks/ | |
# | |
# INSTALL | |
# |
Caveats | |
This implementation uses the OnScrollListener to watch the scrolling state. If you need to set your custom OnScrollListener to perform other logic you have either to replace the implementing interface with a concrete constructor argument or you have to put the logic into the adapter also, if possible. | |
As far as I know it is not possible to set another OnScrollListener without replacing the first one. |
#!/bin/sh | |
# Just copy and paste the lines below (all at once, it won't work line by line!) | |
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
set -e | |
cd `brew --prefix` | |
git ls-files -z | pbcopy | |
rm -rf Cellar | |
bin/brew prune |