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
# pi-hole blacklist v4.x (changes in v5.x) | |
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | |
https://mirror1.malwaredomains.com/files/justdomains | |
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt | |
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt | |
https://v.firebog.net/hosts/BillStearns.txt | |
https://v.firebog.net/hosts/static/w3kbl.txt | |
https://reddestdream.github.io/Projects/MinimalHosts/etc/MinimalHostsBlocker/minimalhosts | |
https://reddestdream.github.io/Projects/MinimalHosts/etc/MinimalHostsBlocker/minimalhosts | |
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/KADhosts/hosts |
This is a simple collection of resources for learning Go. This is not an exhaustive list by any means.
- A tour of Go
- Go by Example
- If you like to learn by diving into code, this is a great resource!
- Important: definitely read the Interfaces section.
- How to write Go code
- Effective Go
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
##StevenBlack's list | |
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | |
##MalwareDomains | |
https://mirror1.malwaredomains.com/files/justdomains | |
##Cameleon | |
http://sysctl.org/cameleon/hosts | |
##Zeustracker |
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
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear! | |
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy. | |
* Off the top of my head * | |
1. Fork their repo on Github | |
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it | |
git remote add my-fork git@github...my-fork.git |
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 bash | |
# | |
# Usage: dev_signed_cert.sh HOSTNAME | |
# | |
# Creates a CA cert and then generates an SSL certificate signed by that CA for the | |
# given hostname. | |
# | |
# After running this, add the generated dev_cert_ca.cert.pem to the trusted root | |
# authorities in your browser / client system. | |
# |
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 | |
## Install Xcode from AppStore before you execute commands below for macvim | |
## After that, you need to open Xcode and agree the terms and install components | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Base | |
brew install homebrew/cask/google-chrome | |
brew install homebrew/cask/google-japanese-ime | |
brew install homebrew/cask/google-drive |
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
import argparse | |
import logging | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--verbose', '-v', action='count', default=1) | |
args = parser.parse_args() | |
args.verbose = 70 - (10*args.verbose) if args.verbose > 0 else 0 | |
logging.basicConfig(level=args.verbose, format='%(asctime)s %(levelname)s: %(message)s', |