You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Phil Lembo
plembo
Enterprise Architect, sysadmin, identity management engineer now focused on collaboration solutions for a global Fortune 200 company.
It's important to keep up with the documentation and bug reports in this, especially with regard to the versions of node.js and npm that will work with a given solution. There is presently no uniformity in this area. The notes below reflect the current (as of 14 Nov 2021) state of play as I understand it.
Some notes on why you shouldn't plan on doing much SharePoint Framework development on Linux:
Some projects may require dependencies, like PowerShell modules, that cannot run on Linux. In particular, the SharePoint Online Management Shell and related modules will only run on Windows (on PowerShell 5, as admin, and not at all on PowerShell 7+). The same is true of the [PowerShell modules for Power Platform](https://docs.microsoft.co
This steps and links provided in this gist are significantly outdated (having been created in 2020) and should not be followed. I will look into updating them when time permits.
Introduction
Raspberry Pi OS is a Debian Linux derivative for the Raspberry Pi. "KVM" is a native open source virtual machine management service for Linux workstations and servers that leverages QEMU and libvirt. There are a variety of recipes for getting Raspberry Pi OS guest virtual machine up and running on KVM. Having tried many of these, this is the one I now use. Tested on Ubuntu 18.04 LTS Desktop, with all that implies (YMMV).
This is a "just for fun" project that I don't expect to make serious use of. With several actual Pi boards around the workshop, being able to reliably run on an emulator isn't really a major need.
Anyone who has worked with QEMU on libvirtd even a little while gets to know the qemu-img utility pretty well. What users of KVM may not know
about is virt-resize.
Say you want to add 30 GB of space to the disk for a virtual machine. How do you "grow" the virtual disk?
Easy, use qemu-img resize:
I use pandoc to convert masses of Word documents to markdown. Still working on a generic script, but for now
here's the "gist" of what I type into the terminal:
My home backup solution is simple and unsophisticated: Select parts of host filesystems (like home and configuration directories) are copied to a file server using rsync, to later be mirrored to cloud storage using rclone. This process has been in place for many years with the main change over time being the cloud storage used. Originally that was Google Cloud Storage, later on AWS S3. Part of the deal when you get hooked up with Google Fiber is 1 TB of free Google Drive storage.
Google Drive has been known to have relatively low transfer rates and a number of other restrictions that make it less than ideal as a backup solution. But with a little effort it may work. Here is the basic command I use to sync a given folder between my server and Google Drive (see the doc for configuring rclone for Google Drive).
In these examples "drive:" is the rclone remote name for my Google Drive, and "
Using GitHub Pages with a custom domain: Namecheap Edition
As often happens, I found the official documentation and forum answers to be "close, but no cigar", and so had to experiment a little to get things working.
The main problem for me was a lack of concrete configuration examples. That's not entirely GitHub's fault: having migrated from Google Domains to Namecheap in the middle of this project, I was once again reminded of how many different ways there are to do things in the name service universe [1].
Although you'd think the simplest setup would be to merely configure for the subdomain case (https://www.example.com), in my experience using the apex domain (https://example.com) instead resulted in fewer complications.
Procedure
So here's my recipe for using a custom domain with GitHub pages where Namecheap is the DNS provider: