Skip to content

Instantly share code, notes, and snippets.

View trailofdad's full-sized avatar
👹

Christian Hapgood trailofdad

👹
  • REDspace
  • Halifax, NS
  • 23:54 (UTC -03:00)
View GitHub Profile
@trailofdad
trailofdad / install-wp.sh
Last active February 7, 2017 20:57 — forked from BFTrick/install-wp.sh
Download & Install WordPress via Curl
curl -O https://wordpress.org/latest.zip
unzip latest.zip
mv wordpress site
rm latest.zip
//add this to your bash profile to install worpress to your desired folder
function wp-install() { curl -O https://wordpress.org/latest.zip && unzip latest.zip && mv wordpress $1 && rm latest.zip };
@trailofdad
trailofdad / gist:8e5b03284b9d4ddafcf4370c81fe53a5
Created August 21, 2016 19:48
Removing node_modules from git
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
import java.util.Arrays;
import javax.swing.JList;
import javax.swing.JOptionPane;
public class Application {
//initialize 2D boolean array
boolean[][] seats = new boolean[4][4];
//string array to hold the passengers and assigned seats ****Initialize so the Arrays.sort works*****

Buttons by trailofdad

First go at building buttons. A work in progress, using standards from css-chassis and material design.

A Pen by Christian Hapgood on CodePen.

License.