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 4, 2024
1 parent d429bb1 commit 6165c1e
Show file tree
Hide file tree
Showing 64 changed files with 1,102 additions and 1,102 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-orgebaa74e" class="outline-2">
<h2 id="orgebaa74e">Goals</h2>
<div class="outline-text-2" id="text-orgebaa74e">
<div id="outline-container-org8612f0f" class="outline-2">
<h2 id="org8612f0f">Goals</h2>
<div class="outline-text-2" id="text-org8612f0f">
<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="orgebaa74e">Goals</h2>
</div>


<div id="outline-container-org5d40754" class="outline-2">
<h2 id="org5d40754">What will I write about?</h2>
<div class="outline-text-2" id="text-org5d40754">
<div id="outline-container-org7875f25" class="outline-2">
<h2 id="org7875f25">What will I write about?</h2>
<div class="outline-text-2" id="text-org7875f25">
<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-orgc65fd01" class="outline-2">
<h2 id="orgc65fd01">So&#x2026;</h2>
<div class="outline-text-2" id="text-orgc65fd01">
<div id="outline-container-orgdde6b66" class="outline-2">
<h2 id="orgdde6b66">So&#x2026;</h2>
<div class="outline-text-2" id="text-orgdde6b66">
<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-org0559f2c" class="outline-2">
<h2 id="org0559f2c">What are DSLs?</h2>
<div class="outline-text-2" id="text-org0559f2c">
<div id="outline-container-orgf6420c1" class="outline-2">
<h2 id="orgf6420c1">What are DSLs?</h2>
<div class="outline-text-2" id="text-orgf6420c1">
<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="org0559f2c">What are DSLs?</h2>
</div>


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


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


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



<div id="outline-container-orgc80d8c5" class="outline-2">
<h2 id="orgc80d8c5">Additional reading</h2>
<div class="outline-text-2" id="text-orgc80d8c5">
<div id="outline-container-orgecb068b" class="outline-2">
<h2 id="orgecb068b">Additional reading</h2>
<div class="outline-text-2" id="text-orgecb068b">
<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-orgd4d50ff" class="outline-2">
<h2 id="orgd4d50ff">bat</h2>
<div class="outline-text-2" id="text-orgd4d50ff">
<div id="outline-container-org8d58f94" class="outline-2">
<h2 id="org8d58f94">bat</h2>
<div class="outline-text-2" id="text-org8d58f94">
<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="orgd4d50ff">bat</h2>
</div>


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


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


<div id="outline-container-org0b8e770" class="outline-2">
<h2 id="org0b8e770">lolcat</h2>
<div class="outline-text-2" id="text-org0b8e770">
<div id="outline-container-org4e60886" class="outline-2">
<h2 id="org4e60886">lolcat</h2>
<div class="outline-text-2" id="text-org4e60886">
<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 6165c1e

Please sign in to comment.