Snippets.page

Code snippets, tips, how-tos

Author: Veesar

  • Proton Unlimited vs Google One

    Proton Mail has recently rebranded itself as Proton and now provides a suite of services (apps) instead of you having to subscribe to their mail and VPN services à la carte. While testing out their apps, this package reminded me of Google One and this post is a comparison of the two in terms of […]

    Read more

  • How to set up ad-blocking on Android

    Set up system-wide ad-blocking on your Android device with Blokada. Firefox on Android supports some add-ons – one of them being the excellent uBlock Origin. uBlock Origin uses hosts lists to provide ad-blocking in Firefox. A hosts-list is essentially a large list of URLs that websites and apps connect to to serve ads or track […]

    Read more

  • List of detective fiction authors from the early 1900s

    Popular mystery writers from the first half of the twentieth century. Anthony Berkeley Arthur Morrison Austin Freeman Cyril Hare Dorothy L Sayers E. C. Bentley Freeman Wills Crofts G. K. Chesterton John Rhode Michael Innes Ngaio Marsh Philip MacDonald

    Read more

  • How cost-effective is the Ather 450X compared to the TVS NTorq

    The Ather 450X is a performance oriented electric scooter while the TVS NTorq is also marketed as a performance scooter. This is a simple comparison of the two purely in terms of cost. Scooter Cost – Ex-showroom Delhi Cost per km* Ather 450X ₹138,006 ₹0.18 TVS NTorq Race XP ₹89,211 ₹2.02 * Assuming petrol cost […]

    Read more

  • Access your Android device over SSH with Termux

    Set up SSH access to your Android mobile device over LAN using Termux. Termux is an Android app that provides terminal emulation and access to Linux packages. With Termux you can install OpenSSH and set up an SSH server on Android. You can install Termux from F-Droid. After installing: Open the Termux app and update […]

    Read more

  • Backup & Sync options for Google Drive Desktop explained

    Configure Google Drive Desktop to backup folders selectively or mirror your entire drive onto your computer. Google Drive for Desktop provides multiple options to sync/backup. The options can help you save space on your computer and backup your photos. Sync selected folders from your computer to Google Drive Open Preferences on Google Drive Desktop Go […]

    Read more

  • Clone an app with Azure PowerShell

    Create an exact copy of an existing app including files using PowerShell. Azure portal provides an option to create additional deployment slots for your app to use for staging. This creates a copy of your app which you can publish to for testing and when you’re ready, swap this slot with the production slot. This […]

    Read more

  • Fix HTML not working in Hugo

    By default, Hugo does not render HTML (and JavaScript). So you can’t use HTML tags in the markdown files. To enable this, change the following setting in config.yml: If your theme uses TOML or JSON, you can get instructions for these here. Shortcode to open links in new tab If HTML rendering is enabled in […]

    Read more

  • Install Pi-hole on WSL2 and use externally with Tailscale

    Use your devices with Pi-hole when not connected to your LAN. Pi-hole is normally configured on your router or on a separate device on your LAN (e.g., Raspberry Pi) so that all devices connected to your LAN (Wi-Fi) can use it. But this doesn’t help when you’re not connected to your home network. To use […]

    Read more

  • Install Nextcloud on WSL2 and access anywhere with Tailscale

    Install Nextcloud on WSL2 and access anywhere with Tailscale

    Installing Nextcloud on WSL2 Nextcloud requires Apache server, PHP and MariaDB to run. You can install the required packages using the Linux package manager in WSL2. This guide assumes that you have Ubuntu installed on WSL2 but the steps are the same for other distros, only the installation commands will differ. Install the required LAMP […]

    Read more