Skip to content

Instantly share code, notes, and snippets.

View Ornithologist's full-sized avatar

Rongxuan Ornithologist

  • Boston
View GitHub Profile
@Ornithologist
Ornithologist / tmux_cheat_sheet.md
Created October 16, 2018 20:27 — forked from karenyyng/tmux_cheat_sheet.md
common work flow of tmux

Title: Tmux project sessions
Date: 2014-12-24 17:00 Tags: Tmux, learn-X-in-Y-minutes
Author: K. Y. Ng

This is a tutorial for setting up Tmux for saving terminal project sessions.

Tmux helps you emulate several shell sessions within the same terminal window.

@Ornithologist
Ornithologist / .bashrc
Created May 22, 2018 15:09
some handy bash functions and aliases
listGrep() {
ps aux | grep $1 | awk '{print $2}'
}
killGrep() {
ps aux | grep $1 | awk '{print $2}' | xargs -r kill -9
}
@Ornithologist
Ornithologist / memory_layout.md
Created March 14, 2018 18:20 — forked from CMCDragonkai/memory_layout.md
Linux: Understanding the Memory Layout of Linux Executables

Understanding the Memory Layout of Linux Executables

Required tools for playing around with memory:

  • hexdump
  • objdump
  • readelf
  • xxd
  • gcore
@Ornithologist
Ornithologist / sphinx.go
Last active March 10, 2018 01:15
Sphinx is a simple command line tool that does encryption and decryption
/*
Sphinx serves as an easy-to-use command line encryption/
decryption tool. It performs the encryption/decryption operation
based on the file content and passphrase from user input.
The secret data is saved in the following format:
+ 16 + 12 +
| bytes | bytes +
+-------------+----------------------------+