Skip to content

Instantly share code, notes, and snippets.

View FelikZ's full-sized avatar

Alexey Shevchenko FelikZ

View GitHub Profile
@rmcdongit
rmcdongit / macOS_SytemPrefs.md
Last active December 31, 2025 17:02
Apple System Preferences URL Schemes

macOS 10.15 System Preference Panes

Below are a list of System Preference pane URLs and paths that can be accessed with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard and display any available anchors:

tell application "System Preferences"
	set CurrentPane to the id of the current pane
	set the clipboard to CurrentPane
@jesugmz
jesugmz / solve-load-pubkey-id_rsa-invalid-format.md
Last active December 2, 2022 23:35
Solve load pubkey "/root/.ssh/id_rsa": invalid format

OpenSSH 8.3p1 introduces the need of having a public SSH key otherwise is gonna show the warning

load pubkey "/root/.ssh/id_rsa": invalid format

# ssh -V
OpenSSH_8.3p1, OpenSSL 1.1.1g  21 Apr 2020

To supress this message we can put in place our SSH public key or generate it from our private key with:

@GetVladimir
GetVladimir / Force-RGB-Color-on-M1-Mac.md
Last active December 27, 2025 06:03
Force RGB Color on M1 Mac

Force RGB Color on M1 Mac

How to Force RGB Color Output instead of YPbPr on your M1 Apple Silicon Mac for an External Monitor.

This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac.

Force RGB Color on M1 Mac

Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4

The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.

@FelikZ
FelikZ / how-to-update-java-jre.md
Last active October 21, 2021 14:20
Update Trader Workstation java version (IBKR) interactive brokers MacOS / OSX / Mac (tested on Monterey)
  1. Install latest java from java.com
# Make current JRE backup
mv /Users/$USER/Applications/Trader\ Workstation/.install4j/jre.bundle/Contents/Home/jre \
 /Users/$USER/Applications/Trader\ Workstation/.install4j/jre.bundle/Contents/Home/jre.bak

# Link fresh installed java to workstation
ln -sf \
 /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home \
@JeanOlivier
JeanOlivier / Caps_lock_is_ESC.reg
Created April 4, 2024 14:24
Windows 10/11 registry modification to replace Caps Lock by Escape
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,01,00,3a,00,00,00,00,00
; Data = 00000000 00000000 0200000000 01003A00 00000000
; 0x00000000 Header: Version. Set to all zeroes.
; 0x00000000 Header: Flags. Set to all zeroes.
; 0x00000002 Two entries in the map (including null entry).
@MicahZoltu
MicahZoltu / ruling-english.md
Last active May 16, 2024 13:36
Alexey Court Ruling

Judgment

COURT OF EAST BRABANT
Location 's-Hertogenbosch
Criminal Law
Docket Number: 82.198261.22.
Date of judgment: May 14, 2024.
Judgment of the East Brabant court, multiple chamber for the handling of criminal cases, in the case against:

[defendant],