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
| #!/bin/bash | |
| # | |
| # Import all passwordless SSH keys from LP | |
| # | |
| CONTAINER="Secure Notes" | |
| KEYS=`lpass ls "${CONTAINER}" | sed -n 's/.*\[id: \([[:digit:]]*\).*/\1/p'` | |
| export SSH_ASKPASS="/bin/false" |
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
| #!/bin/bash | |
| # | |
| # git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html) | |
| # modified by mike@mikepearce.net | |
| # modified by aconway@[redacted] - handle diffs that introduce new files | |
| # | |
| # Generate an SVN-compatible diff against the tip of the tracking branch | |
| # Get the tracking branch (if we're on a branch) | |
| TRACKING_BRANCH=`git svn info | grep URL | sed -e 's/.*\/branches\///'` |
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
| Originally: | |
| https://gist.github.com/7565976a89d5da1511ce | |
| Hi Donald (and Martin), | |
| Thanks for pinging me; it's nice to know Typesafe is keeping tabs on this, and I | |
| appreciate the tone. This is a Yegge-long response, but given that you and | |
| Martin are the two people best-situated to do anything about this, I'd rather | |
| err on the side of giving you too much to think about. I realize I'm being very | |
| critical of something in which you've invested a great deal (both financially |
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
| get Android source code: http://source.android.com/source/downloading.html | |
| $ cd /path/to/android-src | |
| $ cd system/core/libmincrypt/ | |
| $ gcc -c *.c -I../include | |
| $ ar rcs libmincrypt.a *.o | |
| $ cd ../mkbootimg | |
| $ gcc mkbootimg.c -o mkbootimg -I../include ../libmincrypt/libmincrypt.a | |
| $ cd ../cpio | |
| $ gcc mkbootfs.c -o mkbootfs -I../include |