fixing articles in random order. release_07032023-1801
authordanix <danix@danix.xyz>
Tue, 7 Mar 2023 17:01:34 +0000 (18:01 +0100)
committerdanix <danix@danix.xyz>
Tue, 7 Mar 2023 17:01:34 +0000 (18:01 +0100)
content/articles/ceasar-quote.md
content/articles/conquista-la-folla.md
content/articles/convertire-file-video-in-mp3.md
content/articles/gify-back-to-bash-scripting.md
themes/dagreynix

index aae4b5a..1fd6da9 100644 (file)
@@ -3,11 +3,11 @@ title: Ceasar quote
 author: Danilo M.
 type: article
 date: 2011-07-28T19:03:39+00:00
-excerpt: Una citazione di Giulio Cesare.
+excerpt: A quote from Julius Caesar
 categories:
   - blogging
 tags:
-  - Ceasar
+  - Caesar
   - quote
 format: quote
 ---
index 6dc1f92..1fb40ae 100644 (file)
@@ -2,6 +2,7 @@
 title: conquista la folla..
 author: Danilo M.
 type: article
+draft: true
 date: 2013-04-21T08:17:11+00:00
 categories:
   - blogging
index 4ce9d31..7abdca2 100644 (file)
@@ -17,7 +17,7 @@ tags:
 ---
 un piccolo appunto su come convertire velocemente un video in mp3..
 
-```
+```bash
 ffmpeg -i file_da_convertire.flv -f mp3 -ab 192000 -vn nuovo_file.mp3
 ```
 
index 7c0055e..09b3fa2 100644 (file)
@@ -17,39 +17,38 @@ tags:
   - script
 
 ---
-<div class="wp-block-image size-full wp-image-3645">
-  <figure class="aligncenter"><img loading="lazy" width="900" height="675" src="https://danix.xyz/wp-content/uploads/2016/01/piscaturi.gif" alt="" class="wp-image-3645" /><figcaption>gif image created using gify.sh</figcaption></figure>
-</div>
+{{< figure src="/uploads/2016/01/piscaturi.gif" alt="piccoli pescatori crescono" caption="gif image created using gify.sh" class="align-center" >}}
 
-Today I&#8217;ll present you a useful script that will help you create amazing gifs from your still photos using a couple tools from the <a href="https://www.imagemagick.org" target="_blank" rel="noopener noreferrer">IMAGEMAGIK</a> suite, so without further ado, here it is, straight from github&#8217;s gists.
+Today I'll present you a useful script that will help you create amazing gifs from your still photos using a couple tools from the [IMAGEMAGIK](https://www.imagemagick.org) suite, so without further ado, here it is, straight from github's gists.
 
-<div class="wp-block-buttons aligncenter">
-  <div class="wp-block-button">
-    <a class="wp-block-button__link" href="" target="_blank" rel="noreferrer noopener">download in zip format</a>
-  </div>
-</div>
+{{< actions url="https://gist.github.com/danixland/624f77c70c9e19ce7cf9/archive/26746be7f7009f82e4246a8bc0e5728954d0ac8b.zip" desc="Download as ZIP archive" outclass="special" inclass="primary" >}}
 
-what the code does is quite simple, it takes a few arguments and helps you resize your images&nbsp;while keeping the original proportions. Put the code in your path and let&#8217;s put it to work.
+
+what the code does is quite simple, it takes a few arguments and helps you resize your images&nbsp;while keeping the original proportions. Put the code in your path and let's put it to work.
 
 <!--more-->
 
-For this example we&#8217;ll pretend you have a bunch of jpg pictures, maybe something you shot while travelling france,&nbsp;put&nbsp;them&nbsp;in a folder and run the script like this:
+For this example we'll pretend you have a bunch of jpg pictures, maybe something you shot while travelling france,&nbsp;put&nbsp;them&nbsp;in a folder and run the script like this:
 
-<pre class="wp-block-code language-bash"><code>gify.sh --resize 900 jpg</code></pre>
+```bash
+gify.sh --resize 900 jpg
+```
 
-depending on the amount of images it may take a while, and when it&#8217;s done you&#8217;ll have all of your jpg resized to 900px wide and with proportional height.
+depending on the amount of images it may take a while, and when it's done you'll have all of your jpg resized to 900px wide and with proportional height.
 
-now it&#8217;s time to render all of your jpg into one animated gif so, while in the same directory, run the script like this:
+now it's time to render all of your jpg into one animated gif so, while in the same directory, run the script like this:
 
-<pre class="wp-block-code language-bash"><code>gify.sh --gif 10 jpg paris</code></pre>
+```bash
+gify.sh --gif 10 jpg paris
+```
 
-the parameters now are a bit different, first we tell the script that we want to create a gif with the `--gif` option, then we tell the interval between every frame, that number is expressed in 100th of a second, so now we are telling the gif to change frame every 10/100 of second, the following parameter is the extension of the images we&#8217;ll be using, in our example is jpg (it&#8217;s case sensitive, so make sure all the images you want to use have the same extension), and finally we set the name of the gif, without the extension, the script will provide it for us.
+the parameters now are a bit different, first we tell the script that we want to create a gif with the `--gif` option, then we tell the interval between every frame, that number is expressed in 100th of a second, so now we are telling the gif to change frame every 10/100 of second, the following parameter is the extension of the images we'll be using, in our example is jpg (it's case sensitive, so make sure all the images you want to use have the same extension), and finally we set the name of the gif, without the extension, the script will provide it for us.
 
 The gif you see at the beginning of the article was created with this script.
 
-I made this script mostly for fun and personal use, so it&#8217;s absolutely not idiot proof, can be improved but for me it works just fine. If you want to modify it, feel free to fork it on github or just download it and do whatever you like with it, and if you want to share it with me, use the comment form below.
+I made this script mostly for fun and personal use, so it's absolutely not idiot proof, can be improved but for me it works just fine. If you want to modify it, feel free to fork it on github or just download it and do whatever you like with it, and if you want to share it with me, use the comment form below.
 
-I&#8217;ll leave you with a copy of the script here in case you want to have a look at it before downloading.  
+I'll leave you with a copy of the script here in case you want to have a look at it before downloading.  
 Enjoy!
 
 {{< highlight bash "linenos=true" >}}#! /bin/bash
index 6ea07a0..8403296 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 6ea07a0ed82540bfb100f601422d7449aec96c61
+Subproject commit 84032966f14fb3c9269b570b1d4fc16452c601c4