Blog

Welcome to my blog

Hi, I’m Teshan. An electronics/robotics engineer. I started this blog as a notepad for my future self. If something here helped you, feel free to leave a comment. Cheers!

Installing Arch on Dell Inspiron 15-5000

I have been wanting to try arch for a long time but I haven’t had a personal laptop for a long time. So here’s what I went through to get Arch Linux up and running in my new Dell Inspiron 15-5000. Installation Download arch Make a live USB bycat path/to/archlinux-version-x86_64.iso > /dev/sdx(Make sure to do…

Some bash copy pasta

When you’re a programmer, you often need some scripting. But you always have to google because you don’t remember it all. Here’s some stuff I often need copy pasting from stackoverflow, gathered into one place For loop Loop with step Loop through decimal numbers Bash only supports integer arithmetic. So you would need to use…

Matlab in Jupyter notebook

Matlab is one of the worst languages ever despite of having many invaluable features [1][2]. Previously I have had used Matlab about 5 years ago and recently needed it again. MathWorks has tried to incorporate a Jupyter notebook like feature called live scripts into Matlab. While Jupyter notebook being really useful for interactive coding, I…

A minimal python packaging example

Python is one of the best programming languages ever. However, when your python project gets bigger with multiple packages and files, some things can get tricky. One is importing from different packages from different locations. I’ve had this problem and could not find a good solution without doing appending unimportable packages’ paths to the scripts…

Something went wrong. Please refresh the page and/or try again.

Get new content delivered directly to your inbox.

Design a site like this with WordPress.com
Get started