These settings will give you PowerShell-like history completion in bash using ble.sh.
History completions will be displayed in grey, press UP-ARROW or F8 to accept the completion and ENTER.
To cancel a completion, press CTRL-K or DOWN-ARROW.
| # This requires localadmin and pwsh/winps as your ssh shell. | |
| function global:sudo { | |
| $cmd = [management.automation.invocationinfo].getproperty('ScriptPosition', | |
| [reflection.bindingflags] 'instance, nonpublic').getvalue($myinvocation).text -replace '^\s*sudo\s*','' | |
| ssh localhost -- "sl '$(get-location)'; $cmd" | |
| } |
These settings will give you PowerShell-like history completion in bash using ble.sh.
History completions will be displayed in grey, press UP-ARROW or F8 to accept the completion and ENTER.
To cancel a completion, press CTRL-K or DOWN-ARROW.
| # 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 |
| --- 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 |
| ## arrow up | |
| "\e[A":history-search-backward | |
| ## arrow down | |
| "\e[B":history-search-forward |
| 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 |
| #!/bin/sh | |
| set -e | |
| OPWD=$(pwd) | |
| mkdir -p ~/source/repos | |
| cd ~/source/repos | |
| if ! [ -d wxWidgets ]; then |
| 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 |
| --- 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) |
| 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.. |