Skip to content

Instantly share code, notes, and snippets.

View vchavkov's full-sized avatar

Vladimir Chavkov vchavkov

View GitHub Profile
@vchavkov
vchavkov / autoyast.xml
Created January 22, 2025 23:50 — forked from ofrzeta/autoyast.xml
Minimal Autoyast installation file for OpenSuse Tumbleweed
<?xml version="1.0"?>
<!DOCTYPE profile>
<profile
xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<general>
<mode>
<confirm config:type="boolean">false</confirm>
<second_stage config:type="boolean">false</second_stage>
</mode>
@vchavkov
vchavkov / fork.md
Created October 29, 2024 18:25 — forked from twni2016/fork.md
How to fork a public repo into a private repo (support pull request)

Disclaimer

Following the fantastic answer

What we want?

There is a public repo we want to fork, but we want to make our forked repo private, and also can make a pull request to the public repo.

Setup

Basic idea: we create a public forked repo as usual, but serving as an agent.

@vchavkov
vchavkov / aws_az_list.md
Created September 17, 2024 13:23 — forked from karstenmueller/aws_az_list.md
List of AWS availability zones for each AWS region

AWS Regions

Region Code Region Name Availability Zones
us-east-1* N. Virginia us-east-1a us-east-1b us-east-1c us-east-1d us-east-1e
us-east-2 Ohio us-east-2a us-east-2b us-east-2c
us-west-1* N. California us-west-1a us-west-1b us-west-1c
us-west-2 Oregon us-west-2a us-west-2b us-west-2c
eu-west-1 Ireland eu-west-1a eu-west-1b eu-west-1c
eu-central-1 Frankfurt eu-central-1a eu-central-1b
@vchavkov
vchavkov / nerd-fonts-complete-windows.bat
Created June 16, 2024 09:52 — forked from bioluks/nerd-fonts-complete-windows.bat
Install all Nerd Fonts on Windows, using scoop. You will obviously need scoop (https://scoop.sh) and git on your Windows setup before executing this script, for now.
powershell -command "scoop bucket add nerd-fonts"
powershell -command "scoop install nerd-fonts/Monocraft-Nerd-Font nerd-fonts/Delugia-Mono-Nerd-Font nerd-fonts/Delugia-Nerd-Font nerd-fonts/Delugia-Nerd-Font-Book nerd-fonts/Delugia-Nerd-Font-Complete nerd-fonts/Delugia-Mono-Nerd-Font-Complete nerd-fonts/3270-NF-Mono nerd-fonts/Agave-NF-Mono nerd-fonts/AnonymousPro-NF-Mono nerd-fonts/Arimo-NF-Mono nerd-fonts/AurulentSansMono-NF-Mono nerd-fonts/BigBlueTerminal-NF-Mono nerd-fonts/BitstreamVeraSansMono-NF-Mono nerd-fonts/CascadiaCode-NF-Mono nerd-fonts/CodeNewRoman-NF-Mono nerd-fonts/ComicShannsMono-NF-Mono nerd-fonts/Cousine-NF-Mono nerd-fonts/DaddyTimeMono-NF-Mono nerd-fonts/DejaVuSansMono-NF-Mono nerd-fonts/DroidSansMono-NF-Mono nerd-fonts/FantasqueSansMono-NF-Mono nerd-fonts/FiraCode-NF-Mono nerd-fonts/FiraMono-NF-Mono nerd-fonts/Gohu-NF-Mono nerd-fonts/Hack-NF-Mono nerd-fonts/Hasklig-NF-Mono nerd-fonts/HeavyData-NF-Mono nerd-fonts/Hermit-NF-Mono nerd-fonts/IBMPlexMono-NF-Mono nerd-fonts/Inconsolata-NF-Mono n
@vchavkov
vchavkov / nerd-font-in-chromeos-terminal.md
Created February 18, 2024 08:52 — forked from izzqz/nerd-font-in-chromeos-terminal.md
How to setup JetBrains Mono Nerd Font with ligatures to use is inside crostini terminal #guide

Setup Nerd Fonts in Chrome OS terminal

⚠️ This seems outdated and does not work for the latest version of ChromeOS. But feel free to try.

Setup

Press Ctr + Shift + j to open devtools console in crostini terminal.

Paste this to use Jetbrais Mono with ligatures:

term_.prefs_.set('font-family', 'JetBrains Mono Nerd Font, monospace');
@vchavkov
vchavkov / linux-cli-utilities.txt
Last active April 23, 2023 10:22
Linux cli utilities
task execution
==============
1. just
2. htop
3. btop
4. entr - file watcher
dot files management
===================
1. chezmoi
@vchavkov
vchavkov / nerd_fonts.sh
Created November 19, 2022 07:44 — forked from davidteren/nerd_fonts.md
Install Nerd Fonts via Homebrew [updated & fixed]
# Nerd Fonts for your IDE
# https://www.nerdfonts.com/font-downloads
brew tap homebrew/cask-fonts && brew install --cask font-3270-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-fira-mono-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-inconsolata-go-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-inconsolata-lgc-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-inconsolata-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-monofur-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-overpass-nerd-font
@vchavkov
vchavkov / chromeosvpn.md
Created June 8, 2022 13:19 — forked from pkutzner/chromeosvpn.md
Create ChromeOS VPN connection.

Creating an OpenVPN Configuration for ChromeOS

This assumes you already have an OpenVPN server set up that you'll be connecting to. OpenVPN server setup is not covered in this document.

NOTE: ChromeOS is VERY picky about adherance to the ONC filespec (second ref. link). If an option is marked as an integer, and you surround it in quotes, import of the file will fail silently. Booleans (true and false) seem to be an exception wherein you can either wrap, or not, the boolean value in quotes without it failing ¯\_(ツ)_/¯.

References:

ChromeOS supports both L2TP and OpenVPN VPN connections. However, adding an OpenVPN connection, other than a really basic one, is non-trivial, as many options are missing from the GUI; things such as setting the Cipher or the Auth types, setting CompLZO, or any myriad nonstandard