Advanced Search
Search Results
8 total results found
Notes
Random technical essays
Useful Tools
Brave Web Browser : Refreshingly clean interface. Feels fast and light. scrcpy : Mirror your Android phone to Ubuntu. Useful for mobile app demos. Easy to setup if adb is already running. ClearURLs : Firefox extension. Removes all tracking information from b...
Flutter change app icon
Go to https://icon.kitchen and design your icon. Select Circle shape. Download and unzip. In the mipmap-xxxhdpi directory under android rename the largest file to icon.png. Then copy this file to the flutter app images directory. Under dev_dependencies in p...
Documentation
A key factor of any successful business, documentation is often overlooked. Documentation requires regular effort else it quickly stagnates, becomes outdated and irrelevant. A good documentation system can make all the difference since it revolves around the...
Winston logging to OpenObserve
Centralized logging for Node.js apps. Install OpenObserve. Installation is simply downloading and unzipping the single binary. OpenObserve runs externally by default with no option to change this behavior, so you may need a firewall to restrict the access. ...
Shell script to setup a new VPS
The shell script below can be used to setup a new VPS running Ubuntu. It performs the following actions: Create a new ssh username and password. Disables root login. Disables swap. Installs Docker. Creates a few alias commands for the user. #!/bin/sh...
Gmail SMTP with app passwords
We can use a regular Gmail account for sending a limited number of SMTP emails daily. This is sufficient for small apps or testing. This can be setup to use a separate, generated app password instead of your regular email password, which offers better securi...
Ubuntu, NGINX, PHP, SQLite
Install NGINX: sudo apt-get update -y sudo apt-get upgrade -y sudo apt-get install nginx -y Verify NGINX is running: sudo systemctl status nginx ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/syste...