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
/// | |
/// !!! Outdated - Not working with current aliexpress version !!! | |
/// | |
// ==UserScript== | |
// @name Aliexpress fix locale | |
// @description Fix Aliexpress country and currency settings | |
// @icon https://www.aliexpress.com/favicon.ico | |
// @version 1 | |
// @grant none | |
// @match https://*.aliexpress.com/* |
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/python3 | |
# | |
# Command line GoogleAuthentificator for linux | |
# | |
# pip3 install pyperclip | |
# pip3 install pyotp | |
# | |
import pyperclip | |
import pyotp |
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 | |
# | |
# Description: Advanced file finder plugin for awesome NNN file manager | |
# | |
# Features: | |
# - Predefined commands selection menu | |
# - History of unique commands | |
# | |
# Requires: bash, fzf, [fd] | |
# |
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
1 #!/bin/bash | |
2 # | |
3 # JSON data provider for waybar custom/locale plugin | |
4 # | |
5 | |
6 makejson() { | |
7 sed $1 -e 's@^.*English.*$@{ "text": "En", "tooltip": "English (US)", "class": "lang_en", "percentage": 0 }@' \ | |
8 ┊ -e 's@^.*Russian.*$@{ "text": "Ru", "tooltip": "Russian", "class": "lang_ru", "percentage": 0 }@' \ | |
9 ┊ -e 's@^.*Ukrainian.*$@{ "text": "Uk", "tooltip": "Ukrainian", "class": "lang_uk", "percentage": 0 }@' | |
10 } |
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
# https://linux.101hacks.com/cd-command/cdpath/ | |
export CDPATH=~/.config/nnn/bookmarks | |
if [[ "$XDG_SESSION_TYPE" == "tty" ]] | |
then | |
export GUI=0 | |
export BROWSER=elinks | |
else | |
export GUI=1 | |
export BROWSER=firefox |
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/zsh | |
# | |
# Autodetect CPU signature, download corresponding Intel microcode | |
# and cook initrd image from it | |
# | |
# https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/secure-coding/loading-microcode-os.html | |
repo_url="https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files" | |
ucodes_url="$repo_url/raw/main/intel-ucode" | |
release_url="$repo_url/blob/main/intel-ucode" | |
fwimg="hostcpu-intel-ucode.img" |