diff options
Diffstat (limited to 'content')
4 files changed, 51 insertions, 6 deletions
diff --git a/content/posts/2017-08-11-simple-iot-application.md b/content/posts/2017-08-11-simple-iot-application.md index b34fe6b..1107228 100644 --- a/content/posts/2017-08-11-simple-iot-application.md +++ b/content/posts/2017-08-11-simple-iot-application.md | |||
| @@ -5,6 +5,17 @@ date: 2017-08-11 | |||
| 5 | draft: false | 5 | draft: false |
| 6 | --- | 6 | --- |
| 7 | 7 | ||
| 8 | **Table of contents** | ||
| 9 | |||
| 10 | 1. [Initial thoughts](#initial-thoughts) | ||
| 11 | 2. [Simple Python API](#simple-python-api) | ||
| 12 | 1. [Basic web application](#basic-web-application) | ||
| 13 | 2. [Web application security](#web-application-security) | ||
| 14 | 3. [Simple API for writing data-points](#simple-api-for-writing-data-points) | ||
| 15 | 3. [Sending data to API with Arduino MKR1000](#sending-data-to-api-with-arduino-mkr1000) | ||
| 16 | 4. [Data visualization](#data-visualization) | ||
| 17 | 5. [Conclusion](#conclusion) | ||
| 18 | |||
| 8 | ## Initial thoughts | 19 | ## Initial thoughts |
| 9 | 20 | ||
| 10 | I have been developing these kind of application for the better part of my last 5 years and people keep asking me how to approach developing such application and I will give a try explaining it here. | 21 | I have been developing these kind of application for the better part of my last 5 years and people keep asking me how to approach developing such application and I will give a try explaining it here. |
diff --git a/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md b/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md index a4fd1d7..4f00f21 100644 --- a/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md +++ b/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | |||
| @@ -5,6 +5,24 @@ date: 2019-01-03 | |||
| 5 | draft: false | 5 | draft: false |
| 6 | --- | 6 | --- |
| 7 | 7 | ||
| 8 | **Table of contents** | ||
| 9 | |||
| 10 | 1. [Initial thoughts](#initial-thoughts) | ||
| 11 | 2. [Glossary](#glossary) | ||
| 12 | 3. [Data encoding](#data-encoding) | ||
| 13 | 4. [Quick history of DNA](#quick-history-of-dna) | ||
| 14 | 5. [What is DNA?](#what-is-dna) | ||
| 15 | 6. [Encode binary data into DNA sequence](#encode-binary-data-into-dna-sequence) | ||
| 16 | 1. [Basic Encoding](#basic-encoding) | ||
| 17 | 2. [FASTA file format](#fasta-file-format) | ||
| 18 | 3. [PNG encoded DNA sequence](#png-encoded-dna-sequence) | ||
| 19 | 7. [Encoding text file in practice](#encoding-text-file-in-practice) | ||
| 20 | 8. [Toolkit for encoding data](#toolkit-for-encoding-data) | ||
| 21 | 1. [dnae-encode](#dnae-encode) | ||
| 22 | 2. [dnae-png](#dnae-png) | ||
| 23 | 9. [Benchmarks](#benchmarks) | ||
| 24 | 10. [References](#references) | ||
| 25 | |||
| 8 | ## Initial thoughts | 26 | ## Initial thoughts |
| 9 | 27 | ||
| 10 | Imagine a world where you could go outside and take a leaf from a tree and put it through your personal DNA sequencer and get data like music, videos or computer programs from it. Well, this is all possible now. It was not done on a large scale because it is quite expensive to create DNA strands but it's possible. | 28 | Imagine a world where you could go outside and take a leaf from a tree and put it through your personal DNA sequencer and get data like music, videos or computer programs from it. Well, this is all possible now. It was not done on a large scale because it is quite expensive to create DNA strands but it's possible. |
diff --git a/content/posts/2021-01-25-goaccess.md b/content/posts/2021-01-25-goaccess.md index ba1e10c..549f9da 100644 --- a/content/posts/2021-01-25-goaccess.md +++ b/content/posts/2021-01-25-goaccess.md | |||
| @@ -7,10 +7,13 @@ draft: false | |||
| 7 | 7 | ||
| 8 | **Table of contents** | 8 | **Table of contents** |
| 9 | 9 | ||
| 10 | 1. [Opting for log parsing](#opting-for-log-parsing) | 10 | 1. [Introduction](#introduction) |
| 11 | 2. [Getting Nginx ready](#getting-nginx-ready) | 11 | 2. [Opting for log parsing](#opting-for-log-parsing) |
| 12 | 3. [Getting GoAccess ready](#getting-goaccess-ready) | 12 | 3. [Getting Nginx ready](#getting-nginx-ready) |
| 13 | 4. [Securing with Basic authentication](#securing-with-basic-authentication) | 13 | 4. [Getting GoAccess ready](#getting-goaccess-ready) |
| 14 | 5. [Securing with Basic authentication](#securing-with-basic-authentication) | ||
| 15 | |||
| 16 | ## Introduction | ||
| 14 | 17 | ||
| 15 | I know! You cannot simply replace Google Analytics with parsing access logs and displaying a couple of charts. But to be honest, I actually never used Google Analytics to the fullest extent and was usually interested in seeing page hits and which pages were visited most often. | 18 | I know! You cannot simply replace Google Analytics with parsing access logs and displaying a couple of charts. But to be honest, I actually never used Google Analytics to the fullest extent and was usually interested in seeing page hits and which pages were visited most often. |
| 16 | 19 | ||
diff --git a/content/posts/2021-12-03-debian-based-riced-up-distribution-for-developers.md b/content/posts/2021-12-03-debian-based-riced-up-distribution-for-developers.md index 5981392..365f632 100644 --- a/content/posts/2021-12-03-debian-based-riced-up-distribution-for-developers.md +++ b/content/posts/2021-12-03-debian-based-riced-up-distribution-for-developers.md | |||
| @@ -5,6 +5,19 @@ date: 2021-12-03 | |||
| 5 | draft: false | 5 | draft: false |
| 6 | --- | 6 | --- |
| 7 | 7 | ||
| 8 | **Table of contents** | ||
| 9 | |||
| 10 | 1. [Introduction](#introduction) | ||
| 11 | 2. [How should I approach this?](#how-should-i-approach-this) | ||
| 12 | 3. [Desktop environments](#desktop-environments) | ||
| 13 | 4. [Batteries included](#batteries-included) | ||
| 14 | 1. [Docker recipe](#docker-recipe) | ||
| 15 | 2. [Making bash pretty](#making-bash-pretty) | ||
| 16 | 5. [Conclusion](#conclusion) | ||
| 17 | |||
| 18 | |||
| 19 | ## Introduction | ||
| 20 | |||
| 8 | I have been using [Ubuntu](https://ubuntu.com/) for quite a longtime now. I have used [Debian](https://www.debian.org/) in the past and [Manjaro](https://manjaro.org/). Also had [Arch](https://archlinux.org/) for some time and even ran [Gentoo](https://www.gentoo.org/) way back. | 21 | I have been using [Ubuntu](https://ubuntu.com/) for quite a longtime now. I have used [Debian](https://www.debian.org/) in the past and [Manjaro](https://manjaro.org/). Also had [Arch](https://archlinux.org/) for some time and even ran [Gentoo](https://www.gentoo.org/) way back. |
| 9 | 22 | ||
| 10 | What I learned from all this is that I prefer running a bit older versions and having them be stable than run bleeding edge rolling release. For that reason, I stuck with Ubuntu for a couple of years now. I am also at a point in my life where I just don't care what is cool or hip anymore. I just want a stable system that doesn't get in my way. | 23 | What I learned from all this is that I prefer running a bit older versions and having them be stable than run bleeding edge rolling release. For that reason, I stuck with Ubuntu for a couple of years now. I am also at a point in my life where I just don't care what is cool or hip anymore. I just want a stable system that doesn't get in my way. |
| @@ -149,7 +162,7 @@ This is some of the output from the installation script. | |||
| 149 | Let's take a look at some examples in the installation script. | 162 | Let's take a look at some examples in the installation script. |
| 150 | 163 | ||
| 151 | 164 | ||
| 152 | ##### Docker recipe | 165 | #### Docker recipe |
| 153 | 166 | ||
| 154 | ```sh | 167 | ```sh |
| 155 | # docker | 168 | # docker |
| @@ -166,7 +179,7 @@ systemctl status docker --no-pager | |||
| 166 | /sbin/usermod -aG docker $USERNAME | 179 | /sbin/usermod -aG docker $USERNAME |
| 167 | ``` | 180 | ``` |
| 168 | 181 | ||
| 169 | ##### Making bash pretty | 182 | #### Making bash pretty |
| 170 | 183 | ||
| 171 | I really like [Oh My Zsh](https://ohmyz.sh/), but I don't like zsh shell. When I used it, I constantly needed to be aware of it and running bash scripts was a pain. So, I was really delighted when I found out that a version for bash existed called [Oh My Bash](https://ohmybash.nntoan.com/). Let's take a look at the recipe for installing it. | 184 | I really like [Oh My Zsh](https://ohmyz.sh/), but I don't like zsh shell. When I used it, I constantly needed to be aware of it and running bash scripts was a pain. So, I was really delighted when I found out that a version for bash existed called [Oh My Bash](https://ohmybash.nntoan.com/). Let's take a look at the recipe for installing it. |
| 172 | 185 | ||
