View unwatch-repos.js
/* USAGE
Go to https://github.com/watching
Paste this function in the console
e.g. unwatchRepos("rails|node|go")
That unwatches repos containing rails, node or go in the repo link.
*/
var unwatchRepos = (pattern) => {
var list = document.getElementsByClassName('repo-list')[0]
var rows = list.getElementsByClassName('js-subscription-row')
View go-course-exercises.md
View go-course-exercises.md
View go-course-exercises.md
View go-course-exercises.md
View go-course-exercises.md
View go-course-exercises.md
View gist:7240993
# SSL self signed localhost for rails start to finish, no red warnings.
# 1) Create your private key (any password will do, we remove it below)
$ openssl genrsa -des3 -out server.orig.key 2048
# 2) Remove the password
$ openssl rsa -in server.orig.key -out server.key
View .bash_profile
set -o vi
bind -m vi-insert "\C-l":clear-screen
function aliaz
{
if [ -n "$1" ]
then
read COMMAND ALIAS <<<$(IFS="="; echo $1)
if command -v $COMMAND > /dev/null 2>&1
then
View area_codes.txt
[
{
"city":"800-PIN",
"state":"--",
"country":"United States",
"countryDialingCode":"1",
"areaCode":"999"
}
,
{