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 Feb 24, 2024
1 parent 3771bcf commit 0e2dc97
Show file tree
Hide file tree
Showing 69 changed files with 1,200 additions and 1,200 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-org9edc3b5" class="outline-2">
<h2 id="org9edc3b5">Goals</h2>
<div class="outline-text-2" id="text-org9edc3b5">
<div id="outline-container-org1667e7a" class="outline-2">
<h2 id="org1667e7a">Goals</h2>
<div class="outline-text-2" id="text-org1667e7a">
<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="org9edc3b5">Goals</h2>
</div>


<div id="outline-container-orga48a70a" class="outline-2">
<h2 id="orga48a70a">What will I write about?</h2>
<div class="outline-text-2" id="text-orga48a70a">
<div id="outline-container-org1b281be" class="outline-2">
<h2 id="org1b281be">What will I write about?</h2>
<div class="outline-text-2" id="text-org1b281be">
<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-orgd5339c8" class="outline-2">
<h2 id="orgd5339c8">So&#x2026;</h2>
<div class="outline-text-2" id="text-orgd5339c8">
<div id="outline-container-orgec761ac" class="outline-2">
<h2 id="orgec761ac">So&#x2026;</h2>
<div class="outline-text-2" id="text-orgec761ac">
<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-orgc3350e5" class="outline-2">
<h2 id="orgc3350e5">What are DSLs?</h2>
<div class="outline-text-2" id="text-orgc3350e5">
<div id="outline-container-orgc48c0d1" class="outline-2">
<h2 id="orgc48c0d1">What are DSLs?</h2>
<div class="outline-text-2" id="text-orgc48c0d1">
<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="orgc3350e5">What are DSLs?</h2>
</div>


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


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


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



<div id="outline-container-org765d87f" class="outline-2">
<h2 id="org765d87f">Additional reading</h2>
<div class="outline-text-2" id="text-org765d87f">
<div id="outline-container-org7f5e3d4" class="outline-2">
<h2 id="org7f5e3d4">Additional reading</h2>
<div class="outline-text-2" id="text-org7f5e3d4">
<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-orge15e00b" class="outline-2">
<h2 id="orge15e00b">bat</h2>
<div class="outline-text-2" id="text-orge15e00b">
<div id="outline-container-org1e8ece0" class="outline-2">
<h2 id="org1e8ece0">bat</h2>
<div class="outline-text-2" id="text-org1e8ece0">
<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="orge15e00b">bat</h2>
</div>


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


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


<div id="outline-container-org0723bb3" class="outline-2">
<h2 id="org0723bb3">lolcat</h2>
<div class="outline-text-2" id="text-org0723bb3">
<div id="outline-container-org7d7638f" class="outline-2">
<h2 id="org7d7638f">lolcat</h2>
<div class="outline-text-2" id="text-org7d7638f">
<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 0e2dc97

Please sign in to comment.