Skip to content

Instantly share code, notes, and snippets.

@connlark
connlark / # watchman - 2019-10-22_14-55-46.txt
Created October 22, 2019 20:09
watchman on macOS 10.15.1 - Homebrew build logs
Homebrew build logs for watchman on macOS 10.15.1
Build date: 2019-10-22 14:55:46

Keybase proof

I hereby claim:

  • I am connorlarkin1 on github.
  • I am connlark (https://keybase.io/connlark) on keybase.
  • I have a public key ASCUlJ6yXxwd6H7YqRZEiCa8Lf7sVC9mGFiDiiFcM5etLwo

To claim this, I am signing this object:

import java.util.ArrayList;
/**
* Created by Connor on 5/9/16.
*/
public class KeywordCipher extends Message {
private String key;
private ArrayList<Character> list;
public char[] ogAlpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray();
import java.awt.*;
public class Tree {
private double fractionLength;
private int smallestBranch;
private double branchAngle;
private int trunkStartX, trunkStartY, trunkEndX, trunkEndY;
public Tree() {
@connlark
connlark / BowlingScore.java
Created April 11, 2016 15:39
lot of dirty code I dont care enough to fix.
/**
* Created by Connor on 3/30/16.
*/
public class BowlingScore implements Comparable<BowlingScore>
{
private String bowler;
private String rolls[]; //each pair of rolls is a frame
/**
* Constructor for objects of class BowlingScore
public class Film{
static boolean compareByYear;
int year;
String title;
public Film(int year, String title){
this.year = year;
this.title = title;
}
import java.util.Arrays;
/**
* Created by Connor on 3/1/16.
*/
public class MergeSort {
static int lc,rc;//static counters
public static int[] mergeSort(int[] arr){
if (arr.length <= 1) return arr; //base case
@connlark
connlark / BogoSort.java
Created February 19, 2016 16:14
cheeky as fuck
import java.text.NumberFormat;
import java.util.Arrays;
public class BogoSort
{
//Enter array to be sorted here
static int[] arr={1,2,3,4,5,6,7,8,9,10,11,12};
static int[] sortedArr = new int[arr.length];
@connlark
connlark / Information.java
Created February 3, 2016 03:48
dis is good sheet
/**
* Created by Connor on 1/21/16.
*/
public interface Information {
int getLength();
String getName();
int comparable(Media m);
}
@connlark
connlark / Information.java
Created February 2, 2016 03:03
Updated 2/1
/**
* Created by Connor on 1/21/16.
*/
public interface Information {
public int getLength();
public String getName();
}
//TODO: this less than other == -1 this greater than other == 1 else 0