git branch -r \ | grep -v '\->' \ | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" \ | while read remote; do \ git branch --track "${remote#origin/}" "$remote"; \ done git fetch --all git pull --all
Benvenuto straniero - Ceci ce un blog!
Wednesday, January 01, 2025
Git get all remote branches
Sort commits by date
git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:iso8601) %(refname:short)'or put in .gitconfig alias
[alias] recent = "!git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:iso8601) %(refname:short)'"
Thursday, December 12, 2024
How to set php executable path php.validate.executablePath in VS Code (vscode) when php is inside docker container?
I've used such solution: First, create a php file inside /usr/local/bin/ and make it executable: sudo touch /usr/local/bin/php sudo chmod +x /usr/local/bin/php Update content of it with: docker exec $(docker_php-1) php "$@" And then update php.validate.executablePath with /usr/local/bin/php: { "php.validate.executablePath": "/usr/local/bin/php" }
Tuesday, October 22, 2024
How to check if a PDF has any kind of digital signature
pdfsig signed_file.pdf Displays signature info for signed_file.pdf
Saturday, August 31, 2024
acuityscheduling
With seamless client scheduling, secure payments, and workflow automation, all you have to do is show up on time.
acuityscheduling
Subscribe to:
Posts (Atom)
Git get all remote branches
git branch -r \ | grep -v '\->' \ | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" \ | while read remote; do \ git branc...
-
sh -c 'xfce4-screenshooter --fullscreen --save "$HOME/Pictures/Screenshots/Screenshot_$(date +%Y-%m-%d_%H:%M:%S).png"' s...
-
Known Issues Firefox 3.5 will only support color profiles as specified by ICC v2, later versions will add su...