Skip to content

Instantly share code, notes, and snippets.

@evinjaff
evinjaff / Triangle.java
Last active April 20, 2024 22:39
Recursive Sierpinski Triangle in Java
import java.awt.Color;
import sedgewick.StdDraw;
public class Triangles {
public static void triangle(double x, double y, double s, int n){
// X and y are base coordinates, s is size, n is number of recursions
@evinjaff
evinjaff / vcardsamples.txt
Last active May 14, 2020 20:32
Vcard Samples
VCARD 2.1
BEGIN:VCARD
VERSION:2.1
N:Doctor;The;;Dr.
FN:The Doctor
ORG:UNIT
TITLE:President of the World
PHOTO;GIF:http://www.example.com/dir_photos/my_photo.gif
TEL;WORK;VOICE:(111) 555-1212