Static linking in GO 1.5:
go build -ldflags "-extldflags -static" ...
Static linking in GO >= 1.6:
go build -ldflags "-linkmode external -extldflags -static" ...
<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> | |
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 |
{ | |
"Version": "2008-10-17", | |
"Statement": [ | |
{ | |
"Sid": "CodeBuildAccess", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": [ | |
"arn:aws:iam::964771811575:root", | |
"arn:aws:iam::570169269855:root", |
Static linking in GO 1.5:
go build -ldflags "-extldflags -static" ...
Static linking in GO >= 1.6:
go build -ldflags "-linkmode external -extldflags -static" ...
export GITHUB_TOKEN="MY_TOKEN" | |
git config --global url."https://${GITHUB_TOKEN}:[email protected]/".insteadOf "https://github.com/" | |
go get github.com/my/private_repository |
### 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: |
$ ssh -A vm
$ git config --global url."[email protected]:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "[email protected]:"]
insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!
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.* |
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); | |
.... |