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
| { | |
| "timeStamp": 1764339026966, | |
| "version": "1.67.0", | |
| "userSettings": { | |
| "importedLists": [], | |
| "popupPanelSections": 31, | |
| "suspendUntilListsAreLoaded": true | |
| }, | |
| "selectedFilterLists": [ | |
| "user-filters", |
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
| { | |
| CapabilityFileSharing: "https://tailscale.com/cap/file-sharing", | |
| CapabilityAdmin: "https://tailscale.com/cap/is-admin", | |
| CapabilityOwner: "https://tailscale.com/cap/is-owner", | |
| // feature enabled/available | |
| CapabilitySSH: "https://tailscale.com/cap/ssh", | |
| // some SSH rule reach this node | |
| CapabilitySSHRuleIn: "https://tailscale.com/cap/ssh-rule-in", | |
| // feature enabled |
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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # How to use: | |
| # Look at network requests for s0/tiles, then first number is latitude, second is longitude. | |
| [[ $# -ne 5 ]] && { echo "Usage: $0 <dir> <lat_start> <lat_end> <lon_start> <lon_end>"; exit 1; } | |
| dir="$1" | |
| lat_start="$2" | |
| lat_end="$3" |
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
| #!/usr/bin/env bash | |
| pushd "/nix/var/nix/profiles" > /dev/null | |
| function gen-to-num() { | |
| if [[ "$1" =~ system-([0-9]+)-link ]]; then | |
| echo "${BASH_REMATCH[1]}" | |
| fi | |
| } |
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-Content -Path .\Display.Driver\* -Filter "lib*" -Verbose |
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
| mountvol S: /S | |
| Get-ChildItem S:\EFI\Microsoft\Boot -Filter '??-*' | Where-Object Name -CNE 'en-US' | Remove-Item -Recurse | |
| mountvol S: /D |
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
| # Go to https://www.jetbrains.com/updates/updates.xml | |
| # Look for your app, remember <code> and product slug from jetbrains.com/SLUG/download | |
| # First build (latest) take fullNumber | |
| # Find a <patch from= with fullFrom of installed build | |
| # Download patch like this: https://download-cdn.jetbrains.com/SLUG/CODE-OLDFULL-NEWFULL-patch-win.jar | |
| # Don't use JBR java; repace install dir | |
| java -cp YOUR-PATCH-FILE.jar com.intellij.updater.Runner install --no-backup "C:\Program Files\JetBrains\APP NAME" |
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
| #![allow(static_mut_refs)] | |
| use windows::core::BOOL; | |
| use windows::Win32::Foundation::*; | |
| use windows::Win32::System::Console::*; | |
| #[derive(Debug, Clone, Copy, PartialEq, Eq)] | |
| pub enum Event { | |
| None, | |
| CtrlC, |
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
| using namespace System.Security.Principal | |
| if (-Not ([WindowsPrincipal] [WindowsIdentity]::GetCurrent()).IsInRole([WindowsBuiltInRole]::Administrator)) { | |
| Start-Process PowerShell -Verb RunAs -ArgumentList "-NoProfile -File `"$PSCommandPath`"" | |
| Exit | |
| } | |
| $id = "0cb3b571-2f2e-4343-a879-d86a476d7215" | |
| mountvol X: /s # EFI Partition |
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/bash | |
| [ "$EUID" -ne 0 ] && echo "This script must be ran as root!" && exit 1 | |
| system=$(settings list system) | |
| secure=$(settings list secure) | |
| global=$(settings list global) | |
| read -p "Press Enter after changing settings..." |
NewerOlder