Skip to content

Instantly share code, notes, and snippets.

View j1ah0ng's full-sized avatar
🥚
leggo my eggo

Jiahong Long j1ah0ng

🥚
leggo my eggo
View GitHub Profile
@j1ah0ng
j1ah0ng / Integrator.py
Created March 14, 2019 17:41
Generates a Riemann of a CSV dataset
import csv
import matplotlib.pyplot as plt
data = csv.reader(open('Lab25.csv'))
runNum = int(input("Enter run number: "))
minX = int(input("Enter x minimum: "))
delt = int(input("Enter x-axis domain: "))
@j1ah0ng
j1ah0ng / exemption.txt
Created April 2, 2019 20:16
CAASPP testing exemption sample letter
To whom it may concern:
This letter constitutes a request for exemption on behalf of our child,
[your name and ID] from the California Science Test as per Section 852b of
the California Department of Education’s regulations on administration of
the California Department of Education’s assessment suite, located in Title
5, Division 1, Chapter 2, Subchapter 3.75, Article 1. This is in accordance
with Section 60615 of the California Education Code, which states that any
such written request for exemption constitutes an automatic grant of such
exemption, other legal provisions notwithstanding.
@j1ah0ng
j1ah0ng / X-axis
Created May 21, 2019 19:42
Consistency of CNC router axes
4.277319210400447845e-04
-8.162361937069821183e-04
1.811525676744832022e-04
8.631729844467299134e-04
-1.798268571162747200e-04
5.427288120659511843e-04
3.803408390887434818e-04
-1.711426517540674591e-04
-1.272118295169651938e-04
-8.438690981796806607e-04
@j1ah0ng
j1ah0ng / config
Created May 27, 2019 21:06
.config/i3/config
# recovery: i3-config-wizard
# mod keys
set $mod Mod4
set $alt Mod1
# Background
exec --no-startup-id nitrogen --set-auto /home/sushisharkjl/Pictures/l_fb_08_big.png
exec --no-startup-id compton
exec --no-startup-id xsettingsd &
@j1ah0ng
j1ah0ng / .vimrc
Last active October 28, 2019 20:50
Disgusting and unextensible .vimrc for people who don't care about extensibility
" fix mouse
set mouse=a
set ttymouse=xterm
" folding
set foldlevel=99
set foldenable
set foldmethod=indent
nnoremap <space> za
@j1ah0ng
j1ah0ng / .zshrc
Created October 28, 2019 20:29
Equally disgusting zshell configuration for people who enjoy disgusting shell functions and nonextensible configuration
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/.local/bin:$HOME/bin:/usr/local/bin:$PATH
export DEFAULT_USER=$USER
prompt_context() {}
# Path to your oh-my-zsh installation.
export ZSH="/home/sushisharkjl/.oh-my-zsh"
@j1ah0ng
j1ah0ng / compton.conf
Created October 28, 2019 20:30
Not that disgusting compton configuration for people who like background blurs uwu
# rendering backend
backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;
glx-swap-method = "undefined";
glx-use-gpushader4 = true;
# shadows
shadow = true;
no-dnd-shadow = true;
@j1ah0ng
j1ah0ng / i3-config
Created November 29, 2019 08:25
Dotfiles!
# x env vars
exec --no-startup-id "/home/sushisharkjl/.config/i3/save_dbus.sh"
# mod keys
set $mod Mod4
set $alt Mod1
# Background and HDMI monitor
exec --no-startup-id "xrandr --output HDMI1 --pos 2560x0"
exec --no-startup-id "nitrogen --set-zoom-fill /home/sushisharkjl/Pictures/Wallpapers/wallpaper &"
@j1ah0ng
j1ah0ng / config
Created December 16, 2019 05:00
polybar-config
[bar/white]
;------------;
; DIMENSIONS ;
;------------;
width = 100%
height = 20
offset-y = 0
offset-x = 0
border-top-size = 12
border-bottom-size = 0
@j1ah0ng
j1ah0ng / upload.sh
Created March 21, 2020 19:18
syncing to ucsd servers
#!/usr/bin/env bash
echo "Please make sure you are running this script from the directory\
containing your working files."
echo -n "The current directory is "
echo -n $(pwd)
echo -n " and contains "
echo -n $(ls -l | wc -L)
echo " files."
echo