Skip to content

Instantly share code, notes, and snippets.

View NathanJGaul's full-sized avatar
🎯
Focusing

Nathan Gaul NathanJGaul

🎯
Focusing
View GitHub Profile
@NathanJGaul
NathanJGaul / LICENSE.txt
Created December 10, 2018 06:29 — forked from jed/LICENSE.txt
generate random UUIDs
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/p5.js"></script>
<script src="sketch.js"></script>
<title>p5 Getting Started</title>
</head>
<body>
@NathanJGaul
NathanJGaul / (1) HOW TO USE
Created April 12, 2017 14:55
Sample ReactJS setup for resin/electronjs
I usually have two tabs open in terminal:
ONE:
// This launches the hot-reload server for local development
// http://localhost:8080/build/index.html
npm run server
TWO:
// This launches the electron/react app for development
npm start
@NathanJGaul
NathanJGaul / install.sh
Created January 19, 2016 06:26
Virtual Arch Linux Torrent Installer
# confirm you can access the internet
if [[ ! $(curl -I http://www.google.com/ | head -n 1) =~ "200 OK" ]]; then
echo "Your Internet seems broken. Press Ctrl-C to abort or enter to continue."
read
fi
# make 2 partitions on the disk.
parted -s /dev/sda mktable msdos
parted -s /dev/sda mkpart primary 0% 100m
parted -s /dev/sda mkpart primary 100m 100%