Skip to content

Instantly share code, notes, and snippets.

View chadfurman's full-sized avatar

Chad Furman chadfurman

View GitHub Profile
@chadfurman
chadfurman / AcerChromebook11_CB3-111.md
Last active May 2, 2017 14:16
Coffee-Shop Development for Under $500

Coffee-Shop Development for Under $500

Do you have a great desktop, but don't want to shell out premium dollars for a MacBook Pro, only to have security concerns around your beautiful laptop getting stolen? If you feel great when you accomplish something complex, and you want a super-inexpensive backup computer that gives you both freedom and power to develop from your favorite cafe, read on!

In the early days, web development meant local file changes which were sent to the server via FTP. Shelling into the remote server directly was rarely ideal – but technology has come a long way. Chromebooks, starting around $170, have up to 13 hours of battery life and weigh just about 2 lbs. The operating system is designed to run a web browser and nothing else: even your file storage is in the cloud. Enter Cloud9.

Cloud9's web-based IDE is strikingly powerful, feature-rich, and performant on a Chromebook 11. C9 has Goto Anything, rather comprehensive Vim support, and many other power-user accessories. While t

root 856 0.0 0.0 0 0 ? S< 09:10 0:00 \_ [iprt-VBoxWQueue]
root 865 0.0 0.0 0 0 ? S 09:10 0:00 \_ [iprt-VBoxTscThr]
lotus 28911 0.0 0.0 12728 2104 pts/1 S+ 09:24 0:00 | \_ grep --color=auto -i vbox
lotus 28858 0.5 0.1 116116 10996 ? S 09:24 0:00 /usr/lib/virtualbox/VBoxXPCOMIPCD
lotus 28863 2.0 0.2 653724 20176 ? Sl 09:24 0:00 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
@chadfurman
chadfurman / controller.js
Created April 17, 2016 21:35
MVC Mithril
import data from "./data";
import jobModel from "../models/job"
var controller = function() {
this.jobs = new Array();
this.selectedCompanies = new Array();
this.selectedCategories = new Array();
this.selectedLevels = new Array();
this.selectedLocations = new Array();
this.page = m.prop(1);
@chadfurman
chadfurman / install-janus.sh
Last active June 28, 2018 14:52
install janus
#/bin/bash
# Become root first
[ "$(whoami)" != "root" ] && exec sudo -- "$0" "$@"
# install most dependencies
apt-get update
apt-get install libmicrohttpd-dev libjansson-dev libnice-dev libssl-dev libsrtp-dev libsofia-sip-ua-dev libglib2.0-dev libopus-dev libogg-dev pkg-config gengetopt libtool automake cmake libgupnp-igd-1.0-dev
cwd = $(pwd)
❯ sudo find / -type f -name 'libs3.*'
/home/vagrant/libs3/inc/libs3.h
/home/vagrant/libs3/build/deb-dev/usr/include/libs3.h
/home/vagrant/libs3/build/deb-dev/usr/lib/libs3.a
/home/vagrant/libs3/build/deb/usr/lib/libs3.so.2.0
/home/vagrant/libs3/build/lib/libs3.so.2
/home/vagrant/libs3/build/lib/libs3.a
/home/vagrant/libs3/libs3.spec
/home/vagrant/libs3/mswin/libs3.def
/usr/include/libs3.h
@chadfurman
chadfurman / wp6.sh
Last active June 25, 2016 05:42
wp6.sh with reset option
#!/bin/bash
# WiFi Pineapple Connector for Linux
# EULA https://www.wifipineapple.com/licence/eula.txt
# License https://www.wifipineapple.com/licence/software_licence.txt
wpver=6.4
spineapplenmask=255.255.255.0
spineapplenet=172.16.42.0/24
spineapplelan=eth1
spineapplewan=wlan0
@chadfurman
chadfurman / keybase.md
Created July 26, 2016 21:22
keybase.md

Keybase proof

I hereby claim:

  • I am chadfurman on github.
  • I am chadfurman (https://keybase.io/chadfurman) on keybase.
  • I have a public key whose fingerprint is D75D 8D8E E127 9D06 E4EC B06B 7339 021F 9257 B0CF

To claim this, I am signing this object:

@chadfurman
chadfurman / horse.txt
Last active August 9, 2016 20:28
If your life was a horse
_________________________________________
/ If your life was a horse, you'd have to \
\ shoot it. /
-----------------------------------------
\ \
\ \
\ _\^
\ _- oo\
\---- \______
\ )\
@chadfurman
chadfurman / package.json
Created August 31, 2016 13:41
package.json
{
"devDependencies": {
"apache-server-configs": "^2.7.1",
"babel-cli": "^6.14.0",
"babel-core": "^6.0.15",
"babel-preset-es2015": "^6.0.15",
"browser-sync": "^2.9.0",
"cucumber-mink": "^1.4.1",
"del": "^2.0.2",
"eslint-config-google": "^0.3.0",
@chadfurman
chadfurman / ups
Last active September 30, 2016 10:44
ups
Windsor Locks, CT, United States 09/30/2016 6:14 A.M. Arrival Scan
09/30/2016 5:38 A.M. A late flight has caused a delay. We're adjusting plans and working to deliver your package as quickly as possible. / Your shipment is scheduled to arrive today after the delivery commitment time.
Louisville, KY, United States 09/30/2016 4:24 A.M. Departure Scan
09/30/2016 2:37 A.M. Import Scan
09/30/2016 1:07 A.M. Arrival Scan
Anchorage, AK, United States 09/29/2016 3:06 P.M. Departure Scan
09/29/2016 9:50 A.M. Arrival Scan
Osaka, Japan 09/29/2016 7:44 P.M. Departure Scan
09/29/2016 3:49 A.M. A mechanical failure has delayed delivery. We're adjusting plans to deliver your package as quickly as possible.
Osaka, Japan 09/28/2016 10:30 P.M. Arrival Scan