Install debian as usual:
- EFI partition ~256M, boot, esp flags
- ext2 boot partition ~512M
- luks cyrpt volume
- LVM pv
- swap ~5G
- btrfs
- LVM pv
When the installation is finished, boot into SystemRescueCD.
<?php | |
namespace App\Filament\PageTemplates; | |
use Filament\Forms\Components\Repeater; | |
use Filament\Forms\Components\RichEditor; | |
use Filament\Forms\Components\TextInput; | |
final class Faq | |
{ |
#!/usr/bin/env python3 | |
import os | |
import argparse | |
import stagger | |
def notify(song, album, artist, icon='music'): | |
command = f''' | |
notify-send -i "{icon}" "🎵 {song}" "<i>📀 {album}</i>\n<b>👄 {artist}</b>" |
# <- this tricks vim into using syntax highlighting | |
[global] | |
# font = Tewi 8 | |
font = "FontAwesome, Noto Sans 11" | |
icon_path = /usr/share/icons/Faenza/status/16/:/usr/share/icons/Faenza/devices/16/ | |
markup = yes | |
# The format of the message. Possible variables are: | |
# %a appname | |
# %s summary |
#!/bin/bash | |
DEFADPATER=eno1 | |
DEFVLAN=300 | |
DEFNET=10.137.1.2 | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
INFO='\033[0;36m' |
#include <Wire.h> | |
#include "RTClib.h" | |
RTC_DS1307 RTC; | |
#include <LiquidCrystal_I2C.h> | |
#include <SPI.h> | |
#include <Adafruit_Sensor.h> | |
#include <Adafruit_BMP280.h> | |
#include <Wire.h> | |
#include <LiquidCrystal_PCF8574.h> | |
#include "DHT.h" | |
#define DHTPIN 11 | |
#define DHTTYPE DHT11 // DHT 11 | |
DHT dht(DHTPIN, DHTTYPE); | |
#define MOISTPIN 6 | |
int sensorvalue = 0; |
#!/usr/bin/python3 | |
import dbus | |
import os | |
import sys | |
STATUS_TO_ICON = { | |
'Playing': '', | |
'Paused': '', | |
'Stopped': '', |
<?php | |
function iban_get_parts( $iban ) | |
{ | |
return [ | |
'country' => substr( $iban, 0, 2 ), | |
'checksum' => substr( $iban, 2, 2 ), | |
'checksum_national' => substr( $iban, 4, 1 ), | |
'abi' => substr( $iban, 5, 5 ), | |
'cab' => substr( $iban, 10, 5 ), |
#!/bin/sh | |
function fy(){ | |
echo $(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed 's/total //') | |
} | |
function fx(){ | |
echo $(/bin/ls -1 | /usr/bin/wc -l | /bin/sed 's: ::g') | |
} |