Skip to content

Instantly share code, notes, and snippets.

View pohmelie's full-sized avatar
🐗

Nikita Melentev pohmelie

🐗
  • Tbilisi, Georgia
View GitHub Profile
@shaiguitar
shaiguitar / gist:627d52ebc0c03af488477b5d636a8909
Created August 31, 2017 22:27
Using docker compose to mount current working directory dynamically into the container
# mount volume PWD on host to /app in container.
shai@lappy ~/tmp/example-working-docker-compose-environment-vars [master *] ± % cat docker-compose.yml
version: "3"
services:
some_server:
...
volumes:
- $PWD:/app
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active June 28, 2025 00:01
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname