Skip to content

Instantly share code, notes, and snippets.

@sdygt
sdygt / build-tmux.sh
Last active October 18, 2018 12:55 — forked from mbreese/build-tmux.sh
HOWTO build a statically linked tmux in one script (downloads and builds dependencies from source)
#!/bin/bash
TARGETDIR=$1
if [ "$TARGETDIR" = "" ]; then
TARGETDIR=$(python -c 'import os; print os.path.realpath("local")')
fi
mkdir -p $TARGETDIR
libevent() {
curl -LO https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
tar -zxvf libevent-2.1.8-stable.tar.gz

Keybase proof

I hereby claim:

  • I am sdygt on github.
  • I am sdygt (https://keybase.io/sdygt) on keybase.
  • I have a public key whose fingerprint is 42F9 F677 FC98 A041 74FF 90CE F027 56B0 476B AC5E

To claim this, I am signing this object:

@sdygt
sdygt / 25596351.asm
Last active October 16, 2016 08:44
微机实验1
.486
DATA SEGMENT USE16
SUM DB ?,?,?
MESG DB '255+96='
DB 0,0,0,'$'
N1 DW 96
N2 DW 255
DATA ENDS
CODE SEGMENT USE16
@sdygt
sdygt / badapple.txt
Last active October 16, 2016 11:58
NokiaBeeper
8#d4 8f4 8#f4 8#g4 4#a4 8#d5 8#c5
4#a4 4#d4 8#a4 8#g4 8#f4 8f4
8#d4 8f4 8#f4 8#g4 4#a4 8#g4 8#f4
8f4 8#d4 8f4 8#f4 8f4 8#d4 8#c4 8f4
8#d4 8f4 8#f4 8#g4 4#a4 8#d5 8#c5
4#a4 4#d4 8#a4 8#g4 8#f4 8f4
8#d4 8f4 8#f4 8#g4 4#a4 8#g4 8#f4
4f4 4#f4 4#g4 4#a4
8#c5 8#d5 8#a4 8#g4 4#a4 8#g4 8#a4
8#c5 8#d5 8#a4 8#g4 4#a4 8#g4 8#a4