Skip to content

Instantly share code, notes, and snippets.

View FelikZ's full-sized avatar

Alexey Shevchenko FelikZ

View GitHub Profile
@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],

@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).
@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 \
@GetVladimir
GetVladimir / Force-RGB-Color-on-M1-Mac.md
Last active October 23, 2025 06:02
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.

@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:

@rmcdongit
rmcdongit / macOS_SytemPrefs.md
Last active October 27, 2025 05:07
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
@FelikZ
FelikZ / fix_compose.sh
Created April 3, 2018 09:02
Fix docker compose using python pip
#!/bin/bash
pip uninstall docker-py
pip uninstall docker-compose
pip install --upgrade --force-reinstall --no-cache-dir docker-compose

от Али-Бабы и разбойников, к лье под водой и к вархаммеру

Давайте я сразу скажу - речь пойдет о биткоинах. При этом не буду вас агитировать за или против - это вообще не мое дело. Я просто расскажу вам о своем отношении к этому феномену и мифам вокруг него.

Для начала стоит сказать, что я не рассматриваю биткоин как валюту. Это не средство, которое заменит кредитные карты или ежедневные расчеты - для этого есть lightning network и другие средства децентрализации. Для меня биткоин - это актив, максимально похожий на золото во всех его проявлениях, кроме физического присутствия. Биткоины добывают, причем, чем больше биткоинов люди уже добыли, тем сложнее добывать дальше. Количество биткоинов, которые вообще можно будет добыть и пустить в оборот, фиксировано. Обмен биткоинами происходит “из рук в руки”. Хранить биткоины не трудно, затратно только получить или передать их. Замените “биткоины” на “золото” - каждое из этих заявлений так же будет действительно.

Поведение “золотых с

@mikoim
mikoim / README.md
Last active October 2, 2025 02:55
[Updated! Aug 14 2020] YouTube recommended encoding settings on ffmpeg (+ libx264)

Parameters

Container: MP4

Parameter YouTube recommends setting
-movflags faststart moov atom at the front of the file (Fast Start)

Video codec: H.264