Generating Huge String Buffer in Bash

The below bash script could be used to generate a file of a particular size (here 20MB) with some random strings. #!/bin/bash wanted_size=$((1024*1024*20)) #20MB File function gen_file() { file_size=$(( ((wanted_size/12)+1)*12…

Continue Reading Generating Huge String Buffer in Bash

Compiling Navit for Linux with Qt5

Install the dependencies sudo apt-get install libqt5sensors5-dev libqt5svg5-private-dev qt5-default libsdl-image1.2-dev libdevil-dev libglc-dev freeglut3-dev libxmu-dev libfribidi-dev libglc-dev freeglut3-dev libgl1-mesa-devClone the Navit Git repo Clone the Navit Repo. git clone https://github.com/navit-gps/navit Compile…

Continue Reading Compiling Navit for Linux with Qt5