Snippets.page

Code snippets, tips, how-tos

Tag: windows

  • 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

  • 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

  • Install Tailscale on WSL2

    Install Tailscale on WSL2

    Tailscale is your own personal VPN that opens up a lot of possibilities. A private VPN gives you access to all your devices even when you’re not connected to the same local network. Tailscale gives your device a “static” IP that you can use to connect to it from anywhere. This lets you set up […]

    Read more

  • Fix OneNote’s Quick Notes sync

    Fix Quick Notes sync across Windows, Android and iOS. One reason for sync issues is because OneNote uses different default locations for the Quick Notes section on different platforms. The default Quick Notes in desktop creates and uses a notebook which is stored in UserProfile/Documents/OneNote Notebooks. This notebook may not be synced to your Microsoft […]

    Read more

  • Start WSL cron in a hidden window

    Enable cron to run without asking for password Normally running sudo service cron start in WSL will ask for the sudo password. This is an issue when we want to run cron from the script below. To fix this, we need to enable cron service to run without asking for the password by adding it […]

    Read more

  • Dual boot Zorin OS and Windows 10

    Zorin OS is a user-friendly version of Linux that you can install and try if you are new to Linux. Download the Zorin OS .iso file Create a bootable USB (Installation USB) from the .iso file using balenaEtcher Plugin the USB and restart Windows Go to boot menu when Windows is restarting. Press F12 until […]

    Read more