Skip to content

Instantly share code, notes, and snippets.

View dsjlzh's full-sized avatar
🪬

Gerald dsjlzh

🪬
  • Zero-One Security
View GitHub Profile
@dsjlzh
dsjlzh / idapython_cheatsheet.md
Created November 10, 2022 08:58 — forked from icecr4ck/idapython_cheatsheet.md
Cheatsheet for IDAPython
@dsjlzh
dsjlzh / sed cheatsheet
Created November 4, 2022 09:45 — forked from ssstonebraker/sed cheatsheet
Sed Cheatsheet
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
@dsjlzh
dsjlzh / .tmux.conf
Last active January 3, 2016 07:19
.tmux.conf
# ~/.tmux.conf
#
# See the following files:
#
# /opt/local/share/doc/tmux/t-williams.conf
# /opt/local/share/doc/tmux/screen-keys.conf
# /opt/local/share/doc/tmux/vim-keys.conf
#
# URLs to read:
#
@dsjlzh
dsjlzh / .zshrc
Last active January 3, 2016 07:19
.zshrc
# Skip all this for non-interactive shells
[[ -z "$PS1" ]] && return
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
from __future__ import print_function
import ConfigParser
import subprocess
import time
from pydaemon import Daemon
import sys
sys.path.insert(0, '..')
import argparse
import os
import traceback