This file contains hidden or 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
| #! /bin/bash | |
| # save this script to a file, e.g. "linux-mint-version.sh" | |
| # make it executable with "chmod +x linux-mint-version.sh" | |
| # run the script with "./linux-mint-version.sh" | |
| linux_mint_version=$(cat /etc/lsb-release | grep DESCRIPTION | awk -F= '{print $2}' | tr -d '"') | |
| codename=$(cat /etc/os-release | grep UBUNTU_CODENAME | awk -F= '{print toupper(substr($2,1,1)) substr($2,2)}') |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
| <title>BlazorWasmGame1</title> | |
| <base href="./" /> | |
| <link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" /> | |
| <link href="css/app.css" rel="stylesheet" /> |
This file contains hidden or 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
| using System; | |
| using System.IO; | |
| using Microsoft.Xna.Framework; | |
| using Microsoft.Xna.Framework.Graphics; | |
| using SixLabors.ImageSharp; | |
| using SixLabors.ImageSharp.Formats.Gif; | |
| using SixLabors.ImageSharp.PixelFormats; | |
| namespace GifRecorderMG | |
| { |
This file contains hidden or 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
| /* | |
| HotSwap shader sytem for MonoGame | |
| HotSwap code only exists for debug builds | |
| Edit paths to match your project | |
| Construct in your Initialize method | |
| Add shaders in LoadContent (or whenever) | |
| Call CheckForChanges in Update() or periodically however you like | |
| mgcb.exe usually located in C:\Program Files (x86)\MSBuild\MonoGame\v3.0\Tools | |
| */ |