Wednesday, March 31, 2021

Saving an image or file to MongoDB GridFS using Lua

Install the following packages
$: sudo apt install lua5.3
$: sudo apt install luarocks
$: sudo apt install libbson-dev
$: sudo apt install libmongoc-dev
$: sudo apt install liblua5.3-dev
$: sudo luarocks install lua-mongo

Then save image like below:

No comments:

Installing TigerVNC in Ubuntu 24.04

Installing TigerVNC in Ubuntu 24.04 Ubuntu 24.04 supports RPD protocol but it behaves in a way that is not fit for my needs. The Desktop Sh...