Skip to content

Instantly share code, notes, and snippets.

View MarkusGnigler's full-sized avatar

MarkusGnigler

View GitHub Profile
@MarkusGnigler
MarkusGnigler / chroot.sh
Last active March 15, 2024 18:41
chroot into fedora installation with luks encrypted disks
sudo su
#display/search for boot partition
fdisk -l # or lsblk -f
# encrypted luks partition
cryptsetup luksOpen /dev/nvme0n1p3 disk
# mount all
mkdir -p /mnt/boot/efi
@MarkusGnigler
MarkusGnigler / flashy.js
Last active January 21, 2022 21:31
flashy.js - A lightweight JQuery like syntax
//###################################################
// flashy.js
//###################################################
window.$ = document.querySelector.bind(document);
window.$$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, onFn) {
this.addEventListener(name, onFn);
};
@MarkusGnigler
MarkusGnigler / .gitlab-ci.yml
Last active March 24, 2022 11:11
generate multiple compodoc site's from nx workspace angular app's or lib's
stages:
- publish
pages:
image: node:16-alpine
stage: publish
before_script:
- npm install fs-extra
script:
- node ./tools/scripts/generate-documentation.ts