diff --git a/content/cheat sheets/git.md b/content/cheat sheets/git.md index aa3143f..79df334 100644 --- a/content/cheat sheets/git.md +++ b/content/cheat sheets/git.md @@ -1,11 +1,13 @@ --- Title: Some git tricks Date: 2019-04-22 17:00 +Modified: 2019-04-23 14:23 Author: Fabrice Category: cheat sheets Tags: git, termtosvg Slug: git-tricks Header_Cover: images/cover_water.jpg +Summary: A compilation of some `git` tricks I keep forgetting. --- Some [git](https://git-scm.com/) tricks I use from time to time and that I forgot everytime… @@ -29,8 +31,16 @@ If you noticed that your folder grows, you can manually cast the garbage collect git gc --aggressive ``` +To commit a small part of the file (in an interactive way): +```sh +git commit -p +``` + Another useful trick is `git commit -v`, it allows reviewing your changes before committing. ![Example](/examples/git-cv.svg) - +A ncurse-based interface for git: [tig](https://jonas.github.io/tig/) +```sh +tig +``` diff --git a/content/software/pass.md b/content/software/pass.md index a26a660..4337b87 100644 --- a/content/software/pass.md +++ b/content/software/pass.md @@ -1,11 +1,13 @@ --- Title: Manage your passwords with pass Date: 2019-04-22 19:00 +Modified: 2019-04-23 14:24 Author: Fabrice Category: software Tags: pass, git Slug: password-store Header_Cover: images/cover_antennae.jpg +Summary: A simple password manager that relies on gpg, and synchronized with git. --- As security breaches are discovered regularly, and so leakage happens, it is recommended to have a different password on each account. @@ -32,3 +34,4 @@ pass git ``` To do whatever you want with git, especially *dirty git* 😉 +And finally, I'm using [password-store](https://f-droid.org/en/packages/com.zeapo.pwdstore/) on my android phone. diff --git a/content/tips/emails-md.md b/content/tips/emails-md.md index 32fa959..2da39e5 100644 --- a/content/tips/emails-md.md +++ b/content/tips/emails-md.md @@ -6,6 +6,7 @@ Category: tips Tags: emails, pandoc, Vim Slug: vim-md-emails Header_Cover: images/cover_amsterdam.jpg +Summary: An example of how to easily manipulate email templates in a markdown. --- If you are like me and you don't like to spend time using WYSIWYG tools to format your texts, you may be interested in this. diff --git a/content/tips/latex-adblock.md b/content/tips/latex-adblock.md index 24a7d78..bbdbb4d 100644 --- a/content/tips/latex-adblock.md +++ b/content/tips/latex-adblock.md @@ -1,6 +1,7 @@ --- Title: Block ads using LaTeX -Date: 2019-04-23 12:00 +Date: 2019-04-23 09:00 +Modified: 2019-04-23 14:23 Author: Fabrice Category: tips Tags: LaTeX, inkscape, ads, git @@ -8,7 +9,7 @@ Slug: latex-ad-block og_image: images/thumb_stop-pub.png twitter_image: images/thumb_stop-pub.png Header_Cover: images/cover_velov.jpg -Summary: How to block advertisement using LaTeX +Summary: Blocking ads in your print-yourself tickets has never been so easy. A script is available at the end of the article. --- I'm quite annoyed with ads. As of many, I'm using an adblocker on my computer, but there is one kind of ads that annoys me the most: ads on printable ticket. Not only it poisons our eyes, but it consumes ink to print it. diff --git a/content/tips/latex-letterhead.md b/content/tips/latex-letterhead.md index 1da23d6..8e37a05 100644 --- a/content/tips/latex-letterhead.md +++ b/content/tips/latex-letterhead.md @@ -6,6 +6,7 @@ Category: tips Tags: LaTeX Slug: latex-letterhead Header_Cover: images/cover_palace.jpg +Summary: A quick trick to use a pdf letterhead with latex. --- It sometimes appears that I have to write some official documents from some entities, especially for admin stuff.