Skip to content

Instantly share code, notes, and snippets.

View xiaklizrum's full-sized avatar
:shipit:

Oleg Shtanko xiaklizrum

:shipit:
  • Pravo Tech
  • Khabarovsk, Russia
  • 08:30 (UTC +10:00)
  • X @xiaklizrum
View GitHub Profile
@xiaklizrum
xiaklizrum / .xmodmapcustom
Created March 12, 2021 01:24
Xmodmap mod buttons swap: left alt and super (option and command)
remove Mod1 = Alt_L
remove Mod4 = Super_L
keysym Alt_L = Super_L
keysym Super_L = Alt_L
add Mod1 = Alt_L
add Mod4 = Super_L
@xiaklizrum
xiaklizrum / alacritty.yml
Created September 28, 2020 02:55
Ambience color scheme for Alacritty
# Colors (Ambience)
colors:
# Default colors
primary:
background: '#000000'
foreground: '#ffffff'
# Normal colors
normal:
black: '#2e3436'
@xiaklizrum
xiaklizrum / reset.sh
Last active March 13, 2025 17:59
Reset jetbrains intellij idea 2020 30-day evaluation period
# linux
rm -rf ~/.config/JetBrains/IntelliJIdea*/eval/*.evaluation.key ~/.config/JetBrains/IntelliJIdea*/options/other.xml ~/.java/.userPrefs/jetbrains/idea
# mac os
rm ~/Library/Application\ Support/JetBrains/IntelliJIdea*/eval/*.evaluation.key ~/Library/Application\ Support/JetBrains/IntelliJIdea*/options/other.xml ~/Library/Preferences/jetbrains.idea.* ~/Library/Preferences/com.apple.java.util.prefs.plist
@xiaklizrum
xiaklizrum / rpi.sh
Created November 24, 2019 14:03
Arch Linux ARM for Raspberry Pi 3
cd /home/user/
fdisk /dev/mmcblk0
rm -rf boot
rm -rf root
mkfs.vfat /dev/mmcblk0p1
mkdir boot
mount /dev/mmcblk0p1 boot
mkfs.ext4 /dev/mmcblk0p2
mkdir root
mount /dev/mmcblk0p2 root
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": false,
"show_profile_name_in_menu_bar": false
},
"profiles": [{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
@xiaklizrum
xiaklizrum / settings.json
Last active January 5, 2025 13:26
vscode settings
{
"editor.bracketPairColorization.enabled": false,
"editor.formatOnSave": false,
"editor.largeFileOptimizations": false,
"editor.minimap.enabled": false,
"editor.rulers": [
80
],
"editor.scrollBeyondLastLine": false,
"editor.unicodeHighlight.ambiguousCharacters": false,