$ ssh -A vm
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!
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
| AccountManager mAccountManager = AccountManager.get(this); | |
| Account[] accounts = mAccountManager.getAccounts(); //.getAccountsByType(); | |
| for(Account account : accounts) { | |
| Log.d(TAG,account.name); | |
| Log.d(TAG,account.type); | |
| } | |
| startActivityForResult(AccountPicker.newChooseAccountIntent(null, null, new String[]{"com.google"}, false, null, null, null, null), PICK_ACCOUNT_REQUEST); | |
| .... |
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
| lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom \ | |
| | while read i; do | |
| sudo rm /usr/local/${i} | |
| done | |
| sudo rm -rf /usr/local/lib/node \ | |
| /usr/local/lib/node_modules \ | |
| /var/db/receipts/org.nodejs.* |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am zimdo on github. | |
| * I am zimdo (https://keybase.io/zimdo) on keybase. | |
| * I have a public key whose fingerprint is 50F5 9250 75FE AC1E 7CA2 1EC2 635D BA0C BC46 F869 | |
| To claim this, I am signing this object: |
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
| export GITHUB_TOKEN="MY_TOKEN" | |
| git config --global url."https://${GITHUB_TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/" | |
| go get github.com/my/private_repository |
Static linking in GO 1.5:
go build -ldflags "-extldflags -static" ...Static linking in GO >= 1.6:
go build -ldflags "-linkmode external -extldflags -static" ...
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
| { | |
| "Version": "2008-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "CodeBuildAccess", | |
| "Effect": "Allow", | |
| "Principal": { | |
| "AWS": [ | |
| "arn:aws:iam::964771811575:root", | |
| "arn:aws:iam::570169269855:root", |
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
| rancher-ecr-credentials: | |
| environment: | |
| AWS_REGION: us-east-1 | |
| AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
| AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
| labels: | |
| io.rancher.container.pull_image: always | |
| io.rancher.container.create_agent: 'true' | |
| io.rancher.container.agent.role: environment | |
| tty: true |
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
| <p> | |
| <strong>Please include attribution to https://hushed.com/ with this graphic.</strong> | |
| </p> | |
| <p><a href='https://hushed.com/dating/-online-dating'><img src='http://hushed.com/wp-content/uploads/2017/12/Online-Dating-V7.jpg' alt='Online Dating Safety Infographic' width='700px' border='0' /></a></p> | |
OlderNewer