Redirect to mailto

May 30, 2022 | Tags: HTML web TIL

I created an internal redirect app to manage redirects inside the website so I could handle them in the admin/database, However, I soon discovered that sending a redirect response pointing to some mailto:<mail address> did not work!

[Read more]

AWS cloud init logs

May 30, 2022 | Tags: AWS TIL

When a new instance is created, if there is any script running as the instance starts the output/logs of the running commands will go on /var/log/cloud-init-output.log.

[Read more]

Tmux syncronize panes

May 30, 2022 | Tags: tmux dev-tools TIL

I have been using tmux for a couple of years or so at this point daily. And today I learnt about a very cool option called syncronize-panes. What this will do is send whatever you type in one pane to be sent to the other pane. Why is this useful? Well, in the video I saw this used was used to compare the execution of a script running with two different python versions. But other than that, I have no idea. I will have to think about this and see how I can take advantage of this.

[Read more]

Website Architecture

Sept. 22, 2021 | Tags: python design

This website has been under constant changes essentially since I first created it. I used it as a playground to learn different aspects of web development and web design. First, it was a simple flask application developed in flask and deployed in an rpi0 by pulling the git repo every time I wanted to do changes and using linux services to run the web server. Later on, I containerised it and deployed with docker. Then migrated it to Django. More recently I started using tailwindcss to manage CSS instead of rolling my own. This really was a gamechanger and offered a lot more flexibility in order to write new pages for this website.

[Read more]

First ever blog post!

Aug. 21, 2021 | Tags: python django sqlite

For a while I have been wanting to have a blog to be able to share things I learn during my webdev journey. Creating a website and deploying it was one of the first steps in that direction back in 2019, before I joined Red Points. It was a very simple (well, still is) flask website with jinja2 templates and some data passed for the urls and so on. After I learned Django at Shalion, I decided to move from Flask to Django to have more capabilities moving forward and since I really like Django it was a perfect way to be able to have a small project to test packages and so on.

[Read more]
1 2 3 4