Skip to content

Commit

Permalink
[SKIP] New org mode articles and/or tags
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 5, 2023
1 parent 9d13254 commit fa256e5
Show file tree
Hide file tree
Showing 62 changed files with 1,072 additions and 1,072 deletions.
18 changes: 9 additions & 9 deletions _posts/2020-08-08-first_post.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
And so it begins! This is the first post of my new blog. I thought this first post could be about my goals, as well as the topics I intend to write about. Just so you know what to expect, given that you read this before I have managed write more…
</p>

<div id="outline-container-orgee4a8ad" class="outline-2">
<h2 id="orgee4a8ad">Goals</h2>
<div class="outline-text-2" id="text-orgee4a8ad">
<div id="outline-container-org8618598" class="outline-2">
<h2 id="org8618598">Goals</h2>
<div class="outline-text-2" id="text-org8618598">
<p>
I had several goals when creating this blog, but the most important one was to have a place where I could write about the things that I find interesting. As you might have guessed, this is mostly related to computers. I LOVE computers! Not just programming, but the wonders that computers can do, and the achievement of the great individuals who have made it possible.
</p>
Expand All @@ -28,19 +28,19 @@ <h2 id="orgee4a8ad">Goals</h2>
</div>


<div id="outline-container-orgcc3f8f5" class="outline-2">
<h2 id="orgcc3f8f5">What will I write about?</h2>
<div class="outline-text-2" id="text-orgcc3f8f5">
<div id="outline-container-orgce6e466" class="outline-2">
<h2 id="orgce6e466">What will I write about?</h2>
<div class="outline-text-2" id="text-orgce6e466">
<p>
I plan to mostly write about computer related topics, with a dash of math and book recommendations on top (though mostly relating to computers or math&#x2026;). Some other topics may also come up from time to time.
</p>
</div>
</div>


<div id="outline-container-org663931c" class="outline-2">
<h2 id="org663931c">So&#x2026;</h2>
<div class="outline-text-2" id="text-org663931c">
<div id="outline-container-org5fd5139" class="outline-2">
<h2 id="org5fd5139">So&#x2026;</h2>
<div class="outline-text-2" id="text-org5fd5139">
<p>
What will the future show? Who knows. The only answer will be in the undiscovered country, the future!
</p>
Expand Down
30 changes: 15 additions & 15 deletions _posts/2020-08-27-kotlin_dsl.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</p>


<div id="outline-container-org6012890" class="outline-2">
<h2 id="org6012890">What are DSLs?</h2>
<div class="outline-text-2" id="text-org6012890">
<div id="outline-container-orge3d61fd" class="outline-2">
<h2 id="orge3d61fd">What are DSLs?</h2>
<div class="outline-text-2" id="text-orge3d61fd">
<p>
DSLs are languages created to solve problems within a particular domain. Popular domains include testing, website creation, database operations (JOOQ comes to mind).
</p>
Expand All @@ -38,9 +38,9 @@ <h2 id="org6012890">What are DSLs?</h2>
</div>


<div id="outline-container-orge1b1340" class="outline-2">
<h2 id="orge1b1340">Simple lambdas</h2>
<div class="outline-text-2" id="text-orge1b1340">
<div id="outline-container-org3830799" class="outline-2">
<h2 id="org3830799">Simple lambdas</h2>
<div class="outline-text-2" id="text-org3830799">
<p>
One very cool feature of Kotlin is that if the last argument of a function is lambda function, then you can write it in a special syntax. Let's make a very simple function to illustrate this concept:
</p>
Expand Down Expand Up @@ -120,9 +120,9 @@ <h2 id="orge1b1340">Simple lambdas</h2>
</div>


<div id="outline-container-org4b926cd" class="outline-2">
<h2 id="org4b926cd">Functions in the scope of a class (aka Functions with receivers)</h2>
<div class="outline-text-2" id="text-org4b926cd">
<div id="outline-container-org9cf2ab4" class="outline-2">
<h2 id="org9cf2ab4">Functions in the scope of a class (aka Functions with receivers)</h2>
<div class="outline-text-2" id="text-org9cf2ab4">
<p>
<b>(I know the official term is Function with receivers, but before knowing that term, I coined it Functions in the scope of a class during one of my early talks on Kotlin. I have chosen to keep this name :) )</b>
</p>
Expand Down Expand Up @@ -185,9 +185,9 @@ <h2 id="org4b926cd">Functions in the scope of a class (aka Functions with receiv
</div>


<div id="outline-container-org75d408f" class="outline-2">
<h2 id="org75d408f">Example: Spek</h2>
<div class="outline-text-2" id="text-org75d408f">
<div id="outline-container-org3418e9f" class="outline-2">
<h2 id="org3418e9f">Example: Spek</h2>
<div class="outline-text-2" id="text-org3418e9f">
<p>
<b>(examples are used for illustrative purposes only!!! All rights to the code are owned by the Spek Framework contributor according to their license:</b>
<b>Copyright (c) 2012-2016, Hadi Hariri and Contributors</b>
Expand Down Expand Up @@ -285,9 +285,9 @@ <h2 id="org75d408f">Example: Spek</h2>



<div id="outline-container-orgf4c3d6c" class="outline-2">
<h2 id="orgf4c3d6c">Additional reading</h2>
<div class="outline-text-2" id="text-orgf4c3d6c">
<div id="outline-container-org1338c31" class="outline-2">
<h2 id="org1338c31">Additional reading</h2>
<div class="outline-text-2" id="text-org1338c31">
<p>
If this was your first time reading about DSLs, then you will probably feel a little inspired. As well as checking out the languages and tools mentioned, I think you should read <a href="https://martinfowler.com/bliki/DomainSpecificLanguage.html">Martin Fowlers article on Domain Specific Languages</a>. He also have a book about this topic, but sadly I have not yet read it.
</p>
Expand Down
24 changes: 12 additions & 12 deletions _posts/2020-08-30-cool_linux_clis.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
</p>


<div id="outline-container-org74365e5" class="outline-2">
<h2 id="org74365e5">bat</h2>
<div class="outline-text-2" id="text-org74365e5">
<div id="outline-container-org95de718" class="outline-2">
<h2 id="org95de718">bat</h2>
<div class="outline-text-2" id="text-org95de718">
<p>
You have probably used cat, which can be a useful tool for viewing the content of files (but mostly for use in piping them to other programs!). Think of bat as a sort of cat, less and syntax highlighter hybrid. If that sounds awesome, it is because it is! You may wonder how it is a hybrid between cat and less? Is it like cat or is it like less?!? It can't be both, can it? Yes, it can. If the file is too big for your screen (terminal window), it will work more like less and let you navigate the contents. If it is just big enough, the content will just be printed to your terminal. Let's see some screenshots!
</p>
Expand Down Expand Up @@ -44,9 +44,9 @@ <h2 id="org74365e5">bat</h2>
</div>


<div id="outline-container-orgc4947cf" class="outline-2">
<h2 id="orgc4947cf">jq and yq - JSON and YAML querying</h2>
<div class="outline-text-2" id="text-orgc4947cf">
<div id="outline-container-orgdae8eaf" class="outline-2">
<h2 id="orgdae8eaf">jq and yq - JSON and YAML querying</h2>
<div class="outline-text-2" id="text-orgdae8eaf">
<p>
JSON and YAML are very common dataformats these days. If you use a REST API with curl, you might want to parse the data to view the parts you are interested in. If you use something like Spring or Kubernetes, you might want to look at parts of your YAML properties. These types of problems can easily be solved by jq (JSON) and yq (yaml). Viewing in this sense can also mean processing the data to formats you want them in, so they are more than simple viewers! While they have a different set of commands, I think they are similar enough to be mentioned in the same section.
</p>
Expand All @@ -62,9 +62,9 @@ <h2 id="orgc4947cf">jq and yq - JSON and YAML querying</h2>
</div>


<div id="outline-container-org2c31c43" class="outline-2">
<h2 id="org2c31c43">mc - Midnight Commander</h2>
<div class="outline-text-2" id="text-org2c31c43">
<div id="outline-container-orgf77ffd9" class="outline-2">
<h2 id="orgf77ffd9">mc - Midnight Commander</h2>
<div class="outline-text-2" id="text-orgf77ffd9">
<p>
Do you miss file managers like Norton Commander from the DOS era? Then you might be pleased to know that Midnight Commander exists! It works exactly the same as Norton Commander used to, but with some additional features. Not my most used program, but comes in handy sometimes.
</p>
Expand All @@ -76,9 +76,9 @@ <h2 id="org2c31c43">mc - Midnight Commander</h2>
</div>


<div id="outline-container-orga5e2f33" class="outline-2">
<h2 id="orga5e2f33">lolcat</h2>
<div class="outline-text-2" id="text-orga5e2f33">
<div id="outline-container-org23bfce1" class="outline-2">
<h2 id="org23bfce1">lolcat</h2>
<div class="outline-text-2" id="text-org23bfce1">
<p>
Let's finish with a less useful, but fun command line tool. lolcat is probably not something you will have much use for, but it will spice up your terminal with rainbow colors. You can use it like you use cat, but I think the most fun use of it is to pipe some fun input to it.
</p>
Expand Down
Loading

0 comments on commit fa256e5

Please sign in to comment.