spotify : https://open.spotify.com/playlist/5PBZT30ZR2K3oTPTO3poDy?si=449a195f55af45d5
saw :
- Airbourne
- Heilung
- Eluveitie
- rise against
- wardruna
- guns n roses
- pogo car crash control
sudo vgdisplay | |
# note UUID | |
sudo vgrename <UUID> <new-vg-name> | |
# done. |
sudo mdutil -Ea | |
sudo mdutil -ai off | |
sudo mdutil -ai on |
xhost +local:docker | |
docker run --rm -it -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -e XAUTHORITY=/.Xauthority -v $HOME/.Xauthority:/.Xauthority --entrypoint cypress cypress/included:10.3.0 open --project . |
#!/bin/bash | |
git fetch -p && (git for-each-ref --format='%(if:equals=[gone])%(upstream:track)%(then)%(refname:short)%(end)' refs/heads; git for-each-ref --format "%(refname:short) %(upstream)" refs/heads | awk '{if (!$2) print $1;}') | grep -E -v 'master|main|develop' | xargs echo git branch -D | |
# explanation | |
# - `git fetch -p` : fetch branches that no longer exist on remote | |
# - `git for-each-ref --format='%(if:equals=[gone])%(upstream:track)%(then)%(refname:short)%(end)' refs/heads` : list all branches that no longer exist on remote | |
# - `git for-each-ref --format "%(refname:short) %(upstream)" refs/heads | awk '{if (!$2) print $1;}'` : list all branches without a remote | |
# - `grep -E -v 'master|main|develop'` : remove master, main, develop branches from the results | |
# - `xargs echo git branch -D` : print the commande to delete those branches (remove echo if you want to exec this command directly) |
x (A) 2015-05-20 2016-04-30 measure space for +chapelShelving @chapel due:2016-05-30 | |
│ │ │ │ │ │ └─ Special key/value tag | |
│ │ │ │ │ └─ Context tag | |
│ │ │ │ └─ Project tag | |
│ │ │ └─ Optional - Creation date | |
│ │ └─ Optional - Completion date | |
│ └─ Optional - Marks priority | |
└─ Optional - Marks completion | |
> https://github.com/todotxt/todo.txt#todotxt-format-rules= |
spotify : https://open.spotify.com/playlist/5PBZT30ZR2K3oTPTO3poDy?si=449a195f55af45d5
saw :
source : https://hynek.me/articles/what-to-mock-in-5-mins/
# client.py
def get_repos_w_tags(client):
rv = {}
repos = client.get(
"https://docker.example.com/v2/_catalog"
## source : https://packetpushers.net/ubuntu-extend-your-default-lvm-space/ | |
# first, check | |
df -h | |
sudo lvdisplay | |
# extend | |
sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv | |
# check that size is now correct | |
sudo lvdisplay | |
# resize | |
sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv |
# after a git push -f or git push origin +master, use
git pull --rebase