Skip to content

Instantly share code, notes, and snippets.

View besendorf's full-sized avatar
🏠
Working from home

besendorf

🏠
Working from home
View GitHub Profile
@nupplaphil
nupplaphil / headless-luks-encrypted-debian-server-with-uefi.md
Last active November 16, 2023 15:58 — forked from jkullick/headless-luks-encrypted-ubuntu-server.md
Headless LUKS encrypted Debian Server with UEFI
# stop active raid
mdadm --stop /dev/md[01]

# destroy partition table on hdds
dd if=/dev/zero of=/dev/sda bs=1M count=512
dd if=/dev/zero of=/dev/sdb bs=1M count=512
dd if=/dev/zero of=/dev/sdc bs=1M count=512
dd if=/dev/zero of=/dev/sdd bs=1M count=512
@lrecknagel
lrecknagel / github2Gitea.js
Created September 17, 2019 13:28
a small nodejs module to migrate a list of github repos (FROM A ORGANIZATION) to gitea
const fetch = require('node-fetch'),
FormData = require('form-data');
// your gitea domain without trailing slash
const GITEA_DOMAIN = 'https://subdomain.domain.xyz';
// you can find this variables when you visit your gitea installation
// open dev-tools and look in the Cookies section
const i_like_gitea = 'YOUR_I_LIKE_GITEA_STRING';
const gitea_awesome = 'YOUR_GITEA_AWESOME_STRING';
@L0j1k
L0j1k / headless-optional-luks-encrypted-debian-with-uefi-boot.md
Last active October 27, 2023 10:15 — forked from nupplaphil/headless-luks-encrypted-debian-server-with-uefi.md
(Headless-optional) UEFI-bootable LUKS-encrypted Debian
### NOTE: if performing these steps from e.g. USB, you will
###       need to boot from an EFI-enabled live image and
###       then load the efivarfs kernel module in order to 
###       make changes to EFI variables with efibootmgr

# root shell
sudo -s

# load EFI kernel module
All requests need an accounts.bahn.de Login Bearer!
Root URL: apis.deutschebahn.com
Get User Name and data:
GET /db/apis/bahnbonus/self-service/v1/customerdata/customerStatus
Get BahnBonus Account Number, Points and Stautus Level
GET /db/apis/bahnbonus/loyalty-service/v2/customer/loyalty
@Te-k
Te-k / threat_intel.md
Last active December 2, 2023 22:23
Threat Intelligence platforms