Skip to content

Instantly share code, notes, and snippets.

View jaasonw's full-sized avatar

jason wong jaasonw

View GitHub Profile
@jaasonw
jaasonw / .zshrc
Last active December 29, 2023 21:57
dotfiles
# Load Antigen
source ~/antigen.zsh
# Load Antigen configurations
antigen init ~/.antigenrc
# Example aliases
alias zshconfig="nvim ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias ghf="cd ~/Documents/github/"
@jaasonw
jaasonw / terminal_settings.json
Created August 13, 2020 21:39
my windows terminal settings
// This file was initially generated by Windows Terminal 1.1.2021.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@jaasonw
jaasonw / Backups\workspaces.json
Last active January 19, 2023 11:46
Visual Studio Code Settings Sync Gist
{"rootURIWorkspaces":[],"folderWorkspaceInfos":[{"folderUri":"file:///c%3A/Users/Jason/Google%20Drive%20%28jwong92%40go.pasadena.edu%29/11%20Fall%202020/Math%2022/Section%201.2"},{"folderUri":"file:///c%3A/Users/Jason/Google%20Drive%20%28jwong92%40go.pasadena.edu%29/11%20Fall%202020/Math%2022/Section%201.6"},{"folderUri":"file:///k%3A/Files/Github/cs66/01"},{"folderUri":"file:///k%3A/Files/Github/cs66/05"},{"folderUri":"file:///k%3A/Files/Github/cs66/06"},{"folderUri":"file:///k%3A/Files/Github/cs66/09"},{"folderUri":"file:///c%3A/Users/Jason/Documents/Github/jaasonw.github.io/cs"},{"folderUri":"vscode-remote://wsl%2Bubuntu/mnt/k/Files/Github/spotify-new-music-sorter"},{"folderUri":"file:///k%3A/Files/Github/Database"},{"folderUri":"vscode-remote://wsl%2Bubuntu/mnt/c/Users/Jason/Documents/Github/citrus"},{"folderUri":"file:///c%3A/Users/Jason/OneDrive%20-%20Cal%20State%20Fullerton/03%20Fall%202021/CPSC%20323%20-%20Compilers/assignment_01"},{"folderUri":"vscode-remote://wsl%2Bubuntu/mnt/c/Users/Jason/Documents
@jaasonw
jaasonw / build.sh
Created March 17, 2020 04:55
builds small c++ projects, rewritten in bash so python is no longer required
#!/bin/bash
# a simple build script suitable for compiling small projects
# written by jason wong
COMPILER="g++"
MAIN="main.cpp"
EXECUTABLE="a.exe"
# include and source directories
INCLUDES=( include )
@jaasonw
jaasonw / vector.h
Last active November 9, 2019 21:59
/*
* Simple vector implementation
* Author: Jason Wong
*/
#pragma once
#include <cassert>
#include <iostream>
#include <stdexcept>
template <typename T>
@jaasonw
jaasonw / build.py
Last active March 25, 2019 21:37
A short and simple build script that I use for compiling small c++ projects
# a simple build script suitable for compiling small projects
# written by jason wong
import os
import time
COMPILER = "g++"
MAIN = "main.cpp"
EXECUTABLE = "a.exe"
@jaasonw
jaasonw / vscode_settings
Last active February 28, 2019 17:56
vs code settings
{
// EDITOR
"editor.fontSize": 18,
"editor.fontFamily": "Source code pro",
"editor.formatOnPaste": true,
"editor.minimap.renderCharacters": false,
"editor.minimap.showSlider": "always",
"editor.mouseWheelZoom": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.suggest.localityBonus": true,
img.image {
height: 45px !important;
width: auto !important;
}
.icon-watch.ml4 {
display: none;
}
.tags {
width: 170px;
}
/*
// Self-explanatory
*/
BODY
{
margin: 0;
color: #000000;
font-size: 11.00px;
font-family: Verdana, Arial;
background-color: #FFFFFF;
// original + previous versions
// https://gist.github.com/jaasonw/c58a2acf75016b09d0fe5f1864fd2db5
// Mouse Settings
// 800dpi
m_rawinput 1
sensitivity 0.668
zoom_sensitivity_ratio_mouse 1