Skip to content

Instantly share code, notes, and snippets.

View in7egral's full-sized avatar

Vladimir Putin in7egral

  • IRT
  • World
View GitHub Profile
@jevinskie
jevinskie / unzlib.sh
Created April 13, 2021 18:20
raw zlib/deflate compress/decompress shell functions
function unzlib {
exec 9<&0
printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - ${1:-/dev/fd/9} | gzip -dc
}
function zlib {
cat ${1:-/dev/stdin} | gzip -c | tail -c +9
}
@mikitsu
mikitsu / make-dvd.md
Last active January 5, 2025 08:50
How to create a Video DVD with menus using dvdauthor and ffmpeg

Make DVD Videos with dvdauthor and FFmpeg

Preparation

Prepare the videos by converting them with ffmpeg

ffmpeg -i 'some input file.mp4' -target [pal-dvd or ntsc-dvd] output.mpg
@jasonzhouu
jasonzhouu / oh-my-zsh-agnoster-light-theme.md
Last active April 25, 2025 11:12
zsh agnoster light theme
  1. save agnoster-light.zsh-theme to ~/.oh-my-zsh/themes/.
  2. edit ZSH_THEME in ~/.zshrc to agnoster-light
  3. change the color theme of terminal to solarized-light
  4. open a new terminal
@icecr4ck
icecr4ck / idapython_cheatsheet.md
Last active May 4, 2025 00:07
Cheatsheet for IDAPython
@buzzySmile
buzzySmile / proto_compile.pri
Created February 5, 2015 11:02
Qt qmake integration with Google Protocol Buffers compiler protoc
# Qt qmake integration with Google Protocol Buffers compiler protoc
#
# To compile protocol buffers with qt qmake, specify PROTOS variable and
# include this file
#
# Example:
# BITSIZE = $$system(getconf LONG_BIT)
# if (contains(BITSIZE, 64)) {
# LIBS += /usr/lib/x86_64-linux-gnu/libprotobuf.so
# }