Skip to content

Instantly share code, notes, and snippets.

View sricola's full-sized avatar
🍦
searching for Ice Cream

Sri Ray sricola

🍦
searching for Ice Cream
View GitHub Profile
@sricola
sricola / nagios_commands
Created September 10, 2016 17:24
Nagios Commands
/***************************** COMMANDS *********************************/
#define CMD_NONE 0
#define CMD_ADD_HOST_COMMENT 1
#define CMD_DEL_HOST_COMMENT 2
#define CMD_ADD_SVC_COMMENT 3
#define CMD_DEL_SVC_COMMENT 4
google.com
youtube.com
facebook.com
baidu.com
wikipedia.org
qq.com
tmall.com
taobao.com
yahoo.com
amazon.com
@sricola
sricola / clone_all_repos.md
Last active July 28, 2019 17:31
Clone all repos in Github Organization
# Fetch token from https://github.com/settings/tokens
EXPORT GITHUB_TOKEN=your_token

# Your org name
EXPORT GITHUB_ORG=your_org

curl --silent https://api.github.com/orgs/$GITHUB_ORG/repos?access_token=$GITHUB_TOKEN | \
grep -o "git@github.com:$GITHUB_ORG/[^ ,\"]\+" | \
xargs -L 1 git clone