Skip to content

Instantly share code, notes, and snippets.

Joshua Canfield jcanfield

Block or report user

Report or block jcanfield

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fibergames /
Last active Jan 14, 2020
DigitalOcean dynamic DNS updater script for your subdomain
# Created by // Loranth Moroz // v.0.5
# Required tools to run this script as is: curl ( & jq (
# This only works for Digitalocean - 10$ credit referral link:
# Edit token, domain, subdomain to fit your needs
# Substitute with your own ip-checker e.g.
# This is to be used with crontab -> example entry to run it every 3hours:
# 0 */3 * * * sh /path/to/script/
# Don't forget to make it executable: chmod +x /path/to/script/
jcanfield /
Last active Feb 27, 2017
[Ubuntu 16.04] Device Information
# /etc/anacrontab: configuration file for anacron
# See anacron(8) and anacrontab(5) for details.
# These replace cron's entries
SkaTeMasTer / opennic
Created Feb 12, 2017
Open NIC Project -- get local DNS Servers --
View opennic
Home › Your nearest OpenNIC DNS servers
Your nearest OpenNIC DNS servers
Are… ( -- 99.42% uptime ( -- 94.79% uptime ( -- 98.10% uptime ( -- 98.75% uptime
jcanfield /
Last active Feb 22, 2018
DNS Server List for 2015/2017 (courtesy of

List of DNS Servers

'The following is a list of DNS Servers: both, Private and Public.'

DNS Servers

Why does DNS matter?

The Domain Name System (DNS) protocol is an important part of the web's infrastructure, serving as the Internet's phone book: every time you visit a website, your computer performs a DNS lookup. Complex pages often require multiple DNS lookups before they start loading, so your computer may be performing hundreds of lookups a day.

List of Public DNS Servers

jknight2014 /
Last active Mar 7, 2018
Installer for the Atomic Toolkit by HTPC Beginner
#The one step installer for the AtoMiC-ToolKit
#Written by
touch /var/log/atomic-install.log
echo "Updating APT ..."
apt-get -y update > /var/log/atomic-install.log
echo "Installing Prerequsits"
apt-get -y install git-core nano python-software-properties dialog > /var/log/atomic-install.log
dialog --title "The AtoMiC Tool Kit installer" --yesno "This will install the AtomMiC toolkit as well as some prerequsits. Please be aware this software is provided with no warranties. Proceed at your own risk. Would you like to continue?" 8 100
# Cloaning into the OPT folder for organization.
jcanfield /
Created Oct 27, 2016
A small bashscript to setup an web-development environment with gulp, bower, nodejs in Ubuntu/Ubuntu-based distributions. !!! Be careful: I recommend to only use it on a fresh installed system, otherwise it could mess up something !!!
# Echo to nowhere for a more beautiful console output
sudo echo > /dev/null
# Add nodejs and sublime text ppa
echo ':: adding ppas'
sudo add-apt-repository -y ppa:chris-lea/node.js > /dev/null 2>&1
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3 > /dev/null 2>&1
jcanfield /
Last active Oct 25, 2016
Debugging and Fixing up an "old" HP Desktop turned headless-linux shell. Just, Repairing "old" HP Desktop which serves as a 'headless-linux' server for over 8 years now.

Re: Repairing "old" HP Desktop which serves as a 'headless-linux' server for over 8 years now

Pasted via

[ 1264.077530] nouveau E[ PFIFO][0000:02:00.0] DMA_PUSHER - ch 4 [webbrowser-app[5933]] get 0x002005488c put 0x00200548a0 ib_get 0x0000014e ib_put 0x0000014f state 0x80000000 (err: INVALID_CMD) push 0x00400040

[ 1264.078772] nouveau E[ PGRAPH][0000:02:00.0] DATA_ERROR INVALID_ENUM

[ 1264.078791] nouveau E[ PGRAPH][0000:02:00.0] ch 4 [0x000f97f000 webbrowser-app[5933]] subc 3 class 0x8397 mthd 0x15dc data 0x00107b00

jcanfield / index.html
Created Aug 17, 2016 — forked from arkaitzgarro/index.html
HTML5 Boilerplate
View index.html
<!DOCTYPE html>
<html class="no-js">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Plantilla HTML5</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/normalize.css">
noeljackson /
Last active Feb 14, 2019
Run docker-compose with docker-machine and docker-swarm on digital ocean
#export digital ocean token
export DO_TOKEN="abcdefghijklmnopqrstuvwxyz"
#make keystore
docker-machine create -d digitalocean \
-digitalocean-access-token ${DO_TOKEN} \
--digitalocean-region "nyc1" \
--digitalocean-image="ubuntu-14-04-x64" \
--digitalocean-size "512mb" \
You can’t perform that action at this time.