Skip to content

Instantly share code, notes, and snippets.

View dimpram's full-sized avatar
🎯
Focusing

Dimitris Pramateftakis dimpram

🎯
Focusing
View GitHub Profile
@pastleo
pastleo / nm_l2tp_ipsec_vpn.md
Last active May 8, 2024 04:16
setup L2TP IPSEC VPN in archlinux using NetworkManager
@lopspower
lopspower / README.md
Last active May 28, 2024 13:18
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.

Download This sample on Google Play Store

@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 May 28, 2024 06:57
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 May 28, 2024 14:54
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname