Tag: linux

  • How to Access SOM9331 Serial Console in Linux

    How to Access SOM9331 Serial Console in Linux

    I got this old hackable mini router board. It comes with OpenWRT but I can’t seem to connect this via USB Serial. It turns out that the driver is not installed. Installation is quick but there is a minor change needed in order to build the driver on a recent kernel. So will write here…

  • How to Enable HTTPS on Your Apache Ubuntu Web Server

    How to Enable HTTPS on Your Apache Ubuntu Web Server

    I thought this is an easy task, but after searching for various ways on the internet, it is not as simple as I imagined. There are many ways to enable HTPPS on your web server depending on what server software is used, the operating system, and where the server is running. In my case, I…

  • How to Run Linux on RISCV in Arty A7-100T FPGA

    How to Run Linux on RISCV in Arty A7-100T FPGA

    It’s been tempting for me to try running open-source software on top of open-source hardware. SiFive provides a bitstream for Arty A7 called Freedom, but it seems that the repository is dead now. The other interesting alternative to try is VexRiscv, and everyone keeps posting about Arty A7 35T while I only have the 100T…

  • How to Cut and Download Youtube Videos using Command Line

    How to Cut and Download Youtube Videos using Command Line

    In some of my free time, I am actively using Instagram, not to show off or seeing people’s life that I don’t even care about. For me, this social media is perfect for everyday reminders for positive feeds. Usually, people choose a youtube video at the best moment, then re-post it on Instagram as a…

  • Git Pristine: How to Pristine Clean Your Dirty Git Repository

    Git Pristine: How to Pristine Clean Your Dirty Git Repository

    I found this command useful and I love this alias! git pristine, a command that will wipe any dirt on your local git copy, any untracked files, and the cache will be removed to make it pristine clean as the remote origin.

  • My Quick Ways to Auto Format Code in VSCode

    I don’t have much time to format my code to looks neat in VSCode (Ctrl + Shift + I), but the default formatting from Visual Code is not efficient for me. It makes the first bracket on function placed alone in one line. This makes my code longer!

  • How to Start a Fresh Raspberry Pi without Monitor

    I mean using SSH because HDMI, mouse, keyboard, and monitor will eat up the whole space in my desk. Prepare the Raspberry Pi OS Firstly we need to get our microSD card with bootable Raspberry Pi OS. I recommend using Raspberry Pi Imager to make this process easier. We just need 3 steps, download the…

  • How to Fix Raspberry Pi SSH Hangs or Not Responding

    I just set up a Raspberry PI 4 Model B in the laboratory to automatically connect to the lab’s router. I found that each random minutes the SSH is hangs and not responding.