Skip to content

Instantly share code, notes, and snippets.

View spoonfree's full-sized avatar

Bowen She spoonfree

View GitHub Profile
@spoonfree
spoonfree / assign3.c
Last active March 3, 2023 04:00
assign3.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>
#define MAX_LINE 102
#define MAX_ARGS 10
int main(int argc, char *argv[]) {
@spoonfree
spoonfree / iterm2.md
Created June 25, 2021 20:08 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)