Scope | Description | User repo:read | User repo:write | User repo:admin |
---|---|---|---|---|
(no scope) | Access public information (read-only) | |||
user | Update all user data | |||
user:email | Access user email addresses (read-only) | |||
user:follow | Follow and unfollow users | |||
public_repo | Access public repositories | I | I | |
repo | Full control of private repositories | C | CI | CI |
repo_deployment | Access deployment status |
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": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowAllUsersToListAccounts", | |
"Effect": "Allow", | |
"Action": [ | |
"iam:ListAccountAliases", | |
"iam:ListUsers", | |
"iam:GetAccountPasswordPolicy", |
- git --version
git version 2.17.1
- sudo apt-get install libsecret-1-0 libsecret-1-dev
- cd /usr/share/doc/git/contrib/credential/libsecret
- sudo make
- git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
- Next time Git asked for GitHub's username an password, just write your username and paste your token and they'll be stored in your keyring.
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
##-------------------- | |
## Makefile Template | |
## Author:Fabio Rizzi | |
##-------------------- | |
.DEFAULT_GOAL := help | |
args = `arg="$(filter-out $@,$(MAKECMDGOALS))" && echo $${arg:-${1}}` | |
export LANG?=en_US.UTF-8 | |
VARIABLE:=\ | |
line1 \ |
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
wget http://stedolan.github.io/jq/download/linux64/jq | |
aws ec2 describe-instances --filters "Name=tag:Name,Values=$NAME" \ | |
"Name=instance-state-name,Values=running" \ | |
| jq -r \ | |
".Reservations[] | .Instances[] | .InstanceId" \ | |
aws ec2 describe-volumes --filters \ | |
"Name=status,Values=available" \ | |
| jq -r ".Volumes[] | .VolumeId" \ |
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
lib_name='trap' | |
lib_version=20121026 | |
stderr_log="/dev/shm/stderr-$(date +%s).log" | |
# | |
# TO BE SOURCED ONLY ONCE: | |
# | |
###~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~## |