Skip to content

Instantly share code, notes, and snippets.

View shakahl's full-sized avatar
:electron:

Soma Szelpal shakahl

:electron:
  • Mastermind at Shakahl Ltd. • Used to made GitLab's AutoDevOps possible on GitHub Actios at getbridge.com • Did modern DevOps scale-ups at DiNG.hu • nextearth.io • omgmobile.hu • used to worked on Jasmin at Docler
  • Warsaw, Poland
  • LinkedIn in/somaszelpal
  • X @szelpalsoma
  • Facebook szelpalsoma
  • Instagram szelpalsoma
View GitHub Profile
@n0ctu
n0ctu / arch-linux-n0ctu.md
Last active February 28, 2025 07:41
Multi-Boot: Arch Linux & Windows with GRUB, LUKS2, and Btrfs on UEFI

Multi-Boot: Arch Linux & Windows with GRUB, LUKS2, and Btrfs on UEFI

0.1. Abstract

This document expands upon the official Arch Linux Wiki installation guide by covering some more steps:

  • Arch Linux installation on a LUKS2 container on Btrfs
  • Microsoft Windows 10/11 installation with BitLocker
@stenuto
stenuto / hls.sh
Created November 7, 2024 16:58
HLS ffmpeg script
#!/bin/bash
# Function to display usage information
usage() {
echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]"
exit 1
}
# Check if at least one argument (input file) is provided
if [ $# -lt 1 ]; then
@shakahl
shakahl / arch_linux_installation_guide.md
Created October 19, 2024 09:27 — forked from mjkstra/arch_linux_installation_guide.md
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@farisc0de
farisc0de / ChatGPT Roles.md
Created July 6, 2024 16:52
ChatGPT Roles

IT Expert:

I would like you to assist me as an IT expert, I will provide all the relevant information needed to solve the technical problem and your task is to assist me in solving the problem. Your task is to assist me in solving the problem. Please use your expertise in project management and agile development to develop a solution. When responding, it would be extremely helpful if you could use language that is easy to understand, suitable for different levels of understanding, and step-by-step by key points. I prefer to get a solution straight away rather than a lengthy explanation unless I explicitly ask for it.

Business Email Writer:

You are a Business email writing expert specializing in business emails in English, covering areas such as business cooperation and business authorization. Possesses extensive experience in business communication, ensuring precise grasp of email tone and format to ensure clear and professional information delivery.

DevOps Specialist:

@shakahl
shakahl / ConvertTo-PSClass
Created July 5, 2024 23:14 — forked from jdhitsolutions/ConvertTo-PSClass
A PowerShell function to convert an object instance into a PowerShell class definition.
Function ConvertTo-PSClass {
[cmdletbinding()]
[outputType([String])]
Param(
[Parameter(Position = 0, Mandatory, ValueFromPipeline)]
[ValidateNotNullOrEmpty()]
[object]$InputObject,
[Parameter(Mandatory, HelpMessage = "Enter the name of your new class")]
[ValidatePattern("^\w+$")]
[string]$Name,
@shakahl
shakahl / Find-GitRepository.ps1
Created June 4, 2024 19:17 — forked from jdhitsolutions/Find-GitRepository.ps1
Use this PowerShell function to find Git repositories in the specified folder. It is assumed that you have the Git command line tools already installed.
Function Find-GitRepository {
<#
.SYNOPSIS
Find Git repositories
.DESCRIPTION
Use this command to find Git repositories in the specified folder. It is assumed that you have the Git command line tools already installed.
.PARAMETER Path
The top level path to search.
@shakahl
shakahl / emojis.sh
Created March 27, 2024 20:56 — forked from BuonOmo/emojis.sh
A list of all UTF-8 emojis in bash or zsh
# Obtained with the code written in next file
emoji_grinning_face=😀
emoji_grinning_face_with_big_eyes=😃
emoji_grinning_face_with_smiling_eyes=😄
emoji_beaming_face_with_smiling_eyes=😁
emoji_grinning_squinting_face=😆
emoji_grinning_face_with_sweat=😅
emoji_rolling_on_the_floor_laughing=🤣
emoji_face_with_tears_of_joy=😂
emoji_slightly_smiling_face=🙂
@jdhitsolutions
jdhitsolutions / PSRefresh.ps1
Last active April 24, 2025 05:04
Refresh a new Windows PowerShell Installation.
#requires -version 5.1
#requires -RunAsAdministrator
#PSRefresh.ps1
<#
Update key PowerShell components on a new Windows 10/11 installation.
This script is not intended for server operating systems. The script
should be run in an interactive console session and not in a remoting session.
@Artefact2
Artefact2 / README.md
Last active April 26, 2025 05:36
GGUF quantizations overview

Which GGUF is right for me? (Opinionated)

Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggml-org/llama.cpp#5962

In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.

llama.cpp feature matrix

See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix

@ryanrudolfoba
ryanrudolfoba / SteamOS-Recovery-Downloader-and-Flasher.sh
Created January 9, 2024 21:04
Script for SteamOS to easily download and flash the latest SteamOS Recovery Image to a USB device
#!/bin/bash
# SteamOS Recovery Downloader and Flasher
# script by ryanrudolf
# https://github.com/ryanrudolfoba
# https://youtube.com/@10minutesteamdeckgamer
#
# script will create the directory - ~/SteamOS-Recovery-Downloader and automatically download the latest SteamOS Recovery Image.
# script will perform a md5 check to make sure that download is not corrupted and finally flash the image to the USB device.
# if there are multiple USB devices, the script will exit immediately. Plug in a single USB device that you want to flash and re-run the script.
#