]> danix's work - danix.xyz-2.git/commitdiff
fix: convert raw HTML to markdown and fix deprecated HTML entities
authorDanilo M. <redacted>
Tue, 28 Apr 2026 17:06:26 +0000 (19:06 +0200)
committerDanilo M. <redacted>
Tue, 28 Apr 2026 17:06:26 +0000 (19:06 +0200)
Content fixes:
- speak-to-me: Convert blockquote to markdown, decode entities
- wp_patcher: Convert pre blocks to fenced code, markdown blockquote
- manage-your-passwords: Convert a tags and blockquotes to markdown, add acronym shortcode, decode entities
- playing-with-colors: Convert a tag to markdown
- pure-nerdgasm: Mark as draft (YouTube embed lost in export)
- r-i-p-steve-jobs: Replace figure with image shortcode
- responsibility: Convert blockquote to markdown

content/en/articles/manage-your-passwords-with-password-store/index.md
content/en/articles/playing-with-colors/index.md
content/en/articles/pure-nerdgasm/index.md
content/en/articles/r-i-p-steve-jobs/index.md
content/en/articles/responsibility/index.md
content/it/articles/speak-to-me/index.md
content/it/articles/wp_patcher-un-metodo-per-aggiornare-wordpress/index.md

index 275f5bf0c00d77c3b9fab2cdbbba647294f53958..9b1a58099bc6a4be44ceadd189adc7d96441b6ae 100644 (file)
@@ -13,25 +13,19 @@ Hello everyone,
 
 lately I&#8217;ve decided not to use the password manager offered by all major browsers nowadays, but instead try to manage all my passwords using some open source software in order to have a better control over my passwords.
 
-I&#8217;ve decided to write this article after reading this <a rel="noreferrer noopener" href="https://alien.slackbook.org/blog/sync-and-share-your-chromium-and-more-browser-data-among-all-your-computers/" target="_blank">blog entry by AlienBob</a> where he speaks of KeepassXC, and since I&#8217;ve used it, I wanted to give a valid alternative to some downsides that I&#8217;ve stumbled upon while using it.
+I've decided to write this article after reading this [blog entry by AlienBob](https://alien.slackbook.org/blog/sync-and-share-your-chromium-and-more-browser-data-among-all-your-computers/) where he speaks of KeepassXC, and since I've used it, I wanted to give a valid alternative to some downsides that I've stumbled upon while using it.
 
-The first approach I&#8217;ve attempted, as I said, was using <a rel="noreferrer noopener" href="https://keepassxc.org/" target="_blank">KeepassXC</a>, quoting their website:
+The first approach I've attempted, as I said, was using [KeepassXC](https://keepassxc.org/), quoting their website:
 
