Skip to content

Instantly share code, notes, and snippets.

View jcanfield's full-sized avatar
💭
If I do not respond quickly, try me on Twitter at @creativeboulder.

Joshua Canfield jcanfield

💭
If I do not respond quickly, try me on Twitter at @creativeboulder.
View GitHub Profile
@jcanfield
jcanfield / ubuntu-anacrontab.text.sh
Last active February 27, 2017 09:59
[Ubuntu 16.04] Device Information
# /etc/anacrontab: configuration file for anacron
# See anacron(8) and anacrontab(5) for details.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
HOME=/root
LOGNAME=root
# These replace cron's entries
@fabiomontefuscolo
fabiomontefuscolo / docker-compose.yml
Created February 25, 2017 16:21
docker-compose.yml jwilder/nginx + rockechat
version: '2'
services:
nginx:
image: jwilder/nginx-proxy
container_name: superchat
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./nginx.tmpl:/app/nginx.tmpl
@SkaTeMasTer
SkaTeMasTer / opennic
Created February 12, 2017 05:39
Open NIC Project -- get local DNS Servers -- https://www.opennicproject.org/nearest-servers/
output:
Home › Your nearest OpenNIC DNS servers
Your nearest OpenNIC DNS servers
Are…
45.56.117.118 (ns6.ga.us) -- 99.42% uptime
138.197.25.214 (ns10.ny.us) -- 94.79% uptime
96.90.175.167 (ns4.co.us) -- 98.10% uptime
87.98.175.85 (ns10.fr) -- 98.75% uptime
@jcanfield
jcanfield / dns-servers_updated-2017.md
Last active June 10, 2023 09:50
DNS Server List for 2015/2017 (courtesy of http://sos.smerwick.com.tw)

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
jknight2014 / atomicinstall.sh
Last active March 7, 2018 10:49
Installer for the Atomic Toolkit by HTPC Beginner
#/bin/bash
#The one step installer for the AtoMiC-ToolKit
#Written by KnightCinema.com
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.
@ericelliott
ericelliott / manifest.json
Created November 8, 2016 00:35
Sample manifest.json
{
"name": "My Progressive Web Application",
"short_name": "Progressive",
"start_url": "/?home=true",
"icons": [
{
"src": "/icons/icon36.png",
"sizes": "36x36",
"type": "image/png"
},
@jcanfield
jcanfield / devenv.sh
Created October 27, 2016 01:59
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 !!!
#!/bin/bash
# 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
jcanfield / dmesg.md
Last active October 25, 2016 23:26
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 Hastebin.com

[ 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

#!/bin/bash
################################
# OS X Install ISO Creater #
# #
# Author: shela #
################################
#######################################
# Declarations
@michaellihs
michaellihs / tmux-cheat-sheet.md
Last active April 4, 2024 04:10
tmux Cheat Sheet