Skip to content

Instantly share code, notes, and snippets.

View saada2006's full-sized avatar

Saad Amin saada2006

  • Georgia Institute of Technology
  • Fremont, CA
View GitHub Profile
"LD_* scout runtime" information:
{
"steam-runtime-system-info" : {
"version" : "0.20240301.0+srt1",
"path" : "/home/saad/.steam/debian-installation/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-system-info"
},
"can-write-uinput" : true,
"steam-installation" : {
"path" : "/home/saad/.steam/debian-installation",
"data_path" : "/home/saad/.steam/debian-installation",
Computer Information:
Manufacturer: ASUSTeK COMPUTER INC.
Model: ROG MAXIMUS XIII EXTREME
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
CPU Family: 0x6
@saada2006
saada2006 / data.csv
Last active May 23, 2023 00:44
AP Statistics Project May 2023
selection_sort_time insertion_sort_time
1.74389e-05 2.12045e-05
1.23917e-05 1.90239e-05
1.29517e-05 2.01257e-05
1.19994e-05 1.71403e-05
1.22476e-05 2.22748e-05
1.19855e-05 1.79532e-05
1.18039e-05 1.92159e-05
1.57361e-05 2.2902e-05
1.40131e-05 1.91117e-05
@saada2006
saada2006 / Main.java
Created November 22, 2022 21:42
Networking Thing
import java.awt.Desktop;
import java.io.*;
import java.sql.Timestamp;
import java.util.ArrayList;
public class Main {
public static boolean pinging = true;
public static final long DELAY = 100;
@saada2006
saada2006 / DUDEZDownloader.java
Created October 21, 2022 10:12
Since the dudez website didn't have a download button, here is a program to download the stuff for you...
// Basically I couldn't find the download link on the dudez page
// So here is my own downloader
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.*;
import javax.net.SocketFactory;
import javax.net.ssl.SSLSocketFactory;
import java.io.*;
public class DeadstockTask {
public static void main(String[] args) {
/*
Breinholt and Schierz 1998
Implementation idea: we can recursively subdivide the square into 4 independent parts, and evaluate each seperately
Note that the order in which the squares are evaluated matters!!!
The simplygy this process, let us simplyfy the i1 and i2 to up, down, left and right (according to the direction of the perpendicualer edge from the center):
Up = 0, 0
Down = 1, 1