Skip to content

Instantly share code, notes, and snippets.

View dimpram's full-sized avatar

Dimitris Pramateftakis dimpram

View GitHub Profile
@pastleo
pastleo / nm_l2tp_ipsec_vpn.md
Last active September 23, 2025 07:20
setup L2TP IPSEC VPN in archlinux using NetworkManager
@lopspower
lopspower / README.md
Last active November 6, 2025 18:48
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@evanscottgray
evanscottgray / docker_kill.sh
Last active November 7, 2023 03:40
kill all docker containers at once...
docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt
@willurd
willurd / web-servers.md
Last active November 5, 2025 20:58
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 6, 2025 16:35
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname