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 doContinue reading “Installing Arch on Dell Inspiron 15-5000”
Author Archives: Teshan Shanuka J
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 useContinue reading “Some bash copy pasta”
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, IContinue reading “Matlab in Jupyter notebook”
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 scriptsContinue reading “A minimal python packaging example”
Some Google Colab tips
Google Colab is amazing! But sometimes it’s not easy to do everything in it that you can do on you PC. Here’s some tips and workarounds to do your frequently needed stuff in Colab Mounting your drive for file access Read/ edit files From the directory icon near the top left, you get a fileContinue reading “Some Google Colab tips”
Cross compiling ROS melodic for aarch64
I cross-compiled ROS for aarch64 to use it on a Jetson nano/tx2 Overview I started with this old repository which was for ROS indigo for armhf. Many cross compilation scripts were readily adaptable for melodic. However some needed a bit of tweaking My cross compilation scripts are available in this repo which is a forkContinue reading “Cross compiling ROS melodic for aarch64”
Cloning a Jetson nano
I needed to get a clone of a Jetson nano in which I have some software installed Get the device to recovery mode First the device needs to be connected in the USB recovery mode. This forum post says you need to jump both reset and recovery pins, but I only needed the reset pinContinue reading “Cloning a Jetson nano”