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 Jan 11, 2024
1 parent 1e37eaa commit fba2b9e
Show file tree
Hide file tree
Showing 65 changed files with 1,108 additions and 1,109 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-orgab21ec1" class="outline-2">
<h2 id="orgab21ec1">Goals</h2>
<div class="outline-text-2" id="text-orgab21ec1">
<div id="outline-container-org5183f04" class="outline-2">
<h2 id="org5183f04">Goals</h2>
<div class="outline-text-2" id="text-org5183f04">
<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="orgab21ec1">Goals</h2>
</div>


<div id="outline-container-orgec4e6f6" class="outline-2">
<h2 id="orgec4e6f6">What will I write about?</h2>
<div class="outline-text-2" id="text-orgec4e6f6">
<div id="outline-container-org7286b15" class="outline-2">
<h2 id="org7286b15">What will I write about?</h2>
<div class="outline-text-2" id="text-org7286b15">
<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-org904882c" class="outline-2">
<h2 id="org904882c">So&#x2026;</h2>
<div class="outline-text-2" id="text-org904882c">
<div id="outline-container-org67fa17d" class="outline-2">
<h2 id="org67fa17d">So&#x2026;</h2>
<div class="outline-text-2" id="text-org67fa17d">
<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-orgbe386a0" class="outline-2">
<h2 id="orgbe386a0">What are DSLs?</h2>
<div class="outline-text-2" id="text-orgbe386a0">
<div id="outline-container-orgc67b439" class="outline-2">
<h2 id="orgc67b439">What are DSLs?</h2>
<div class="outline-text-2" id="text-orgc67b439">
<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="orgbe386a0">What are DSLs?</h2>
</div>


<div id="outline-container-orgf03da8c" class="outline-2">
<h2 id="orgf03da8c">Simple lambdas</h2>
<div class="outline-text-2" id="text-orgf03da8c">
<div id="outline-container-orgceead61" class="outline-2">
<h2 id="orgceead61">Simple lambdas</h2>
<div class="outline-text-2" id="text-orgceead61">
<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="orgf03da8c">Simple lambdas</h2>
</div>


<div id="outline-container-org50c33bb" class="outline-2">
<h2 id="org50c33bb">Functions in the scope of a class (aka Functions with receivers)</h2>
<div class="outline-text-2" id="text-org50c33bb">
<div id="outline-container-orgc8c7753" class="outline-2">
<h2 id="orgc8c7753">Functions in the scope of a class (aka Functions with receivers)</h2>
<div class="outline-text-2" id="text-orgc8c7753">
<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="org50c33bb">Functions in the scope of a class (aka Functions with receiv
</div>


<div id="outline-container-orgdb765fe" class="outline-2">
<h2 id="orgdb765fe">Example: Spek</h2>
<div class="outline-text-2" id="text-orgdb765fe">
<div id="outline-container-orgbd4fa21" class="outline-2">
<h2 id="orgbd4fa21">Example: Spek</h2>
<div class="outline-text-2" id="text-orgbd4fa21">
<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="orgdb765fe">Example: Spek</h2>



<div id="outline-container-org9b84090" class="outline-2">
<h2 id="org9b84090">Additional reading</h2>
<div class="outline-text-2" id="text-org9b84090">
<div id="outline-container-org2525fe7" class="outline-2">
<h2 id="org2525fe7">Additional reading</h2>
<div class="outline-text-2" id="text-org2525fe7">
<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-org3d2e200" class="outline-2">
<h2 id="org3d2e200">bat</h2>
<div class="outline-text-2" id="text-org3d2e200">
<div id="outline-container-orgcbd85d4" class="outline-2">
<h2 id="orgcbd85d4">bat</h2>
<div class="outline-text-2" id="text-orgcbd85d4">
<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="org3d2e200">bat</h2>
</div>


<div id="outline-container-org4f1b026" class="outline-2">
<h2 id="org4f1b026">jq and yq - JSON and YAML querying</h2>
<div class="outline-text-2" id="text-org4f1b026">
<div id="outline-container-org975bee9" class="outline-2">
<h2 id="org975bee9">jq and yq - JSON and YAML querying</h2>
<div class="outline-text-2" id="text-org975bee9">
<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="org4f1b026">jq and yq - JSON and YAML querying</h2>
</div>


<div id="outline-container-org122e4d3" class="outline-2">
<h2 id="org122e4d3">mc - Midnight Commander</h2>
<div class="outline-text-2" id="text-org122e4d3">
<div id="outline-container-orgc6f2932" class="outline-2">
<h2 id="orgc6f2932">mc - Midnight Commander</h2>
<div class="outline-text-2" id="text-orgc6f2932">
<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="org122e4d3">mc - Midnight Commander</h2>
</div>


<div id="outline-container-org34560e3" class="outline-2">
<h2 id="org34560e3">lolcat</h2>
<div class="outline-text-2" id="text-org34560e3">
<div id="outline-container-org122c4f4" class="outline-2">
<h2 id="org122c4f4">lolcat</h2>
<div class="outline-text-2" id="text-org122c4f4">
<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 fba2b9e

Please sign in to comment.