-<blockquote class="wp-block-quote">
-  <p>
-    KeePassXC &#8211; Cross-Platform Password Manager
-  </p>
-
-  <p>
-    Never forget a password again.<br />Securely store passwords using industry standard encryption, quickly auto-type them into desktop applications, and use our browser extension to log into websites.
-  </p>
-
-  <cite><a rel="noreferrer noopener" style="" href="https://keepassxc.org/" target="_blank">KeepassXC website</a></cite>
-</blockquote>
+> **KeePassXC – Cross-Platform Password Manager**
+>
+> Never forget a password again. Securely store passwords using industry standard encryption, quickly auto-type them into desktop applications, and use our browser extension to log into websites.
+>
+> — [KeepassXC website](https://keepassxc.org/)
 
 What I did was install keepassXC on my Slackware64-current, export all my passwords from my main browser, save them as CSV and import them inside keepassXC. Now I have to remember just one password to access my database and I can install the browser integration add-on for chromium (or firefox) to have all my passwords readily available. Neat!!
 
-To share my passwords between my devices, I simply made a private git repository on my server and synced the password database with it. I then went and installed <a rel="noreferrer noopener" href="https://github.com/bpellin/keepassdroid" target="_blank">KeePassDroid</a>, which is an Android implementation of keepassXC.
+To share my passwords between my devices, I simply made a private git repository on my server and synced the password database with it. I then went and installed [KeePassDroid](https://github.com/bpellin/keepassdroid), which is an Android implementation of keepassXC.
 
 Since keepassdroid doesn&#8217;t sync automatically from a remote server, I had to use git on my phone to pull/push to my remote in order to keep the password database up to date, and even if that&#8217;s not a big deal, I wasn&#8217;t happy with my password workflow so, while still using this approach, I was looking for alternatives.
 
@@ -39,73 +33,83 @@ Since keepassdroid doesn&#8217;t sync automatically from a remote server, I had
 
 ## Meet password-store
 
-I stumbled upon <a rel="noreferrer noopener" href="https://www.passwordstore.org" target="_blank">password-store</a>, which claims to be the standard unix password manager.
+I stumbled upon [password-store](https://www.passwordstore.org), which claims to be the standard unix password manager.
 
-The way it works is simple yet brilliant in my opinion, each password is kept secure in a gpg encrypted text file inside a known directory structure, the file itself as well as the directory containing it can have whatever naming convention you want, and everything can be manipulated with standard unix tools (cp, mv, rm, etc.). <acronym title="Keep It Simple, Stupid">KISS</acronym> rule, am I right?!
+The way it works is simple yet brilliant in my opinion, each password is kept secure in a gpg encrypted text file inside a known directory structure, the file itself as well as the directory containing it can have whatever naming convention you want, and everything can be manipulated with standard unix tools (cp, mv, rm, etc.). {{< acronym title="Keep It Simple, Stupid" >}}KISS{{< /acronym >}} rule, am I right?!
 
-Here&#8217;s how it looks like, standard tree view from the shell:
+Here's how it looks like, standard tree view from the shell:
 
-<pre class="wp-block-code language-bash"><code>.password-store/
-&#91;...]
+```bash
+.password-store/
+[...]
 ├── facebook/
-│&nbsp;&nbsp; └── facebook-username
+│   └── facebook-username
 ├── twitter/
-│&nbsp;&nbsp; └── twitter-username
+│   └── twitter-username
 ├── www.instagram.com/
-│&nbsp;&nbsp; └── instagram-username
-&#91;...]</code></pre>
+│   └── instagram-username
+[...]
+```
 
-In this example, facebook is a directory, containing a gpg encrypted text file named &#8220;facebook-username&#8221;, in that file is written my password for that user on facebook, pretty straightforward.
+In this example, facebook is a directory, containing a gpg encrypted text file named "facebook-username", in that file is written my password for that user on facebook, pretty straightforward.
 
-The beauty of the pass program, is that it also includes git subcommands, so you can use it to sync your password database to a remote. Here&#8217;s how it works:
+The beauty of the pass program, is that it also includes git subcommands, so you can use it to sync your password database to a remote. Here's how it works:
 
-The first thing you want to do is create a remote repository on your git server, there&#8217;s a million ways to do so, and it depends on your git provider. If you want to host a git server I have an howto on this site, <a href="https://danix.xyz/2018/07/git-setup-own-server/" data-type="post" data-id="3748">give it a look</a>.
+The first thing you want to do is create a remote repository on your git server, there's a million ways to do so, and it depends on your git provider. If you want to host a git server I have an howto on this site, [give it a look](https://danix.xyz/2018/07/git-setup-own-server/).
 
-After creating the remote repository, you want to clone it in `~/.password-store`, the default directory where pass will store all your credentials, and to do so you&#8217;ll do:
+After creating the remote repository, you want to clone it in `~/.password-store`, the default directory where pass will store all your credentials, and to do so you'll do:
 
-<pre class="wp-block-code language-bash"><code>git clone myserver.com:git-repository ~/.password-store</code></pre>
+```bash
+git clone myserver.com:git-repository ~/.password-store
+```
 
-Assuming you already have a gpg key pair for johndoe@youremailaddress.com, you&#8217;ll have to initialize the password repository like this:
+Assuming you already have a gpg key pair for johndoe@youremailaddress.com, you'll have to initialize the password repository like this:
 
-<pre class="wp-block-code language-bash"><code>pass init johndoe@youremailaddress.com</code></pre>
+```bash
+pass init johndoe@youremailaddress.com
+```
 
 Now pass will use the gpg key pair for that email address when encrypting and decrypting your passwords. Since it also understands when the directory is a local clone of a git repository, after initializing with the previous command, it created a commit ready to be pushed, so all you have to do is 
 
-<pre class="wp-block-code language-bash"><code>cd ~/.password-store && git push
+```bash
+cd ~/.password-store && git push
 # or you can use pass internal git capabilities with:
-pass git push</code></pre>
+pass git push
+```
 
 and your password database will be synced.
 
 From there you can simply invoke pass to see all your passwords, you can search your database, add or remove passwords, modify them etc. For more info you can check the manual where you also have advanced examples on how to use git with pass.
 
-On my android phone I&#8217;ve installed the mobile version of <a rel="noreferrer noopener" href="https://play.google.com/store/apps/details?id=dev.msfjarvis.aps" target="_blank">Password Store</a>, I&#8217;ve setup my ssh key in order to be able to pull/push from my git remote, and now I have all my passwords syncronized to my mobile as well.
+On my android phone I've installed the mobile version of [Password Store](https://play.google.com/store/apps/details?id=dev.msfjarvis.aps), I've setup my ssh key in order to be able to pull/push from my git remote, and now I have all my passwords syncronized to my mobile as well.
 
 ## On the phone
 
 The process for installing password-store on the phone is a bit tricky, but nothing really difficult. The two apps we need are:
 
-  * <a href="https://play.google.com/store/apps/details?id=dev.msfjarvis.aps" target="_blank" rel="noreferrer noopener">Password-store</a>
-  * <a href="https://play.google.com/store/apps/details?id=org.sufficientlysecure.keychain" target="_blank" rel="noreferrer noopener">OpenKeyChain</a>
+  * [Password-store](https://play.google.com/store/apps/details?id=dev.msfjarvis.aps)
+  * [OpenKeyChain](https://play.google.com/store/apps/details?id=org.sufficientlysecure.keychain)
 
-After installing both those apps, we&#8217;ll need to go on our computer and export our public and private gpg keys in order to import them inside OpenKeyChain, to do so we&#8217;ll go in the terminal and type away:
+After installing both those apps, we'll need to go on our computer and export our public and private gpg keys in order to import them inside OpenKeyChain, to do so we'll go in the terminal and type away:
 
-<pre class="wp-block-code language-bash"><code>gpg --export-secret-keys --armor johndoe@youremailaddress.com &gt; private.asc
-gpg --export --armor johndoe@youremailaddress.com &gt; public.asc</code></pre>
+```bash
+gpg --export-secret-keys --armor johndoe@youremailaddress.com > private.asc
+gpg --export --armor johndoe@youremailaddress.com > public.asc
+```
 
-now we have both our private and public key stored in a file, which we can transfer to the phone and import inside OpenKeyChain. I&#8217;ve imported the private key first and then the public one, and while importing the latter, OpenKeyChain confirmed that the key was updated, so both are essentially on the same keypair.
+now we have both our private and public key stored in a file, which we can transfer to the phone and import inside OpenKeyChain. I've imported the private key first and then the public one, and while importing the latter, OpenKeyChain confirmed that the key was updated, so both are essentially on the same keypair.
 
-One important note regarding git, depending on how your git repository is setup, you might be needed to import your ssh key inside password-store on your phone in order to access the repository, that&#8217;s really easy as the app will ask for your git configuration the first time you open it.
+One important note regarding git, depending on how your git repository is setup, you might be needed to import your ssh key inside password-store on your phone in order to access the repository, that's really easy as the app will ask for your git configuration the first time you open it.
 
-Once you&#8217;ve setup your git access, it will ask you to allow OpenKeyChain to manage your gpg key pair whenever you use password-store, and that&#8217;s it! You have now your passwords securely stored through GnuPG and synced between your devices with git.
+Once you've setup your git access, it will ask you to allow OpenKeyChain to manage your gpg key pair whenever you use password-store, and that's it! You have now your passwords securely stored through GnuPG and synced between your devices with git.
 
 ## Bonus note
 
-password-store is a command line program that you can access via it&#8217;s command `pass`, but there are also graphical interfaces to access it.
+password-store is a command line program that you can access via its command `pass`, but there are also graphical interfaces to access it.
 
-One of them is <a rel="noreferrer noopener" href="https://qtpass.org/" target="_blank">qtpass</a>, you should find it in most distros, on Slackware I found it on <a rel="noreferrer noopener" href="https://slackbuilds.org/repository/14.2/desktop/qtpass/?search=qtpass" target="_blank">SBo</a> and compiled it without any problems. It performs very well, allows you to manipulate your password repository from a graphical interface, performs push/pull operations on git and makes it easier to create complex passwords whenever you need. Just a headsup, if you install this setup on raspbian, remember to install one of the pinentry programs to be able to insert your passkey when you are not in the terminal.
+One of them is [qtpass](https://qtpass.org/), you should find it in most distros, on Slackware I found it on [SBo](https://slackbuilds.org/repository/14.2/desktop/qtpass/?search=qtpass) and compiled it without any problems. It performs very well, allows you to manipulate your password repository from a graphical interface, performs push/pull operations on git and makes it easier to create complex passwords whenever you need. Just a headsup, if you install this setup on raspbian, remember to install one of the pinentry programs to be able to insert your passkey when you are not in the terminal.
 
-I hope you&#8217;ll find this article useful, remember to drop me a [comment][1] if you need any help and I&#8217;ll be happy to help you as best as I can.
+I hope you'll find this article useful, remember to drop me a [comment][1] if you need any help and I'll be happy to help you as best as I can.
 
 Cheers!!
 
index 9085d6acc931652b6234405ed2ad34d7610e94b1..b6c05c981dce24651ed22b4b1496c6d694efa9e1 100644 (file)
@@ -18,6 +18,6 @@ I was having a look at some color palettes for _**I'm not gonna tell ya**_, and
 
 It's actually very simple, there's a large preview where you can modify each color on the fly, and then you can send them to a fake page preview. that's it.
 
-I put it on <a href="https://github.com/danixland/palette-viewer" target="_blank" rel="noopener noreferrer">github</a>, just in case you want to give it a look.
+I put it on [github](https://github.com/danixland/palette-viewer), just in case you want to give it a look.
 
 Let me know what you think about it. Cheers ;)
\ No newline at end of file
index 0326fd09a4dc1e8b8ef0d85a2000880dca68be22..6be196aa54f05f144e54bbac13684137661ba290 100644 (file)
@@ -7,9 +7,5 @@ excerpt = "An EPIC video of two floppy disks playing the imperial march.. nerdga
 image = "/uppies/2011/10/vader.jpg"
 categories = [ "Blogging"]
 tags = [ "web", "floppy disks", "imperial march", "nerdgasm", "nerds", "star wars", "youtube"]
-+++
-
-<figure class="wp-block-embed-youtube aligncenter wp-block-embed is-type-rich is-provider-embed-handler wp-embed-aspect-4-3 wp-has-aspect-ratio">
-
-<div class="wp-block-embed__wrapper">
-</div><figcaption>can&#8217;t get nerdier than this&#8230;</figcaption></figure>
\ No newline at end of file
+draft = true
++++
\ No newline at end of file
index 0a04ed9b6290ae3d99d4c8871e9552550a2992f5..b1553165ac5beacb1262c3f63217a8351c884ce7 100644 (file)
@@ -9,4 +9,4 @@ categories = [ "Blogging"]
 tags = [ "Steve Jobs"]
 +++
 
-<figure id="attachment_3691" aria-describedby="caption-attachment-3691" style="width: 1024px" class="wp-caption aligncenter"><img loading="lazy" class="wp-image-3691 size-large" src="https://danix.xyz/wp-content/uploads/2011/10/jobs-1024x741.jpg" alt="" width="1024" height="741" srcset="https://danix.xyz/wp-content/uploads/2011/10/jobs-1024x741.jpg 1024w, https://danix.xyz/wp-content/uploads/2011/10/jobs-300x217.jpg 300w, https://danix.xyz/wp-content/uploads/2011/10/jobs-768x556.jpg 768w, https://danix.xyz/wp-content/uploads/2011/10/jobs.jpg 1500w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption id="caption-attachment-3691" class="wp-caption-text">Today a truly beautiful mind has left our world. Today is a very sad day.</figcaption></figure>
\ No newline at end of file
+{{< image src="/uppies/2011/10/jobs.jpg" alt="Steve Jobs" caption="Today a truly beautiful mind has left our world. Today is a very sad day." >}}{{< /image >}}
\ No newline at end of file
index b82273ab1c7b5826747ecd4ecc1ccd42a74d1d96..9b9aed306dbc896a03e3e9333058734b0d9eb1ee 100644 (file)
@@ -8,8 +8,4 @@ categories = [ "Blogging", "Self Reflection"]
 tags = [ "life", "responsibility"]
 +++
 
-<blockquote class="wp-block-quote">
-  <p>
-    Accept responsibility for your life. Know that it is you who will get you where you want to go, no one else.
-  </p>
-</blockquote>
\ No newline at end of file
+> Accept responsibility for your life. Know that it is you who will get you where you want to go, no one else.
\ No newline at end of file
index 84ee91ccf8f915f968a059c71a492ed0e85f3cfd..a11cb818aa16b9a03e530b47989e859b7bb26b48 100644 (file)
@@ -7,12 +7,8 @@ categories = [ "Blogging"]
 tags = [ "mad", "pink floyd"]
 +++
 
-<blockquote class="wp-block-quote">
-  <p>
-    I&#8217;ve always been mad, I know I&#8217;ve been mad, like the most of us are. It&#8217;s very hard to explain why you&#8217;re mad, even if you&#8217;re not mad.
-  </p>
-  
-  <cite>Pink Floyd &#8211; Speak to Me</cite>
-</blockquote>
+> I've always been mad, I know I've been mad, like the most of us are. It's very hard to explain why you're mad, even if you're not mad.
+>
+> — Pink Floyd – Speak to Me
 
 Credo che questo sarà il mio primo tattoo.. :)
\ No newline at end of file
index cdb77a6b9060e2c1c6a3f2a7f0b49405a3bcc0a1..dbfc23bf186fea274d57c42c12901869076a619b 100644 (file)
@@ -22,7 +22,8 @@ Detto fatto, mi sono messo a giocare un po&#8217; con Vim e ho tirato fuori **wp
 
 Questo è lo script:
 
-<pre class="wp-block-preformatted language-bash"><code>#! /bin/bash
+```bash
+#! /bin/bash
 # WP-patcher - script che si occupa di recuperare le differenze
 # tra 2 versioni differenti di WordPress, scaricando le revisioni
 # tramite svn.
@@ -70,7 +71,7 @@ svn export $new_vrs wp_$sane_new_vrs
 rm -rf $old_vrs $new_vrs
 echo "ho esportato correttamente le 2 versioni di wordpress"
 echo "adesso procedo alla creazione della patch"
-diff -qr wp_$sane_old_vrs wp_$sane_new_vrs |cut -d" " -f4 &gt; patch_file.txt
+diff -qr wp_$sane_old_vrs wp_$sane_new_vrs |cut -d" " -f4 > patch_file.txt
 mkdir $patchdir
 mods=`cat patch_file.txt`
 for i in $mods;do
@@ -89,7 +90,8 @@ rm -rf $workdir
 echo "l'archivio contenente i files da sostituire"
 echo "è il file 'wp_${patchdir}.tar.bz2"
 # fine :)
-exit 0</code></pre>
+exit 0
+```
 
 E&#8217; molto semplice e non dovrebbe essere difficile modificarlo secondo le vostre necessità&#8230;
 
@@ -105,11 +107,7 @@ Perchè lo script funzioni è necessario che nel sistema sia installato svn, tar
 
 Una volta creato l&#8217;archivio con i files da aggiornare vi basterà decomprimerlo e caricare i files sul vostro spazio web sovrascrivendo quelli già presenti. Nel caso in cui fosse necessario un aggiornamento del database di WordPress vi basterà lanciare dal browser la pagina **http://urldelblog/wp-admin/upgrade.php**.
 
-<blockquote class="wp-block-quote alert">
-  <p>
-    <strong><em>Come sempre vale il consiglio, prima di aggiornare WordPress, di effettuare un backup dei files e del database, in modo da poter ripristinare una situazione funzionante in caso di problemi.</em></strong>
-  </p>
-</blockquote>
+> **_Come sempre vale il consiglio, prima di aggiornare WordPress, di effettuare un backup dei files e del database, in modo da poter ripristinare una situazione funzionante in caso di problemi._**
 
 Questo script come potete vedere è rilasciato sotto la GPL v3, quindi è liberamente utilizzabile e modificabile entro i termini di questa licenza appunto.