| IPv4 Addr | IPv6 Addr | ASn | Political Region | Loc | Svc | Org |
|---|---|---|---|---|---|---|
| 8.8.8.8 | 2001:4860:4860::8888 | AS15169 | US | Worldwide (Anycast) | Google Public DNS | |
| 8.8.4.4 | 2001:4860:4860::8844 | AS15169 | US | Worldwide (Anycast) | Google Public DNS | |
| 1.1.1.1 | 2606:4700:4700::1111 | AS13335 | US | Worldwide (Anycast) | Cloudflare-DNS | Cloudflare/APNIC |
| 1.0.0.1 | 2606:4700:4700::1001 | AS13335 | US | Worldwide (Anycast) | Cloudflare-DNS | Cloudflare/APNIC |
| 95.85.95.85 | 2a03:90c0:999d::1 | AS199524 | EU | *W |
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
| //0x4f0 bytes (sizeof) | |
| struct HAL_PRIVATE_DISPATCH | |
| { | |
| ULONG Version; //0x0 | |
| struct _BUS_HANDLER* (*HalHandlerForBus)(enum _INTERFACE_TYPE arg1, ULONG arg2); //0x8 | |
| struct _BUS_HANDLER* (*HalHandlerForConfigSpace)(enum _BUS_DATA_TYPE arg1, ULONG arg2); //0x10 | |
| VOID (*HalLocateHiberRanges)(VOID* arg1); //0x18 | |
| LONG (*HalRegisterBusHandler)(enum _INTERFACE_TYPE arg1, enum _BUS_DATA_TYPE arg2, ULONG arg3, enum _INTERFACE_TYPE arg4, ULONG arg5, ULONG arg6, LONG (*arg7)(struct _BUS_HANDLER* arg1), struct _BUS_HANDLER** arg8); //0x20 | |
| VOID (*HalSetWakeEnable)(UCHAR arg1); //0x28 | |
| LONG (*HalSetWakeAlarm)(ULONGLONG arg1, ULONGLONG arg2); //0x30 |
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.
To change the default terminal, you can modify the /usr/bin/i3-sensible-terminal file:
- for terminal in "$TERMINAL" x-terminal-emulator mate-terminal gnome-terminal terminator xfce4-terminal urxvt rxvt termit Eterm aterm uxterm xterm roxterm termite lxterminal terminology st qterminal lilyterm tilix terminix konsole kitty guake tilda alacritty hyper wezterm; do
+ for terminal in "$TERMINAL" kitty alacritty x-terminal-emulator mate-terminal gnome-terminal terminator xfce4-terminal urxvt rxvt termit Eterm aterm uxterm xterm roxterm termite lxterminal terminology st qterminal lilyterm tilix terminix konsole kitty guake tilda alacritty hyper wezterm; do
if command -v "$terminal" > /dev/null 2>&1; then
exec "$terminal" "$@"
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
| # Put this into your PS profile, execute from cmd.exe: | |
| # notepad.exe %USERPROFILE%\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 | |
| # notepad.exe %USERPROFILE%\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 | |
| # Because there is never enough Telemetry ... | |
| function Telefucktry-Optout() { | |
| # powershell telemetry | |
| [System.Environment]::SetEnvironmentVariable("POWERSHELL_CLI_TELEMETRY_OPTOUT","1","Machine") | |
| [System.Environment]::SetEnvironmentVariable("POWERSHELL_CLI_TELEMETRY_OPTOUT","1","User") | |
| [System.Environment]::SetEnvironmentVariable("POWERSHELL_TELEMETRY_OPTOUT","1","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
| # IMPORTANT! | |
| # This gist has been transformed into a github repo | |
| # You can find the most recent version there: | |
| # https://github.com/Neo23x0/auditd | |
| # ___ ___ __ __ | |
| # / | __ ______/ (_) /_____/ / | |
| # / /| |/ / / / __ / / __/ __ / | |
| # / ___ / /_/ / /_/ / / /_/ /_/ / | |
| # /_/ |_\__,_/\__,_/_/\__/\__,_/ |
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
| /* | |
| * Shamelessly copied from: https://nuetzlich.net/errno.html | |
| * Linux error numbers, straight from the horse's mouth. | |
| * Kernel source: errno-base.h errno.h linux/errno.h | |
| * | |
| */ | |
| #define EPERM 1 /* Operation not permitted */ | |
| #define ENOENT 2 /* No such file or directory */ | |
| #define ESRCH 3 /* No such process */ |
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
| # assuming sdkman is installed in default location: $HOME/.sdkman | |
| # grep selects only from INSTALLED candidates | |
| # | |
| # add to your .zshrc or .zshrc.local or save it as use-jdk.zsh and | |
| # load it on init with 'source ~/PATH/TO/SCRIPT/use-jdk.zsh' | |
| function use-jdk() { | |
| FUNCS=$(functions sdk); | |
| sdk ls java | grep installed | grep -Po "\|\s\d+.*|" | gawk '{ print $8 }' | fzf -e | xargs -I{} zsh -c "eval $FUNCS; . ~/.sdkman/bin/sdkman-init.sh; sdk default java {}" | |
| } |
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
| ! clear all level 1-5 key modifiers | |
| clear Mod5 | |
| clear Mod4 | |
| clear Mod3 | |
| clear Mod2 | |
| clear Mod1 | |
| ! clear current control key modifiers | |
| clear Control |
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
| [[ ! -v ${MAKEFLAGS} ]] && MAKEFLAGS="--jobs=$(nproc)" || MAKEFLAGS+=" --jobs=$(nproc)" | |
| ./configure --download=all \ | |
| --debug \ | |
| --fully-static \ | |
| --gdb --with-intl=small-icu \ | |
| --v8-options="$(./node --v8-options | grep -P "harmony|future" | gawk {' print $1 '} | tr -s '\n' ' ' | xargs)" | |
| make |
NewerOlder