This file contains 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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" | |
"sync" | |
) |
#IRC Reference
Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.
##The Basics
/join #channel
- Joins the specified channel.
/part #channel
- Leaves the specified channel.
This file contains 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
#Run as root or add sudo at the beginning of each command | |
iptables -F | |
# Allow loopback | |
iptables -I INPUT 1 -i lo -j ACCEPT | |
iptables -A INPUT -i lo -j ACCEPT | |
iptables -A OUTPUT -o lo -j ACCEPT |
mkdir -p ~/.docker/machine/machines/minikube
ln -s ~/.minikube/certs/ca.pem ~/.docker/machine/machines/minikube/ca.pem
ln -s ~/.minikube/certs/cert.pem ~/.docker/machine/machines/minikube/cert.pem
ln -s ~/.minikube/certs/key.pem ~/.docker/machine/machines/minikube/key.pem
ln -s ~/.minikube/machines/myminikube/config.json ~/.docker/machine/machines/minikube/config.json
This file contains 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
#!/bin/bash -x | |
## Setup http://labs.play-with-k8s.com/ env ala' jjo | |
# YEAH I TRUST RUNNING STUFF DIRECTLY AS ROOT way -> | |
# | |
# bash -x <( curl -L bit.do/jjo-pwk-sh ) | |
# | |
# https://gist.github.com/jjo/78f60702fbfa1cbec7dd865f67a3728a/edit | |
# http://bit.do/admin/edit/jjo-pwk-sh | |
# |
This project has moved to https://github.com/jonhoo/drwmutex so it can be imported into Go applications.
This file contains 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
#!/usr/bin/env ruby | |
# An HTTP/HTTPS/FTP file downloader library/CLI based upon MiniPortile's | |
# HTTP implementation. | |
# | |
# Author: Jon Maken | |
# License: 3-clause BSD | |
# Revision: 2012-03-25 23:01:19 -0600 | |
require 'net/http' | |
require 'net/https' if RUBY_VERSION < '1.9' |
OlderNewer