Monday, March 29, 2021

Cross Compile Modern C++, 2X Faster and Cleaner with Docker

Setting up Cross Compilation Tool Chain on your Development Box for Modern C++, is not easy and could easily pollute or break the system.

However, Docker and Qemu User space Emulation will make these tasks a lot more simpler and faster.

Refer a sample implementation in this GitHub Page.

image

 

image

image

Tuesday, March 16, 2021

Run Your Pi (RaspberryPi) with 16GB Of RAM !

Enable your Pi to boot from a good quality SSD (Solid State Drive).
Enable Swap file, and configure it to grow between 8-16 GB.

Your Pi is now ready to take, much demanding use cases !

image

  

Components Used:

PowerBank-1 (Two 2.4A Out), powering
   Raspberry Pi2
   120GB SSD (Enables Virtual Memory of 16GB for Pi)

PowerBank-2 (Two 2.4A Out), powering
    Router (Used as Wifi Extender – Optional*)
    USB FAN (To maintain the Pi’s temp between 40-42C)