From 2f5ea5f4982d6276881c9a3342ed8847ebc7d326 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 5 Aug 2023 12:09:37 +0200 Subject: Moved assets to posts --- content/pages/curriculum-vitae.md | 2 +- .../2017-03-07-golang-profiling-simplified.md | 4 +-- ...ng-python-web-applications-with-visual-tools.md | 6 ++--- content/posts/2017-08-11-simple-iot-application.md | 10 ++++---- ...digitalocean-spaces-object-storage-with-fuse.md | 12 ++++----- ...01-03-encoding-binary-data-into-dna-sequence.md | 12 ++++----- ...g-sentiment-analysis-for-clickbait-detection.md | 4 +-- .../2020-03-22-simple-sse-based-pubsub-server.md | 8 +++--- content/posts/2020-09-06-esp-and-micropython.md | 2 +- content/posts/2020-09-08-bind-warning-on-login.md | 2 +- .../posts/2021-01-24-replacing-dropbox-with-s3.md | 2 +- content/posts/2021-01-25-goaccess.md | 4 +-- content/posts/2021-06-26-simple-world-clock.md | 6 ++--- ...n-based-riced-up-distribution-for-developers.md | 18 ++++++------- ...021-12-25-running-golang-application-as-pid1.md | 6 ++--- .../2021-12-30-wap-mobile-web-before-the-web.md | 4 +-- .../posts/2022-06-30-trying-out-helix-editor.md | 2 +- ...22-07-05-what-would-dna-sound-if-synthesized.md | 30 +++++++++++----------- .../2022-08-13-algae-spotted-on-river-sava.md | 12 ++++----- ...10-06-state-of-web-technologies-in-year-2022.md | 4 +-- ...hat-sound-that-machine-makes-when-struggling.md | 2 +- .../2023-05-22-crafting-stories-in-zed-editor.md | 4 +-- content/posts/2023-08-05-floods-in-slovenia.md | 12 ++++----- 23 files changed, 84 insertions(+), 84 deletions(-) (limited to 'content') diff --git a/content/pages/curriculum-vitae.md b/content/pages/curriculum-vitae.md index 250a6ec..f768d58 100644 --- a/content/pages/curriculum-vitae.md +++ b/content/pages/curriculum-vitae.md @@ -17,7 +17,7 @@ draft: false
-![](/assets/cv/avatar.gif) +![](/posts/cv/avatar.gif)
diff --git a/content/posts/2017-03-07-golang-profiling-simplified.md b/content/posts/2017-03-07-golang-profiling-simplified.md index ee3a210..f0821c5 100644 --- a/content/posts/2017-03-07-golang-profiling-simplified.md +++ b/content/posts/2017-03-07-golang-profiling-simplified.md @@ -121,6 +121,6 @@ go tool pprof -pdf ./cpu cpu.pprof > cpu.pdf This will generate PDF document with visualized profile. -- [Memory PDF profile example](/assets/go-profiling/golang-profiling-mem.pdf) -- [CPU PDF profile example](/assets/go-profiling/golang-profiling-cpu.pdf) +- [Memory PDF profile example](/posts/go-profiling/golang-profiling-mem.pdf) +- [CPU PDF profile example](/posts/go-profiling/golang-profiling-cpu.pdf) diff --git a/content/posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md b/content/posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md index d1cea7c..8617abe 100644 --- a/content/posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md +++ b/content/posts/2017-04-21-profiling-python-web-applications-with-visual-tools.md @@ -21,7 +21,7 @@ If you are using MacOS you should check out [Profiling Viewer](http://www.profilingviewer.com/) or [MacCallGrind](http://www.maccallgrind.com/). -![KCachegrind](/assets/python-profiling/kcachegrind.png) +![KCachegrind](/posts/python-profiling/kcachegrind.png) We will be dividing this post into two main categories: @@ -146,7 +146,7 @@ will be using Profilling Viewer under MacOS. You can open image in new tab. As you can see from this example there is hierarchy of execution order of your code. -![Profilling Viewer](/assets/python-profiling/profiling-viewer.png) +![Profilling Viewer](/posts/python-profiling/profiling-viewer.png) > Make sure you convert output of the cProfile output every time you want to refresh and take a look at your possible optimizations because cProfile updates @@ -177,7 +177,7 @@ $ snakeviz awesome_random_number.prof # shows visualized profile ``` -![SnakeViz](/assets/python-profiling/snakeviz.png) +![SnakeViz](/posts/python-profiling/snakeviz.png) Reddit user [ccharles](https://www.reddit.com/user/ccharles) suggested a better way for installing pip software by targeting user level instead of using sudo. diff --git a/content/posts/2017-08-11-simple-iot-application.md b/content/posts/2017-08-11-simple-iot-application.md index 00a7802..e31ac55 100644 --- a/content/posts/2017-08-11-simple-iot-application.md +++ b/content/posts/2017-08-11-simple-iot-application.md @@ -50,7 +50,7 @@ to API and another to serving HTML with chart. Schema below represents what we will try to achieve and how different parts correlates to each other. -![Overview](/assets/iot-application/simple-iot-application-overview.svg) +![Overview](/posts/iot-application/simple-iot-application-overview.svg) ## Simple Python API @@ -218,12 +218,12 @@ available via POST method on /api route. After testing the service with Restlet Client you should be able to view your data in a database file ```data.db```. -![REST settings example](/assets/iot-application/iot-rest-example.png) +![REST settings example](/posts/iot-application/iot-rest-example.png) You can also check the contents of new database file by using desktop client for SQLite → [DB Browser for SQLite](http://sqlitebrowser.org/). -![SQLite database example](/assets/iot-application/iot-sqlite-db.png) +![SQLite database example](/posts/iot-application/iot-sqlite-db.png) Table structure is as simple as it can be. We have ts (timestamp) and value (value from Arduino). As you can see timestamp is generated on API side. If you @@ -585,10 +585,10 @@ every 5 seconds. If you navigate to ```http://0.0.0.0:5000``` you should see rendered chart as shown on picture below. -![Application output](/assets/iot-application/iot-app-output.png) +![Application output](/posts/iot-application/iot-app-output.png) Complete application with all the code is available for -[download](/assets/iot-application/simple-iot-application.zip). +[download](/posts/iot-application/simple-iot-application.zip). ## Conclusion diff --git a/content/posts/2018-01-16-using-digitalocean-spaces-object-storage-with-fuse.md b/content/posts/2018-01-16-using-digitalocean-spaces-object-storage-with-fuse.md index d2fa558..5ba7b64 100644 --- a/content/posts/2018-01-16-using-digitalocean-spaces-object-storage-with-fuse.md +++ b/content/posts/2018-01-16-using-digitalocean-spaces-object-storage-with-fuse.md @@ -55,7 +55,7 @@ Instuctions on how to use SSH keys and how to setup them are available in article [How To Use SSH Keys with DigitalOcean Droplets](https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets). -![DigitalOcean Droplets](/assets/do-fuse/fuse-droplets.png) +![DigitalOcean Droplets](/posts/do-fuse/fuse-droplets.png) After we created Droplet it's time to create new Space. This is done by clicking on a button [Create](https://cloud.digitalocean.com/spaces/new) (right top @@ -68,7 +68,7 @@ key](https://cloud.digitalocean.com/settings/api/tokens). This link will guide to the page when you can generate this key. After you create new one, please save provided Key and Secret because Secret will not be shown again. -![DigitalOcean Spaces](/assets/do-fuse/fuse-spaces.png) +![DigitalOcean Spaces](/posts/do-fuse/fuse-spaces.png) Now that we have new Space and Access key we should SSH into our machine. @@ -147,7 +147,7 @@ please send me your data. I would be interested in seeing results. **Here are plotted results** -You can download [raw result here](/assets/do-fuse/copy-benchmarks.tsv). +You can download [raw result here](/posts/do-fuse/copy-benchmarks.tsv). Measurements are in seconds. @@ -155,7 +155,7 @@ Measurements are in seconds.