diff --git a/content/chs-git.md b/content/chs-git.md index c044e43..b81bf7b 100644 --- a/content/chs-git.md +++ b/content/chs-git.md @@ -1,8 +1,9 @@ --- -title: Some git tricks -date: 2019-04-22 -category: Cheat Sheets -header_cover: images/cover_git.jpg +Title: Some git tricks +Date: 2019-04-22 17:00 +Author: Fabrice +Category: cheat sheets +Header_Cover: images/cover_water.jpg --- Some git tricks I use from time to time and that I forgot everytime… diff --git a/content/images/cover_amsterdam.jpg b/content/images/cover_amsterdam.jpg new file mode 100644 index 0000000..346bdea Binary files /dev/null and b/content/images/cover_amsterdam.jpg differ diff --git a/content/images/cover_git.jpg b/content/images/cover_git.jpg deleted file mode 100644 index 82af6aa..0000000 Binary files a/content/images/cover_git.jpg and /dev/null differ diff --git a/content/images/cover_home.jpg b/content/images/cover_home.jpg index 8ffa518..77997ac 100644 Binary files a/content/images/cover_home.jpg and b/content/images/cover_home.jpg differ diff --git a/content/images/cover_water.jpg b/content/images/cover_water.jpg new file mode 100644 index 0000000..17bb4e0 Binary files /dev/null and b/content/images/cover_water.jpg differ diff --git a/content/pages/index.md b/content/pages/index.md index bf414de..57e5df3 100644 --- a/content/pages/index.md +++ b/content/pages/index.md @@ -6,4 +6,8 @@ URL: save_as: index.html --- -Welcome to this _blog_, which aims at relieving my brain from the hard task of remembering all sort of weird stuff. I hope it'll help some of you as well. +I'm Fabrice Mouhartem, and I welcome you to this _blog_, which aims at relieving my brain from the hard task of remembering all sorts of weird stuffs. I hope it'll help some of you as well. +Those stuffs will be mainly about my everyday use of _linux_ but not only. + +If you are lost and are looking for my professional page, it's available [**here**](https://fmouhart.epheme.re). + diff --git a/content/tips-email.md b/content/tips-email.md new file mode 100644 index 0000000..b410f56 --- /dev/null +++ b/content/tips-email.md @@ -0,0 +1,59 @@ +--- +Title: Write your emails in markdown with vim +Date: 2019-04-22 19:00 +Author: Fabrice +Category: tips +Header_Cover: images/cover_amsterdam.jpg +--- + +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. + +However, I'm using [thunderbird](https://www.thunderbird.net/) to handle my emails. +As you may have noticed, you can copy paste from some web page and paste it in thunderbird (which can cause invisible break in the styling). +Exploiting this, one can directly export html into the clipboard to past it in thunderbird. + +The command is as simple as: +```sh +pandoc -t html5 -s | xclip -selection clipboard +``` + +Therefore, adding: +```vim +map :w !pandoc -t html5 -s \| xclip -selection clipboard +``` +in your vim `ftplugin/pandoc.vim` configuration file allows you to copy directly the output of [pandoc](https://pandoc.org/) on you opened buffer into your clipboard and thus past it directly into thunderbird. +Of course, you can customize this command line as you want. For instance my base-header-level is 4, as I think that first-level titles are a bit too much for emails. + +**Note:** I'm using the [vim-pandoc](https://github.com/vim-pandoc/vim-pandoc) and the [vim-pandoc-syntax](https://github.com/vim-pandoc/vim-pandoc-syntax) plugins for vim. + +Here follows a direct usecase of this: a GDPR death letter inspired from [aeris'](https://gist.github.com/aeris/675ffd5755f7570469448bb8b890f759) one. +```md +Dear Sir or Madam, + +My personal data, such as my e-mail address, are protected under the GDPR law since May 2016:\ + + +As per article 3, all GDPR applies to you as I am an EU citizen, even if you are outside EU:\ + + +As per article 15, I request you to provide me all personal data you have about myself, the purpose of the processing, why and **how** you collect them, if you share my data with others people or countries, and all other informations that are mentioned in the following:\ + + +As per article 7, I request you to **prove** my **explicit** and **positive** consent fr my personnal data to be collected and processed:\ + + +As per article 17, I also request all my personal data to be erased from your databases (including backups), with a proof of erasure, **but only once you provided me with all the aforementioned information**:\ + + +As per article 12, these requests have to be fulfilled within **a month** from Today (April 4th 2019). Should this not be the case, I will open a case with EU regulator:\ + + +As per article 19, I have the same request to **all your partners** to whom my personal data have been transfered to. These have to be accompanied with an attestation of erasure from these partners as well:\ + + +This e-mail is signed under the GPG key [`0x2C5033B228CFE4E7`](https://fmouhart.epheme.re/documents/pubkey.asc) that also appears in the above website, which suffices to prove my identity as the rightful owner of these personal data. + +If you require further information to fulfill my requests, feel free to contact me on this e-mail address. + +Sincerely yours, +``` diff --git a/pelicanconf.py b/pelicanconf.py index 4919ea0..4638c75 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals AUTHOR = 'Fabrice Mouhartem' -SITENAME = 'Fabrice Mouhartem' +SITENAME = 'fmouhart\'s blog' SITEURL = '' # Theme