Skip to content

Instantly share code, notes, and snippets.

View curtischong's full-sized avatar
🕺
Dancing in elevators

Curtis Chong curtischong

🕺
Dancing in elevators
View GitHub Profile
@curtischong
curtischong / goto_ide_in_iterm2.txt
Last active March 13, 2024 14:25
Open Cursor IDE when command + click in iterm2
/usr/local/bin/cursor -g '\1:\2'
eval "$(zoxide init zsh)"
function cd(){
z "$@" &&
pwd > ~/.last_dir
}
function ccd(){
zi "$@" &&
pwd > ~/.last_dir
}
@curtischong
curtischong / settings.json
Created August 14, 2019 14:09
vscode settings.json
{
"editor.minimap.enabled": false,
"window.zoomLevel": -1,
"python.pythonPath": "/Users/curtischong/.pyenv/shims/python",
"python.linting.flake8Path": "/Users/curtischong/.pyenv/shims/flake8",
"python.linting.flake8Args": [
"--ignore=W292,E501,E265,F404,E302,E305"
],
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": false,
@curtischong
curtischong / pre-commit
Last active June 19, 2019 15:35
git pre-commit flake8 cancer
#!/bin/bash
# TODO: Place in .git/hooks/
# TODO: Run chmod +x pre-commit
changed-files () {
git diff-tree --no-commit-id --name-only -r ${@:-HEAD}
}
exists () {
while read line; do
@curtischong
curtischong / keybindings.json
Last active January 7, 2020 00:57
vscode keybindings.json
// Place your key bindings in this file to overwrite the defaults
// Where is this file: preferences -> keyboard shortcuts -> the {} button in the top right
[
// Switching tabs
{
"key": "cmd+0",
"command": "workbench.action.openLastEditorInGroup"
},
{
"key": "cmd+1",
@curtischong
curtischong / my_hackathons.txt
Last active March 2, 2024 21:13
Hackathon Count
2015 (1)
1. Hack the North GeoConnect
2016 (13)
2. UofT Hacks WordMix
3. WearHacks Toronto Re-Hack-Ilation
4. Flybits Context Camp MinoTour People's Choice Awards
5. Fishackathon Toronto FinTech 1st
6. HackHalton LoKee (Local Keeper)
7. Connected Labs: Watson IoT Syncur.io

Keybase proof

I hereby claim:

  • I am curtischong on github.
  • I am splacorn (https://keybase.io/splacorn) on keybase.
  • I have a public key ASB7O0hAjopSK1RWp2QYhnxClSX5TNkznGrrpyi_aAH3ggo

To claim this, I am signing this object: