Category: Programming

  • How to Fix Broken JSON from LLM Quickly and Easily!

    How to Fix Broken JSON from LLM Quickly and Easily!

    If you’ve ever wrestled with broken JSON data from LLMs, you know how frustrating it can be 😫. Checkout JSON Repair 🛠️, a Python module by Stefano Baccianella, that’s here to save the day! 🌟 This library is specifically crafted to fix invalid JSON, making it perfect for anyone working with LLM outputs 🤖 or…

  • How to Understand JavaScript Basics in 10 Minutes

    How to Understand JavaScript Basics in 10 Minutes

    This is the basics of JavaScript, the secret sauce that makes your web pages more interactive. We’re going to cover the key topics so you won’t end up in a coding coma—because who has the time for an exhausting lecture when there’s so much internet to explore? 1. What is JavaScript? Your Web Development Sidekick…

  • How to SSH with ProxyJump in Linux

    How to SSH with ProxyJump in Linux

    Secure Shell (SSH) is a widely used protocol for remotely connecting to a computer system, typically over a network. It provides encrypted communication and authentication to ensure secure access to a remote machine. In this article, we will discuss how to SSH with ProxyJump in Linux. ProxyJump is a feature in OpenSSH which allows you…

  • How to Replace String in Files without Text Editor in Linux

    How to Replace String in Files without Text Editor in Linux

    As a Linux user, it’s important to know how to modify text files through the command line. One common scenario is changing a single line in a text file, such as enabling or disabling a feature. But what if the OS doesn’t have any text editor installed at all? In this tutorial, we’ll cover how…

  • How to Do Buffer Overflow Attack on 64bit Machine

    How to Do Buffer Overflow Attack on 64bit Machine

    Professor’s course material was out of date. He made an example of a buffer overflow attack several years ago. Then here I am, asked to fix the code to work on a modern machine, 64bit Kali Linux. There should be no difference with other Linux; you can practice this on any 64bit Linux machine. Prerequisite…

  • Problem When Building Old OpenSSL Version on The New System

    Problem When Building Old OpenSSL Version on The New System

    The old OpenSSL seems to have a problem when built using a newer system. I got this problem when compiling OpenSSL 1.1.0f on my Ubuntu 22.04. For example in my case here the problem is in line 17 on Configure file and the line were like this: Some people tried changing the lines with qw/glob/…

  • 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…

  • Now I Understand: What is Oblivious RAM?

    Now I Understand: What is Oblivious RAM?

    ORAM is the acronym of an Oblivious Random-Access Machine. The main idea is to hide the access patterns from attackers. For example, when a client tries to access data stored in the server, the server cannot gain any information about the user access pattern. Imagine data storage, where each data is inside a block, and…

  • 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…