Skip to content

Instantly share code, notes, and snippets.

@quyenlv
quyenlv / remote-capture-packet.rst
Last active December 28, 2018 10:08
Remote capturing packet with tcpdump and wireshark

Topology

+------------------+                    +----------------------+
|   Local host     |  tcpdump over ssh  |    Remote Host       |
|                  |--------------------|                      |\ eth0
| +--------------+ |--------------------|                      |/
| |   Wireshark  | |                    |  tcpdump -i eth0...  |
@quyenlv
quyenlv / install-gimp.md
Last active May 19, 2024 14:24
Install Photoshop-like GIMP

Install GIMP

sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install gimp gimp-gmic

Install Photoshop theme

wget -O gimp-2.8.zip http://drive.noobslab.com/data/themes/gimp/gimp-2.8.zip
@quyenlv
quyenlv / vncserver@.service
Last active November 20, 2018 04:06
Setup securely VNC through SSH tunnel
# Vncserver service file for Debian or Ubuntu with systemd
#
# Install vncserver
# apt-get install tightvncserver
#
# 1. Copy this file to /etc/systemd/system/vncserver@.service
# 2. Edit User=
# e.g "User=jo"
# 3. Edit the vncserver parameters appropriately in the ExecStart= line!
# e.g. the -localhost option only allows connections from localhost (or via ssh tunnels)