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
# Script to remove the GRUB environment file, resetting the default GRUB entry | |
# to what is usually the user's latest Linux kernel. | |
$grubenv = 'z:/grub/grubenv' | |
# Relaunch as an elevated process. | |
if (-not ([security.principal.windowsprincipal] [security.principal.windowsidentity]::getcurrent() ` | |
).isinrole([security.principal.windowsbuiltInrole]::administrator) ` | |
) { | |
$pwsh = [system.diagnostics.process]::getcurrentprocess().mainmodule.filename |
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
--- glib-original/meson.build 2023-05-31 01:05:34 | |
+++ glib/meson.build 2023-05-31 04:32:57 | |
@@ -2103,6 +2103,8 @@ | |
libintl_deps = [] | |
libintl_prefix = '#include <libintl.h>' | |
libintl = dependency('intl', required: false, allow_fallback: false) | |
+libiconv = dependency('iconv', required: false) | |
+mac_cf = dependency('appleframeworks', modules: ['CoreFoundation'], required: false) | |
if libintl.found() | |
# libintl supports different threading APIs, which may not |
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
## arrow up | |
"\e[A":history-search-backward | |
## arrow down | |
"\e[B":history-search-forward |
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
git clone https://github.com/visualboyadvance-m/visualboyadvance-m | |
cd visualboyadvance-m | |
./installdeps | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_BUILD_TYPE=Debug -G Ninja | |
ninja | |
gdb --args ./visualboyadvance-m /path/to/rom.gba |
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/sh | |
set -e | |
OPWD=$(pwd) | |
mkdir -p ~/source/repos | |
cd ~/source/repos | |
if ! [ -d wxWidgets ]; then |
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
07-04 23:51 <Crocodillian> ok, so let me explain a bit | |
07-04 23:51 <Crocodillian> if you don't mind | |
07-04 23:51 <blank> Okay. | |
07-04 23:53 <Crocodillian> sorry had to pee | |
07-04 23:53 <Crocodillian> have you used chroots for anything before? | |
07-04 23:53 <Crocodillian> or bsd jails | |
07-04 23:54 <blank> Nope. | |
07-04 23:55 <Crocodillian> so a chroot is when you open a shell in a directory that becomes the whole linux system in that shell | |
07-04 23:55 <blank> Yes, I remember that much. | |
07-04 23:56 <Crocodillian> it still runs on the same kernel, but it's kind of analagous to a virtual machine |
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
--- glib-original/meson.build 2022-09-05 07:38:33.000000000 +0000 | |
+++ glib/meson.build 2022-09-10 15:22:47.000000000 +0000 | |
@@ -2091,7 +2091,9 @@ | |
# FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible | |
# implementations. This could be extended if issues are found in some platforms. | |
libintl_deps = [] | |
-libintl = dependency('intl', required: false) | |
+libintl = dependency('intl', required: false) | |
+libiconv = dependency('iconv', required: false) | |
+mac_cf = dependency('appleframeworks', modules : ['CoreFoundation'], required: false) |
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
Hi Mr. Waterman, | |
I forgot to mention a couple of things, and it seems my letter did not go | |
through. I would like to meet with you for a minute at your office to hand you | |
the printout of my previous letter and this one. | |
First thing is that they edit all of my communications and often block them | |
entirely. A message I may want to send on an internet channel may not go through | |
or be edited. An email I may want to send may not go through at all or be edited | |
in order to offend the receiving party or delete information etc.. |
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
ttf() { | |
if [ -z "$1" ]; then | |
echo >&2 Please specify CD number | |
return 1 | |
fi | |
_cd_num=$1 | |
set -- | |
_dir=$(echo ~/Music/Tunnel*/*_${_cd_num}-*) |
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
$erroractionpreference = 'stop' | |
if (-not (new-object security.principal.windowsprincipal( | |
[security.principal.windowsidentity]::getcurrent() | |
)).isinrole([security.principal.windowsbuiltinrole]::administrator)) { | |
write-error "Must be elevated." | |
} | |
$bash = resolve-path /tools/msys64/usr/bin/bash.exe |