Skip to content

Instantly share code, notes, and snippets.

Avatar
🤦‍♀️
咸鱼

TheSaltedFish RedL0tus

🤦‍♀️
咸鱼
View GitHub Profile
@mjmeyer
mjmeyer / http-cat-error-pages.conf
Created Feb 17, 2016
Http.cat erorr pages for nginx
View http-cat-error-pages.conf
# ---------- Status Cats Error Pages!!! via: https://http.cat/ ---------
#
# requires that a dns resolver be set for nginx as in: resolver 127.0.0.1;
# typically uses dnsmasq for 127.0.0.1 resolver
#
# Usage:
# place this file somewhere accessible to nginx. /etc/nginx/snippets is a decent choice.
# then inside the server block(s) you want cat themed error status responses do:
# include snippets/http-cat-error-pages.conf
#
@caniszczyk
caniszczyk / clone-all-twitter-github-repos.sh
Created Oct 9, 2012
Clone all repos from a GitHub organization
View clone-all-twitter-github-repos.sh
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'
You can’t perform that action at this time.