Skip to content

Instantly share code, notes, and snippets.

View Niakr1s's full-sized avatar
Coding...

Niakr1s

Coding...
View GitHub Profile
@Niakr1s
Niakr1s / linux-mint-btrfs-fde.md
Last active August 25, 2026 18:33 — forked from Leniwcowaty/linux-mint-btrfs-fde.md
This is an instruction on how to setup Linux Mint/LMDE with BTRFS and Full Disk Encryption using LUKS the way that the installer does it with LVM

Linux Mint and LMDE BTRFS setup guide with Full Disk Encryption using LUKS2

Disclaimer 1

Doing this requires a bit of technical knowledge about filesystems, partitioning and disk labels. If you don't know what UUID is or how to check if your system uses BIOS or UEFI, go learn some more and come back.

Disclaimer 2

Read THE WHOLE instruction first, understand what it does, then try it yourself, first in a VM (I recommend virt-manager). Really, read the whole thing first.

Disclaimer 3

All that is written here, you do at your own risk. I do not take any responsibility for any data or hardware loss (if you somehow manage to damage your hardware...), or any security risks. This workes for me and I feel confident using this, but I am the author. Do your own research, see if it works for you and decide if you want to use it or not. I do not claim this is the best or perfect solution.

@Niakr1s
Niakr1s / jav.guru ST stream auto clicker.js
Last active September 27, 2025 16:00
TAMPERMONKEY jav.guru ST stream auto clicker
// ==UserScript==
// @name jav.guru ST stream auto clicker
// @namespace http://tampermonkey.net/
// @version 2025-09-27
// @description try to take over the world!
// @author You
// @match https://jav.guru/*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=mozilla.org
// @grant none
// ==/UserScript==
@Niakr1s
Niakr1s / arch-i3gaps-install.md
Created May 17, 2024 10:13 — forked from fjpalacios/arch-i3gaps-install.md
Arch + i3-gaps Install Guide

Arch + i3-gaps Install Guide

First set up your keyboard layout. For example, in Spanish:

   # loadkeys es

For a list of all acceptable keymaps:

   # localectl list-keymaps
@Niakr1s
Niakr1s / pkglist.txt
Last active March 21, 2021 07:34
pkglist
accountsservice
acpi
acpid
alsa-firmware
alsa-plugins
alsa-utils
antigen
apparmor
arandr
artwork-i3
@Niakr1s
Niakr1s / hscards.json
Created February 27, 2021 14:24 — forked from Rapptz/hscards.json
Hearthstone Cards
[
{
"id": 7,
"name": "Garrosh Hellscream",
"description": "",
"image": "http:\/\/wow.zamimg.com\/images\/hearthstone\/cards\/enus\/medium\/HERO_01.png",
"class": "warrior",
"type": "hero",
"quality": "free",
"race": "none",
@Niakr1s
Niakr1s / start.sh
Last active February 13, 2021 11:25
systemd service node nvm example
#!/bin/bash
. /home/nea/.nvm/nvm.sh
npm run run
interface Person {
name: string;
surname: string;
}
type StringKeys<T> = string & keyof T;
type KeyChangedCallback<T> = (key: StringKeys<T>, obj: T) => void;
type UnsubscribeFn = () => void;
type KeyChangeObservable<T> = T & { onKeyChanged: (keyName: StringKeys<T>, cb: KeyChangedCallback<T>) => UnsubscribeFn }
import { IsString, validateOrReject } from 'class-validator'
interface ICommandPackage {
kind: 'commandPackage'
command: string
}
interface IMessagePackage {
kind: 'messagePackage'
message: string
type Class<Instance extends any> = (new (...args: any[]) => Instance) & { [key: string]: any }
function MySingleton() {
return function decorator<Instance extends any>(constructor: Class<Instance>) {
let instance: Instance | null = null
let decoratedConstructor = function (...args: any[]) {
if (!instance) {
instance = new constructor(...args)
}