This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
allowUnsupportedSystem = true; | |
allowUnfree = true; | |
fonts = pkgs: with pkgs; { | |
enableFontDir = true; | |
fonts = [ | |
ibm-plex | |
noto-fonts | |
noto-fonts-cjk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CID="$(docker ps | grep srv-captain--mm-postgres | awk '{print $1}')" | |
CMD=" | |
delete from posts where createat < extract(epoch from (now() - interval '1 months'))::int8 * 1000; | |
delete from reactions where postid not in (select id from posts); | |
delete from fileinfo where postid not in (select id from posts); | |
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>berlin.sneak.runit</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/nix/store/z19ahyrb7fgzsmysxiz81q7q55m6sza2-runit-2.1.2/bin/runsvdir</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
//2020-09-21 22:49:02 | |
const wk int64 = 13245202142853170 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set timeout=1 | |
set default=0 | |
insmod part_gpt | |
insmod fat | |
insmod efi_gop | |
insmod efi_uga | |
insmod cryptodisk | |
insmod luks | |
insmod zfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dracut \ | |
-v \ | |
--no-compress \ | |
--force \ | |
--show-modules \ | |
--kernel-cmdline "root=zfs:AUTO rootfstype=zfs" \ | |
/boot/5.4.28-gentoo/initrd.dracut 5.4.28-gentoo-x86_64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ifupdown has been replaced by netplan(5) on this system. See | |
# /etc/netplan for current configuration. | |
# To re-enable ifupdown on this system, you can run: | |
# sudo apt install ifupdown | |
#auto wlx801f02ee7727 | |
#iface wlx801f02ee7727 inet dhcp | |
# wpa-ssid "eeqj.de" | |
# wpa-psk "REDACTED" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from email import message_from_file | |
import json | |
import os | |
import requests | |
import sys | |
import syslog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
torsocks ./openssl s_client -connect whatever.onion:6697 | tee /tmp/out | |
# ... wait a sec, then ^C | |
cat /tmp/out | openssl x509 -sha512 -fingerprint -noout | tr -d ':' | tr 'A-Z' 'a-z' | cut -d = -f 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script started on Wed Feb 26 01:18:46 2020 | |
command: bash -c make run | |
rsync -avP ./disktest.sh root@fsn1.datavibe.net:/root/disktest.sh | |
sending incremental file list | |
disktest.sh | |
700 23% 0.00kB/s 0:00:00 2,977 100% 2.17MB/s 0:00:00 (xfr#1, to-chk=0/1) | |
sent 1,003 bytes received 65 bytes 712.00 bytes/sec | |
total size is 2,977 speedup is 2.79 | |
ssh root@fsn1.datavibe.net "bash /root/disktest.sh 2>&1" |
NewerOlder