Skip to content

Instantly share code, notes, and snippets.

View billhance's full-sized avatar

Bill Hance billhance

  • Startup
  • Los Angeles
View GitHub Profile
@billhance
billhance / day54-webgl-particle-animation.markdown
Created June 11, 2019 04:20
Day54: WebGL Particle Animation.
@billhance
billhance / README.md
Last active May 1, 2019 04:13
Enable HTTPS on Localhost (MacOS)

Enable HTTP on Localhost (MacOS)

Create Root Certificate and CA

$ cd ~/.ssh
$ openssl genrsa -des3 -out rootCA.key 2048

Keybase proof

I hereby claim:

  • I am billhance on github.
  • I am billhance (https://keybase.io/billhance) on keybase.
  • I have a public key ASDy4gjZZpOXEku5Rumvdt74iDANax2meSikdt20UdtThgo

To claim this, I am signing this object:

@billhance
billhance / README.md
Created August 10, 2018 04:10 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

OP: @leonardofed founder @ plainflow.


@billhance
billhance / git-commands.md
Last active July 21, 2018 22:03
Helpful Git Commands

Helpful Git Commands

Tips

  • Use git-lfs for binary files

Show files changed

git diff
@billhance
billhance / sublime-regexes.md
Last active June 25, 2018 18:13
Sublime Regexes

Sublime 2 Regexes

Tips

  • When dealing with files that have over 50k lines, avoid multi-select.
  • When doing a search/replace on a large file, do find all then replace all.

Beginning of line

^
@billhance
billhance / sed cheatsheet
Created April 9, 2018 19:58 — forked from asenchi/sed cheatsheet
magic of sed -- find and replace "text" in a string or a file
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
@billhance
billhance / .gitattributes
Created October 19, 2017 06:31
.gitattributes file for web
## GRAPHICS
*.ai filter=lfs diff=lfs merge=lfs -text
*.bmp filter=lfs diff=lfs merge=lfs -text
*.eps filter=lfs diff=lfs merge=lfs -text
*.gif filter=lfs diff=lfs merge=lfs -text
*.ico filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
@billhance
billhance / drugwars.txt
Created December 17, 2016 18:02 — forked from mattmanning/drugwars.txt
Drugwars for the TI-82/83/83+ Calculators
Lbl G
ClrHome
Disp " J.M.'S DRUGWAR"," SIMULATION",""," VERSION 2.00",""," JUST SAY NO."
2000→Z
5000→Y
0→V
100→K
1→B
2→N
0→I
@billhance
billhance / test2.js
Last active December 9, 2016 22:03
v8-devtools-bug
// Run it here: https://jsfiddle.net/billhance/wfz9fcs6/1/
const selectionSortSlow = arr => {
let curr = 0;
let n = arr.length;
while (curr < n) {
let low = curr;
let next = curr + 1;
while (next < n) {
if (arr[next] > arr[low]) {
low = next;