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
import toxi.math.noise.*; | |
import toxi.math.waves.*; | |
import toxi.geom.*; | |
import toxi.math.*; | |
import toxi.math.conversion.*; | |
import toxi.geom.util.*; | |
import toxi.util.datatypes.*; | |
import toxi.color.*; | |
import toxi.color.theory.*; |
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
import java.util.Arrays; | |
import processing.core.PApplet; | |
import processing.core.PConstants; | |
public class Fluid extends PApplet { | |
class Physics extends Thread { | |
@Override | |
public void run() { | |
while (true) { |
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
import processing.phone.*; | |
int BOX_HEIGHT = 10; | |
int N_COLOURS = 4; | |
int N_SIZES = 5; | |
color[] colours; | |
int[] sizes; | |
int i; | |
int j; | |
Phone p; |
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
import toxi.math.noise.*; | |
import toxi.math.waves.*; | |
import toxi.geom.*; | |
import toxi.math.*; | |
import toxi.math.conversion.*; | |
import toxi.geom.util.*; | |
import toxi.util.datatypes.*; | |
import toxi.color.*; | |
import toxi.color.theory.*; |
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
import pturtle.*; | |
Turtle t = new Turtle(this); | |
t.forward(10); | |
t.right(90); | |
t.forward(10); | |
t.right(90); | |
t.forward(10); | |
t.right(90); | |
t.forward(10); | |
t.right(90); |
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
import pturtle.*; | |
Turtle t = new Turtle(this); | |
for (int i = 0; i < 4; i++) { | |
t.forward(10); | |
t.right(90); | |
} |
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
cd /opt/nginx/conf | |
git init . | |
git add . | |
git commit |
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
git remote add origin [email protected]:nginx-conf.git | |
git push origin master |
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
git clone [email protected]:nginx-conf.git |
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
#!/bin/sh | |
rm -rf /opt/nginx/conf/* /opt/nginx/conf/.git | |
git clone --depth=1 /home/git/repositories/nginx-conf.git /opt/nginx/conf |
OlderNewer