Skip to content

Instantly share code, notes, and snippets.

@avery-codes
avery-codes / Grid.java
Created April 20, 2024 23:35
tic tac toe
public class Grid {
public static String[][] initFrame() {
String[][] grid = new String[6][6];
for (int i = 0; i <= 5; i++) { // initialize all as " "
for (int j = 0; j <= 5; j++) {
grid[i][j] = " " ;
}
@avery-codes
avery-codes / CracklePop.java
Last active March 22, 2024 02:02
CracklePop
// Elisabeth Robbins
// 3/12/24
//
// The purpose of this program is to iterate through and print a chosen range of integers with three variants.
// When the integer is divisible (int % int == 0) by one or both set of criteria integers, one or both
// strings are printed.
public class CracklePop {
public static void main(String[] args) {
int start = 1;
@avery-codes
avery-codes / US Zip Codes from 2013 Government Data
Created March 3, 2024 06:51 — forked from erichurst/US Zip Codes from 2013 Government Data
All US zip codes with their corresponding latitude and longitude coordinates. Comma delimited for your database goodness. Source: http://www.census.gov/geo/maps-data/data/gazetteer.html
This file has been truncated, but you can view the full file.
ZIP,LAT,LNG
00601,18.180555, -66.749961
00602,18.361945, -67.175597
00603,18.455183, -67.119887
00606,18.158345, -66.932911
00610,18.295366, -67.125135
00612,18.402253, -66.711397
00616,18.420412, -66.671979
00617,18.445147, -66.559696
@avery-codes
avery-codes / US Zip Codes from 2013 Government Data
Created March 3, 2024 06:51 — forked from erichurst/US Zip Codes from 2013 Government Data
All US zip codes with their corresponding latitude and longitude coordinates. Comma delimited for your database goodness. Source: http://www.census.gov/geo/maps-data/data/gazetteer.html
This file has been truncated, but you can view the full file.
ZIP,LAT,LNG
00601,18.180555, -66.749961
00602,18.361945, -67.175597
00603,18.455183, -67.119887
00606,18.158345, -66.932911
00610,18.295366, -67.125135
00612,18.402253, -66.711397
00616,18.420412, -66.671979
00617,18.445147, -66.559696