- Install Msys2 from msys2.org
- Complete the steps and open Msys2
- Update package databases
pacman -Syu - Update rest of base packages
pacman -Su - Using UCRT64 as the recommended environment, install Mingw-w64
pacman -S $MINGW_PACKAGE_PREFIX-{toolchain,ntldd}
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
| SELECT CONCAT(@@version_comment, ' ', @@VERSION) AS serverVersion, | |
| COALESCE( | |
| (SELECT GLOBAL_VALUE | |
| FROM information_schema.SYSTEM_VARIABLES | |
| WHERE VARIABLE_NAME = 'block_encryption_mode'), 'N/A') AS algo; |
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
| <# | |
| .SYNOPSIS | |
| Convert a bitmap (BMP/PNG/JPG etc.) into a valid .ico file with proper ICO headers. | |
| .DESCRIPTION | |
| Builds a correct ICO structure: | |
| - ICONDIR (6 bytes) | |
| - N x ICONDIRENTRY (16 bytes each) | |
| - Image blobs, each consisting of: |
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
| # This is a PowerShell script designed to be used with FFMPEG to encode videos for hls. | |
| # The duration calculation for .mov files is intended to account for videos recorded via iOS whose timelines | |
| # seem to have a large, continuous block of frames at the beginning whose PTS values are unusable for segmentation | |
| sl $PSScriptRoot | |
| $myMovie = Read-Host -Prompt 'Path to movie: ' | |
| $ext = (Get-Item $myMovie).Extension.ToLower() | |
| $isMov = $ext -eq ".mov" |
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
| WIFI:T:<encryption>;S:<SSID>;P:<password>;H:<hidden>;; |
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
| function generateGUID() { | |
| return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { | |
| const r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8); | |
| return v.toString(16); | |
| }); | |
| } |
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
| sudo update-locale LANG="en_US.UTF-8" LC_TIME="en_IE.UTF-8 |
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
| 83, 97, 108, 116, 101, 100, 95, 95 | |
| 0x53, 0x61, 0x6C, 0x74, 0x65, 0x64, 0x5F, 0x5F | |
| U2FsdGVkX18= | |
| openssl enc -d -aes-256-cbc -md md5 -a -in <(echo "gcnum") |
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
| <!-- | |
| You can create a shortcut with a CLSID key (GUID) by adding either command below in front of the CLSID key (GUID). | |
| Sometimes the shortcut will only work using one and not the other command below. | |
| For example: | |
| explorer shell:::{CLSID key} | |
| OR |
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
| Windows note: In a native Windows environment lacking previous development setup, clang may necessitate the installation of | |
| the MSVC Build Tools from the VS C++ Workload due to dependencies on rust-lld. | |
| Dependencies to build Ruffle desktop on Ubuntu: | |
| * libasound2-dev | |
| * libxcb-shape0-dev | |
| * libxcb-xfixes0-dev | |
| * libgtk-3-dev *libssl-dev | |
| * libxcb-xinput-dev | |
| * libxcb-xkb-dev |
NewerOlder