Add summaries

This commit is contained in:
Fabrice Mouhartem 2019-04-23 14:30:07 +05:30
parent 8cb1c86af6
commit 80991b5b81
5 changed files with 19 additions and 3 deletions

View File

@ -1,11 +1,13 @@
--- ---
Title: Some git tricks Title: Some git tricks
Date: 2019-04-22 17:00 Date: 2019-04-22 17:00
Modified: 2019-04-23 14:23
Author: Fabrice Author: Fabrice
Category: cheat sheets Category: cheat sheets
Tags: git, termtosvg Tags: git, termtosvg
Slug: git-tricks Slug: git-tricks
Header_Cover: images/cover_water.jpg 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… 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 git gc --aggressive
``` ```
To commit a small part of the file (in an interactive way):
```sh
git commit -p <file>
```
Another useful trick is `git commit -v`, it allows reviewing your changes before committing. Another useful trick is `git commit -v`, it allows reviewing your changes before committing.
![Example](/examples/git-cv.svg) ![Example](/examples/git-cv.svg)
A ncurse-based interface for git: [tig](https://jonas.github.io/tig/)
```sh
tig
```

View File

@ -1,11 +1,13 @@
--- ---
Title: Manage your passwords with pass Title: Manage your passwords with pass
Date: 2019-04-22 19:00 Date: 2019-04-22 19:00
Modified: 2019-04-23 14:24
Author: Fabrice Author: Fabrice
Category: software Category: software
Tags: pass, git Tags: pass, git
Slug: password-store Slug: password-store
Header_Cover: images/cover_antennae.jpg 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. 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 <whatever you want>
``` ```
To do whatever you want with git, especially *dirty 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.

View File

@ -6,6 +6,7 @@ Category: tips
Tags: emails, pandoc, Vim Tags: emails, pandoc, Vim
Slug: vim-md-emails Slug: vim-md-emails
Header_Cover: images/cover_amsterdam.jpg 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 <abbr title="What You See Is What You Get">WYSIWYG</abbr> tools to format your texts, you may be interested in this. If you are like me and you don't like to spend time using <abbr title="What You See Is What You Get">WYSIWYG</abbr> tools to format your texts, you may be interested in this.

View File

@ -1,6 +1,7 @@
--- ---
Title: Block ads using LaTeX 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 Author: Fabrice
Category: tips Category: tips
Tags: LaTeX, inkscape, ads, git Tags: LaTeX, inkscape, ads, git
@ -8,7 +9,7 @@ Slug: latex-ad-block
og_image: images/thumb_stop-pub.png og_image: images/thumb_stop-pub.png
twitter_image: images/thumb_stop-pub.png twitter_image: images/thumb_stop-pub.png
Header_Cover: images/cover_velov.jpg 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. 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.

View File

@ -6,6 +6,7 @@ Category: tips
Tags: LaTeX Tags: LaTeX
Slug: latex-letterhead Slug: latex-letterhead
Header_Cover: images/cover_palace.jpg 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. It sometimes appears that I have to write some official documents from some entities, especially for admin stuff.