Open ~/.bash_profile
in your favorite editor and add the following content to the bottom.
# Git branch in prompt.
parse_git_branch() {
server { | |
# Server name | |
server_name example.com; | |
# Server Port | |
listen 80; | |
# Webroot | |
root /var/www/; |
<?php | |
$zone_identifier = ''; | |
$auth_key = ''; | |
$domain = ''; | |
$public_ip = file_get_contents('https://ipinfo.io'); | |
$public_ip = json_decode($public_ip); | |
if (!isset($public_ip->ip)) { | |
echo "unable to get public IP"; |
// ==UserScript== | |
// @name Paywall removal | |
// @namespace https://www.joshuapack.com | |
// @updateURL https://gist.githubusercontent.com/joshuapack/b13eadb53dee68a4ac40984439e8cc9b/raw/paywallremoval.user.js | |
// @downloadURL https://gist.githubusercontent.com/joshuapack/b13eadb53dee68a4ac40984439e8cc9b/raw/paywallremoval.user.js | |
// @version 0.1.18 | |
// @description I hate paywalls | |
// @author Joshua Pack | |
// @match https://*.forbes.com/* | |
// @match https://*.latimes.com/* |