Skip to content

Instantly share code, notes, and snippets.

View ferr0's full-sized avatar

Alexander ferr0

View GitHub Profile
@AlexVlan
AlexVlan / gist:f5217a2064359e0004ff3a492a8b7fd0
Created September 30, 2024 15:08
redos-7.ks.pkrtpl.hcl
# Generated by Anaconda 33.25.4
# Generated by pykickstart v3.30
#version=F33
# url --url https://repo1.red-soft.ru/redos/7.3/x86_64/os/
# repo --name="Updates" --baseurl='https://repo1.red-soft.ru/redos/7.3/x86_64/updates/'
# repo --name="Extras" --baseurl='https://repo1.red-soft.ru/redos/7.3/x86_64/extras/'
# Repositories
url --url=https://repo1.red-soft.ru/redos/7.3/x86_64/os
# ,https://mirror.yandex.ru/redos/7.3/x86_64/os,http://repo.red-soft.ru/redos/7.3/x86_64/os
packer {
required_version = ">= 1.7.0"
required_plugins {
qemu = {
version = "~> 1.0"
source = "github.com/hashicorp/qemu"
}
}
}
@rothgar
rothgar / talos-root.sh
Created April 10, 2024 23:57
Get a "host" shell on Talos Linux
#!/usr/bin/env bash
if ! command -v kubectl &>/dev/null; then
echo "kubectl not be found"
exit 1
fi
if ! command -v fzf &>/dev/null; then
echo "fzf not be found"
exit 1
fi

Arch install with encrypted BTRFS (LUKS2), GRUB e AwesomeWM

My notes with the steps to install Arch Linux with encrypted BTRFS (LUKS2) and GRUB.

If you stumbled upon this document looking for a guide to install Arch Linux, I recommend checking the official installation guide on the Arch Linux Wiki: https://wiki.archlinux.org/title/Installation_guide. This is not a guide, just some notes that I'm taking while trying this setup and getting fragments of information from the internet.

@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active October 27, 2025 16:43
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@fullmetalbrackets
fullmetalbrackets / oh-my-posh-install.md
Created July 13, 2023 07:34
Quick Guide - Install Oh-My-Posh in Windows Terminal or PowerShell with winget

Pre-Requisites

This guide will use the winget CLI tool to install and configure Oh-My-Posh. If you haven't already, I suggest installing Windows Terminal from the Microsoft Store and use Oh-My-Posh with it. If you'd rather not use Windows Terminal for some reason, you can still use Oh-My-Posh with PowerShell. Whichever you choose, check out these instructions to install winget.


Install Oh-My-Posh

winget install JanDeDobbeleer.OhMyPosh -s winget
@cristaloleg
cristaloleg / golangci.yaml
Created March 28, 2023 07:01
Go linters configuration, the right version.
# See: https://olegk.dev/go-linters-configuration-the-right-version
run:
# Depends on your hardware, my laptop can survive 8 threads.
concurrency: 8
# I really care about the result, so I'm fine to wait for it.
timeout: 30m
# Fail if the error was met.
@UnitedWithCode
UnitedWithCode / terminal-setup.md
Created September 27, 2022 07:34 — forked from MarcHeiden/terminal-setup.md
Setting up a decent looking Windows Terminal with Oh-my-Posh that works with WSL and integrate it in VSCode and IntelliJ

Setting up a decent looking Windows Terminal with Oh-my-Posh that works with WSL and integrate it in VSCode and IntelliJ

This is a briefly summary of what I did to set up my Windows Terminal for Powershell on the Windows side and Zsh on the WSL(Ubuntu) side and integrate it in VSCode and IntelliJ.

powershell         zsh

@nikAizuddin
nikAizuddin / Podman Installation on Ubuntu 22.04 WSL2.md
Last active June 7, 2025 18:48
Podman Installation on Ubuntu 22.04 WSL2

Podman Installation on Ubuntu 22.04 WSL2

Execute the following command to install Podman:

sudo apt update
sudo apt -y install podman

Execute podman info to initialize rootless Podman:

@aliforever
aliforever / main.go
Created November 12, 2021 12:45
telegram-bot-api pagination example
package main
import (
"fmt"
"strconv"
"strings"
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api"
)