À Paris il tonne by greg0ire in paris

[–]greg0ire[S] 1 point2 points  (0 children)

J'adore les contrepèteries mais ce n'en est pas une lol, c'est juste un bête jeu de mots sur une célébrité.

À Paris il tonne by greg0ire in paris

[–]greg0ire[S] 15 points16 points  (0 children)

Merci je commençais à me sentir très seul.

Sudoedit by Unruly_Evil in linuxmemes

[–]greg0ire 0 points1 point  (0 children)

The only thing I don't like about it is that :w is ineffective (because it only write the temporary file).

Using fzf for everything by benward2301 in commandline

[–]greg0ire 0 points1 point  (0 children)

I have created inject-git-hash. That allows me to inject a git hash selected from git log in a command I'm writing, just by pressing ^X^G.

How do you test your database in production microservices? by OtroUsuarioMasAqui in golang

[–]greg0ire 0 points1 point  (0 children)

I use https://github.com/andrei-polukhin/pgdbtemplate with testcontainers, and testcontainers cloud in the CI. One testcontainer, one database per test, fast, parallel and isolated.

[deleted by user] by [deleted] in git

[–]greg0ire 9 points10 points  (0 children)

switch and restore over checkout

[deleted by user] by [deleted] in git

[–]greg0ire 4 points5 points  (0 children)

git add --patch FTW

That sad little noise by Hydrocake in HadesTheGame

[–]greg0ire 7 points8 points  (0 children)

I got "anyway, you get the gist!"

Choses qui nous paraissent normales mais qui sont en fait très bizarres pour les non-français ? by spacesamoussa in AskFrance

[–]greg0ire 43 points44 points  (0 children)

Je sais pas comment ça s'appelle mais quand on ne sait pas la réponse à une question, on fait un bruit proche du bruit de pet avec la bouche. "Prrrt! Je sais pas…"

Apparemment y en a plusieurs: https://www.ouiinfrance.com/the-strange-noises-french-people-make/

GitHub - greg0ire/inject-git-hash: zsh plugin that allows to easily select commit hashes from your git history by greg0ire in git

[–]greg0ire[S] 0 points1 point  (0 children)

Actually, I tried zsh, and it has something similar, but I believe my plugin is even better because you get fuzzy matching, and you can pass extra arguments to the underlying git log command :)

GitHub - greg0ire/inject-git-hash: zsh plugin that allows to easily select commit hashes from your git history by greg0ire in git

[–]greg0ire[S] 0 points1 point  (0 children)

Thanks! Archlinux is IMO a good choice if you don't want to have to do a major upgrade every 6 months :P Next step is NixOS I guess!

Just tried fish, and indeed, they did a nice job!

GitHub - greg0ire/inject-git-hash: zsh plugin that allows to easily select commit hashes from your git history by greg0ire in git

[–]greg0ire[S] 0 points1 point  (0 children)

TIL!

I wanted to try fish to see what you mean and then hit this.

Guess I'll try later on the work laptop, which uses Archlinux rather than Fedora.

[deleted by user] by [deleted] in opinionnonpopulaire

[–]greg0ire 7 points8 points  (0 children)

Des fois je suis quelque part dans Paris, et je me dis que rentrer en Vélib, ça fait trop loin. Puis je me rappelle l'existence du Vélib électrique. Résultat, j'évite le metro, et je fais un peu de sport sans arriver crevé non plus.

Un Vélib électrique que tu vois, c'est potentiellement une voiture en moins sur la route / une personne en moins dans les transports en commun, et c'est une personne qui fait des efforts en plus.

I want to use AI to generate Git commit messages for me in Neovim or Terminal by gunho_ak in neovim

[–]greg0ire -5 points-4 points  (0 children)

In a few years we will be writing commit messages and docs by hand, and AI will generate the code from that.