I hereby claim:
- I am ecridge on github.
- I am ecridge (https://keybase.io/ecridge) on keybase.
- I have a public key ASBWxr9GnLondKMikc611AduG6x43WLosfTgIxkRxJzg5go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
* p5.js sketch that fills its parent element. | |
* On my phone on a train so I haven’t actually tested… | |
*/ | |
var container; | |
function setup() { | |
var canvas; |
#!/usr/bin/env bash | |
# Lets you `cd 'iCloud Drive'` from your home directory, | |
# or `cd ~/iCloud\ Drive` from elsewhere. | |
ln -sv ~/Library/Mobile\ Documents/com~apple~CloudDocs/ ~/iCloud\ Drive | |
chflags -h hidden ~/iCloud\ Drive |
#!/usr/bin/env bash | |
defaults write com.apple.iCal n\ days\ of\ week 14 |
/* | |
* Name: Perceptual average calculator for PPM images | |
* Author: Joe Cridge <[email protected]> | |
* URL: https://gist.github.com/joecridge/d0ecf785d8a12eaac2353e02b4d8c9b7 | |
* License: Unlicense | |
* Created: 2016-07-31 | |
* Modified: 2016-07-31 | |
*/ | |
#include <stdio.h> |
SCM is a way to keep track of changes to project source code over time and when worked on by multiple people. Git is one of the most popular version control systems, especially on Unices like GNU/Linux.
If you haven’t used Git before, Try Git is a pretty good place to start, and GitLab’s workflow video is useful too.
#!/usr/bin/env bash | |
# Download a problem from Project Euler and save it into a Ruby file. | |
# Usage: get-problem 42 | |
PROBNUM=$1 | |
PADNUM=`printf "%03d" $PROBNUM` | |
# Download problem page, convert to plain text, and comment out. | |
wget -q https://projecteuler.net/problem=$PROBNUM -O $PADNUM.html |