This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am makakken on github. | |
* I am makakken (https://keybase.io/makakken) on keybase. | |
* I have a public key ASDEP1Tl4vntDuq27fXWPNNswZmrmYnZPYkUbKg2xlPRCgo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Knots has a length of 5 | |
void calcCurve() { | |
for (int i=0; i<Knots.length; i++) { | |
float a = norm(i, 0, Knots.length); | |
float theta = TWO_PI * (a + ((1./(2*Knots.length))*random(-1,1))); | |
float r = width * random(.35, .45); | |
Knots[i][0] = (width/2.)+(r*cos(theta)); | |
Knots[i][1] = (height/2.)+(r*sin(theta)); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- build | |
- test | |
- deploy | |
image: lorisleiva/laravel-docker:latest | |
variables: | |
MYSQL_DATABASE: "test" | |
MYSQL_ROOT_PASSWORD: "test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# install docker | |
# https://docs.docker.com/engine/installation/linux/ubuntulinux/ | |
# install docker-compose | |
# https://docs.docker.com/compose/install/ | |
# install letsencrypt | |
# https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04 |