Skip to content

Instantly share code, notes, and snippets.

@jiulongw
Last active November 11, 2017 22:51
Show Gist options
  • Save jiulongw/96125591b5b759f18cc6bd337a4d26c1 to your computer and use it in GitHub Desktop.
Save jiulongw/96125591b5b759f18cc6bd337a4d26c1 to your computer and use it in GitHub Desktop.
# curl -L goo.gl/pJHMCG | bash
sudo pacman -Syu --noconfirm
sudo pacman -S --noconfirm --needed \
calc \
firefox \
git \
gvim \
gnu-netcat \
python \
python-pip \
python2 \
python2-pip \
xfce4 \
xorg \
faenza-icon-theme \
gdb \
tcpdump \
fakeroot \
docker \
;
sudo systemctl enable docker
sudo usermod -a -G docker vagrant
sudo pip2 install --upgrade pip \
filebytes \
pwntools \
ropper \
;
sed -e '/^twm/d' -e '/^xclock/d' -e '/^xterm/d' -e '/^exec xterm/d' /etc/X11/xinit/xinitrc > ~/.xinitrc
echo '/usr/bin/VBoxClient-all' >> ~/.xinitrc
echo 'exec startxfce4' >> ~/.xinitrc
curl -s -L -O "https://aur.archlinux.org/cgit/aur.git/snapshot/xfce-theme-greybird.tar.gz" \
&& tar -xf xfce-theme-greybird.tar.gz && \cd xfce-theme-greybird \
&& makepkg -sri --noconfirm --needed \
&& cd -
rm -rf xfce-theme-greybird xfce-theme-greybird.tar.gz
mkdir -p ~/github
git clone --recursive "https://github.com/jiulongw/dotfiles" ~/github/dotfiles
~/github/dotfiles/setup_bash
~/github/dotfiles/setup_vim
git clone --recursive "https://github.com/longld/peda.git" ~/github/peda
echo "source ~/github/peda/peda.py" >> ~/.gdbinit
ln -sf /media/sf_ctf ~/ctf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment