Skip to content

Instantly share code, notes, and snippets.

View dqian96's full-sized avatar

David Qian dqian96

  • Facebook
  • San Francisco, CA
View GitHub Profile
from datetime import datetime
from datetime import timedelta
from itertools import islice
from os import walk
import csv
import json
import sys
# --histo for simple msg frequency from a particular chat (point it to the specific directory)
# --ts for time series data, ie 2d array of [date, person]
@Integralist
Integralist / Makefile
Last active June 21, 2025 05:27 — forked from isaacs/Makefile
Example of a detailed Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active July 2, 2025 18:14
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@Starefossen
Starefossen / tmux-cheats.md
Last active June 18, 2025 18:41
My personal tmux cheat sheet for working with sessions, windows, and panes. `NB` I have remapped the command prefix to `ctrl` + `a`.

Sessions

New Session

  • tmux new [-s name] [cmd] (:new) - new session

Switch Session

  • tmux ls (:ls) - list sessions
  • tmux switch [-t name] (:switch) - switches to an existing session