TIL how to remove every console.log added since I branched out of master
git diff master -G "console.log" --name-only | xargs sed -i '/console.log/d' git diff master display what has changed...
Remove the currently opened file without leaving vim
Vim Tip Of The Day : remove the currently opened file without leaving vim
Woodworking, vim, and OpenSCAD
When I’m not coding, I like to spend time building stuff with my hands – I mean real,...
Remove git branches older than X months
For the example, we’re deleting merged branches older than 3 months :
Triggering a command line on file change
Today I was migrating a somewhat old codebase to Ruby on Rails 6.0.0. As per usual, this can...
i3wm – Displaying Slack incoming call floating window in the current workspace
Since I discovered i3wm (and tilling managers in general) a few months ago, i felt in love with...
Passer une journée en Suisse & se faire dépouiller de 300€ par @mobilevikingsBE et @proximus
Début juillet, je suis parti quelques jours en vacances du côté de lac de Constance. Puisqu’on était à...
Going back in time with Git
Let’s pretend you want to initiate a git bisect because someone (obviously you) introduced a bug in your...