removes categories, cleans slug, updates add.sh
This commit is contained in:
parent
4a38242c4a
commit
661db26fa7
6
add.sh
6
add.sh
@ -4,7 +4,8 @@ if [[ -z "$@" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
title="$@"
|
||||
filename="content/$(echo $@ | tr ' ' '_' | tr '[:upper:]' '[:lower:]')"
|
||||
clean_title=$(echo $title | tr ' ' '_' | tr '[:upper:]' '[:lower:]')
|
||||
filename="content/$clean_title"
|
||||
if [[ -e $filename.md ]]; then
|
||||
echo "$filename.md already exists"
|
||||
exit 1
|
||||
@ -12,7 +13,6 @@ fi
|
||||
echo "Title: $title" >> $filename.md
|
||||
echo "Date: $(date -Iminutes)" >> $filename.md
|
||||
echo "Author: Wxcafé" >> $filename.md
|
||||
echo "Category: " >> $filename.md
|
||||
echo "Slug: $filename" >> $filename.md
|
||||
echo "Slug: $clean_title" >> $filename.md
|
||||
echo -e '\n'>> $filename.md
|
||||
vim +7 $filename.md -s <( echo -n A)
|
||||
|
@ -1,8 +1,7 @@
|
||||
Title: (Neo)mutt fuckery with multipart messages
|
||||
Date: 2018-07-03T23:40+02:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: content/(neo)mutt_fuckery_with_multipart_messages
|
||||
Slug: (neo)mutt_fuckery_with_multipart_messages
|
||||
|
||||
I've been using Mutt, and then Neomutt, as an email client on my laptops for
|
||||
a while (I generally use Evolution on my desktop, because it runs on GNOME,
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Le chiffrement de partitions avec dm-crypt et device-mapper
|
||||
Date: 2013-07-10 03:18
|
||||
Author: Wxcafe
|
||||
Category: Tutoriel
|
||||
Slug: le-chiffrement-de-partition-avec-dm-crypt-et-device-mapper
|
||||
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: 2fa SSH on Linux, and deploying it via Puppet
|
||||
Date: 2017-11-24T13:11+01:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: 2fa_ssh_on_linux,and_deploying_it_via_puppet
|
||||
|
||||
So, I recently (on Monday, 11/20/17) started at a new job! Aside from all the new
|
||||
|
@ -1,8 +1,7 @@
|
||||
Title: 36c3 talks
|
||||
Date: 2020-02-02T14:35-05:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: content/36c3_talks
|
||||
Slug: 36c3_talks
|
||||
|
||||
So a bit over a month ago, like every year, hackers gathered in Leipzig, Germany
|
||||
for the Chaos Communication Congress. This year, like the year before,
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Backups... and restores
|
||||
Date: 2018-05-07 14:17
|
||||
Author: Wxcafé
|
||||
Category: Note
|
||||
Slug: backups-and-restore
|
||||
|
||||
So, as you might have noticed if you're following me on twitter/mastodon, or if
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: ‼️con
|
||||
Date: 2019-05-13 10:00
|
||||
Author: Wxcafé
|
||||
Category: Note
|
||||
Slug: !!con
|
||||
Header_Cover: //pub.wxcafe.net/img/bangbangcon_header.jpg
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Comment Saurik a rooté les Google Glass
|
||||
Date: 2013-05-06 06:24
|
||||
Author: Wxcafe
|
||||
Category: Hacking
|
||||
Slug: comment-saurik-a-roote-les-google-glass
|
||||
|
||||
Comme vous avez pu le lire dans les médias, Saurik (Jay Freeman, connu
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Mise en place d'un serveur DNS
|
||||
Date: 2014-02-24 02:49
|
||||
Author: Wxcafe
|
||||
Category: Tutoriel
|
||||
Slug: mise-en-place-dun-serveur-dns
|
||||
|
||||
Le DNS (Domain Name System) est le service permettant la résolution des noms de
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Docker et les ebooks sur Twitter
|
||||
Date: 2015-02-28 14:11
|
||||
Author: Wxcafe
|
||||
Category: Note
|
||||
Slug: docker-et-les-ebooks-sur-twitter
|
||||
|
||||
Vous avez peut être déjà entendu parler de [Docker](https://www.docker.com/). Si
|
||||
|
@ -1,8 +1,7 @@
|
||||
Title: doing "real networking" on dn42
|
||||
Date: 2018-01-29T11:21+01:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: content/doing_real_networking_on_dn42
|
||||
Slug: doing_real_networking_on_dn42
|
||||
|
||||
So if you're interested in learning about internet-scale networking and
|
||||
experimenting with BGP and stuff on "real" networks, you have two basic options.
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Envie partout, temps nulle part
|
||||
Date: 2016-06-13T09:11+02:00
|
||||
Author: Wxcafé
|
||||
Category: Note
|
||||
Slug: envie-partout-temps-nulle-part
|
||||
|
||||
Ça fait assez longtemps que j'ai pas posté ici, j'en suis bien conscient, et
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: EuroBSDCon 2017
|
||||
Date: 2017-09-29T14:03+02:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: eurobsdcon_2017
|
||||
|
||||
So, as you might know if you follow me on twitter/mastodon (and if you don't,
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: From Bind9 to NSD, a (relatively short) DNS journey
|
||||
Date: 2017-09-24T11:44+02:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: from_bind9_to_nsd_a_relatively_short_dns_journey
|
||||
|
||||
Hey! It's been a while...
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Manettes : Hori vs. PDP
|
||||
Date: 2015-04-19 21:59
|
||||
Author: Wxcafe
|
||||
Category: Vidya Games
|
||||
Slug: hori-vs-pdp
|
||||
|
||||
Si vous avez comme moi une Wii U et Smash 4, vous vous êtes probablement rendus
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: IPv6 at Online.net, with libvirt
|
||||
Date: 2017-07-14T00:21+02:00
|
||||
Author: Wxcafé
|
||||
Category: tutorial
|
||||
Slug: ipv6_at_online.net,with_libvirt
|
||||
|
||||
So, I have this server at [Online](https://online.net), a french hosting
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: GPG key update and validity extension
|
||||
Date: 2017-12-24 19:34
|
||||
Author: Wxcafe
|
||||
Category: Misc
|
||||
Slug: gpg-key-update-and-validity-extension
|
||||
|
||||
Here's a signed message about my GPG key update
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Key Migration
|
||||
Date: 2016-12-29T03:49+01:00
|
||||
Author: Wxcafé
|
||||
Category: misc
|
||||
Slug: key-migration
|
||||
|
||||
Here's a signed message about my key migration
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: My Keyboard.io
|
||||
Date: 2019-07-19
|
||||
Author: Wxcafe
|
||||
Category: Misc
|
||||
Slug: keyboard.io
|
||||
|
||||
My Keyboard.io
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Let's Encrypt, enfin
|
||||
Date: 2015-12-13T18:48+0100
|
||||
Author: Wxcafé
|
||||
Category: Tutoriel
|
||||
Slug: lets-encrypt-enfin
|
||||
|
||||
### Update 2016-09:
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Installer FreeBSD sur un serveur Online avec MfsBSD
|
||||
Date: 2014-08-28 12:16
|
||||
Author: Wxcafe
|
||||
Category: Tutoriel
|
||||
Slug: freebsd-online-mfsbsd
|
||||
|
||||
J'ai récemment eu l'occasion de louer un serveur chez Online.net (filiale de Illiad)
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Monter son propre serveur, partie 1: le serveur et l'apache.
|
||||
Date: 2013-03-18 09:51
|
||||
Author: Wxcafe
|
||||
Category: Tutoriel
|
||||
Slug: monter-son-propre-serveur-partie-1
|
||||
|
||||
Il y a un certain temps, j'avais parlé du concept du self-hosting. Il
|
||||
|
@ -1,8 +1,7 @@
|
||||
Title: Moving to th̶e̶ ̶U̶S̶ ̶New York
|
||||
Date: 2019-02-04T20:08-05:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: content/moving_to_new_york
|
||||
Slug: moving_to_new_york
|
||||
|
||||
So, uh, yeah. Even though it might not have been evident if you extrapolated my
|
||||
sleep cycle from my twitter activity, I've always lived in France, I was born
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Mutt ou le client email le <del>meilleur</del> moins mauvais
|
||||
Date: 2013-01-02 02:12
|
||||
Author: Wxcafe
|
||||
Category: Tutoriel
|
||||
Slug: mutt-ou-le-client-email-le-meilleur-moins-mauvais
|
||||
|
||||
Les clients mails ont une particularité en commun : ils sont tous
|
||||
|
@ -1,5 +1,4 @@
|
||||
Date: 2014-02-17 05:02
|
||||
Category: Ranting
|
||||
Title: NAT
|
||||
|
||||
NAT (Network Address Translation) in a word?
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: [N]olife
|
||||
Date: 2018-04-23T11:00+02:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: nolife
|
||||
|
||||
Exceptionally, this post will be in french, because it's about a very
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: les NUCs et le HDMI-CEC
|
||||
Date: 2015-08-22 02:43
|
||||
Author: Wxcafe
|
||||
Category: Note
|
||||
Slug: nuc-hdmi-cec
|
||||
|
||||
J'ai récemment récupéré une télé. Ce post ne se centrant pas sur cette télé,
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: OpenSMTPd comme serveur mail sous debian
|
||||
Date: 2014-11-07 13:04
|
||||
Author: Wxcafé
|
||||
Category: Tutoriel
|
||||
Slug: opensmtpd-debian
|
||||
|
||||
J'avais dit il y a un certain temps que j'allais écrire un tutoriel expliquant
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: OpenVPN on OpenBSD
|
||||
Date: 2016-11-30T23:59+01:00
|
||||
Author: Wxcafé
|
||||
Category: Tutorial
|
||||
Slug: openvpn-openbsd
|
||||
|
||||
So this is a small article, because I wanted to see if I could write more if
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: OpenWRT, l'USBNet, et l'histoire des 4Mo
|
||||
Date: 2015-10-16 10:27
|
||||
Author: Wxcafe
|
||||
Category: Hacking
|
||||
Slug: openwrt-usbnet
|
||||
|
||||
Donc, j'ai récemment obtenu un [TP-Link
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Plan9 from whichever space
|
||||
Date: 2013-09-09 11:17
|
||||
Author: Wxcafe
|
||||
Category: OSes
|
||||
Slug: plan-9-from-whichever-space
|
||||
|
||||
[__Plan 9 from Outer Space__](http://en.wikipedia.org/wiki/Plan_9_from_Outer_Space) est un film de série Z, produit en 1959 par Edward D.
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: PocketBook Dissassembly and root
|
||||
Date: 2017-08-01T21:39+02:00
|
||||
Author: Wxcafé
|
||||
Category: idk
|
||||
Slug: pocketbook_dissassembly_and_root
|
||||
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: PoC||GTFO; now on a NEW MIRROR near you thanks to A NETWORKING STUDENT and world-famous NGINX REDIRECTION
|
||||
Date: 2016-10-12 16:31
|
||||
Author: Wxcafe
|
||||
Category: Note
|
||||
Slug: PoC||GTFO
|
||||
|
||||
Le titre dit a peu près tout : j'ai récemment commencé a lire les PoC||GTFO
|
||||
|
@ -1,8 +1,7 @@
|
||||
Title: PoC||GTFO 0x18
|
||||
Date: 2018-06-25T19:24+02:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: content/poc||gtfo_0x18
|
||||
Slug: poc||gtfo_0x18
|
||||
|
||||
So PoC||GTFO 0x18 was released in PDF today. Contrary to issue 0x17, and like
|
||||
all previous issues, I wasn't able to get it in paper form, but I still got the
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Pourquoi je vais quitter linux pour passer a FreeBSD.
|
||||
Date: 2013-02-04 17:41
|
||||
Author: Wxcafe
|
||||
Category: Ranting
|
||||
Slug: pourquoi-je-vais-quitter-linux-pour-passer-a-freebsd
|
||||
|
||||
*This is subject to debate, and as most of the actors in this field are
|
||||
|
@ -1,7 +1,6 @@
|
||||
Date: 2013-06-12 19:14
|
||||
Title: Redesign du blog, etc
|
||||
Author: wxcafe
|
||||
Category: Note
|
||||
Slug: redesign-du-blog
|
||||
|
||||
Comme vous avez pu le remarquer, ce blog a "un peu" changé récemment.
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Redondance de routeurs, avec OpenBSD et FreeBSD
|
||||
Date: 2016-07-29T17:53+02:00
|
||||
Author: Wxcafé
|
||||
Category: Tutoriel
|
||||
Slug: redondance-routeurs-openbsd-freebsd
|
||||
|
||||
Depuis le début de mon DUT (il y a deux ans), j'ai découvert le monde du réseau,
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: RPGs, teardowns, ...
|
||||
Date: 2017-06-16T21:52+0200
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: RPGs,_teardowns,_...
|
||||
|
||||
It's starting to look more and more like a real blog here, I make less posts
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Sed Basics
|
||||
Date: 2013-08-18 22:57
|
||||
Author: Wxcafe
|
||||
Category: Tutoriel
|
||||
Slug: sed-basics
|
||||
|
||||
`sed` est un outil Unix très largement utilisé et très pratique pour manipuler
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: So I got an iPhone
|
||||
Date: 2017-02-11T17:38+01:00
|
||||
Author: Wxcafé
|
||||
Category: misc
|
||||
Slug: so-i-got-an-iphone
|
||||
|
||||
So I've been using an Android phone since I got an HTC Desire HD, I think in
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: SSL - STARTTLS
|
||||
Date: 2015-05-16 02:00
|
||||
Author: Wxcafe
|
||||
Category: Note
|
||||
Slug: ssl-starttls
|
||||
|
||||
Le chiffrement SSL pour les services en ligne est un problème relativement
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: SSL ou la sécurité sur l'internet
|
||||
Date: 2014-05-30 08:25
|
||||
Author: Wxcafe
|
||||
Category: Note
|
||||
Slug: SSL-ou-la-securite-sur-internet
|
||||
|
||||
*Disclaimer: Ce billet est écrit après le visionnage de la conférence de Moxie
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: The poor fella's KVM over IP
|
||||
Date: 2017-10-13T19:06+02:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: the_poor_fellas_kvm_over_ip
|
||||
|
||||
# Or, how I learned to stop worrying about which hosting providers supported my OS and love QEMU/KVM
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Update et pensées a propos du Raspberry Pi
|
||||
Date: 2013-01-27 01:55
|
||||
Author: Wxcafe
|
||||
Category: Ranting
|
||||
Slug: update-et-pensees-a-propos-du-raspberry-pi
|
||||
|
||||
Bon.
|
||||
|
@ -1,7 +1,6 @@
|
||||
Title: Update
|
||||
Date: 2013-01-05 18:32
|
||||
Author: Wxcafe
|
||||
Category: Note
|
||||
Slug: update
|
||||
|
||||
Juste une petite note pour annoncer le prochain article, consacré a la
|
||||
|
@ -1,8 +1,7 @@
|
||||
Title: Using traceroute/mtr, or: Diagnosing network problems 101
|
||||
Date: 2019-12-13T16:39-05:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: content/using_traceroute-mtr,_or:_diagnosing_network_problems_101
|
||||
Slug: using_traceroute-mtr,_or:_diagnosing_network_problems_101
|
||||
|
||||
I was a in a twitter discussion recently about **Traceroute**, and how it was not
|
||||
necessarily as simple as it seemed, and that it caused a lot of confusion on the
|
||||
|
@ -1,8 +1,7 @@
|
||||
Title: When a toy isn't a toy anymore
|
||||
Date: 2019-04-28T09:58-05:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: content/when_a_toy_isnt_a_toy_anymore
|
||||
Slug: when_a_toy_isnt_a_toy_anymore
|
||||
|
||||
Let's say, for the sake of argument, that there's this guy named Nick.
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
Title: Yubikey for EVERYTHING
|
||||
Date: 2018-07-07T23:06+02:00
|
||||
Author: Wxcafé
|
||||
Category:
|
||||
Slug: content/yubikey_for_everything
|
||||
Slug: yubikey_for_everything
|
||||
Header_Cover: //pub.wxcafe.net/img/yubikey_cover.jpeg
|
||||
|
||||
###### EDIT: Update 07/07/2018, added `SSH_AUTH_SOCK` information, a few pointers about key generation and backup, and info about gpg-agent's bad behavior.
|
||||
|
Loading…
x
Reference in New Issue
Block a user