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
A note on receivng build errors related to WASM | |
I resolved this by cleaning up the environment with various permutations of the following: | |
cargo uninstall wasm-bindgen-cli (the primarily offending crate) | |
cargo clean (to delete the target folder entirely | |
npm clean-install (from the web directory of the master source code) | |
The main thing post-cleanup is to make sure that whatever version of wasm-bindgen-cli was used in the master branch's binding is the one that gets reinstalled before running npm run bootstrap and npm run build again. As of this writing, the last version used was 0.2.69. (cargo install wasm-bindgen-cli --version 0.x.x) |
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
# Dual Boot Pop!_OS with Windows using systemd-boot | |
### The ultimate guide for any combination | |
**EXTREMEY SHORT TL:DR**: If you know what you're doing - The absolute quickest: | |
1. ```sudo apt install os-prober``` | |
2. ```sudo os-prober```. The output is ```/dev/sdb1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi``` | |
3. ```sudo mount /dev/sdb1 /mnt``` (you can find your drive in the first part of the os-prober's output) | |
4. ```sudo cp -ax /mnt/EFI/Microsoft /boot/efi/EFI``` (you can find the folder after the word ```efi``` in os-prober's output. It's always ```Microsoft``` but you need capital ```EFI``` when copying. | |
5. Reboot. Spam your spacebar for the menu. Select with arrows, add timeout with "t" or reduce with "T" (+/- also work), select default with "d". Hold "l" to boot linux after POST or "w" to boot Windows after POST without visiting the menu. |
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
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 | |
* libxcb-cursor-dev* | |
* default-jre-headless | |
* cmake |
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
Joins in T-SQL are optimized such that one table is loaded into memory while the other is dumped to disk. |
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
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
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); | |
}); | |
} |