NOTE: Links are provided for reference purposes only; no product or vendor endorsement is expressed or implied
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Reference-Assembly($Name) { | |
[void] [System.Reflection.Assembly]::LoadWithPartialName($Name) | |
} | |
Reference-Assembly System.Windows.Forms | |
Reference-Assembly System.Drawing | |
function Decode-IconGraphic { | |
$encodedIcon = " | |
AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAgAAAAA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
site :opscode | |
cookbook 'apt' | |
cookbook 'mysql' |
I hereby claim:
- I am xenolinguist on github.
- I am xenolinguist (https://keybase.io/xenolinguist) on keybase.
- I have a public key ASDOAFakXBZGzXg9qstD2VqFVytSNl8L4X5gPphkz8tcTgo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static T LoadJsonFromResource<T>(string resourceName) where T: class | |
{ | |
using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName)) | |
{ | |
if (stream == null) return null; | |
using (var sr = new StreamReader(stream)) | |
{ | |
using (var reader = new JsonTextReader(sr)) | |
{ |
n.b. You'll likely need 3D Hardware Acceleration in order to make screen resizing work without making the VM freeze or become unstable; this seemed to be the case Under Virtualbox 7, however enabling 3D acceleration there causes the VM to hard-crash the hypervisor (or at least the VM instance) during boot. I was eventually able to successfully create a usable VM in both UTM and VMWware Fusion.
- Download the latest ARM64 Ubuntu Server installer ISO and use it to install Ubuntu Server with no workloads selected.
sudo apt update
sudo apt -y upgrade