Skip to content

Instantly share code, notes, and snippets.

View chozian's full-sized avatar
👽
Contemplating the mysteries of the universe

Chris Hozian chozian

👽
Contemplating the mysteries of the universe
View GitHub Profile
@itnet7
itnet7 / gist:ab9b320a7f126a2b484575433a122f90
Created September 30, 2022 23:15
How To: Installing and Running Ansible Navigator on RHEL 9
On RHEL 9 Ensure the following Repo is enabled if you are wanting to install ansible-navigator.
ansible-automation-platform-2.2-for-rhel-9-x86_64-source-rpms
Enable it by running:
[root@<some_random_host> ~]# subscription-manager repos --enable ansible-automation-platform-2.2-for-rhel-9-x86_64-rpms
Then install by doing the following:
dnf install ansible-navigator
@FreddieOliveira
FreddieOliveira / docker.md
Last active June 10, 2024 12:01
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@oofnikj
oofnikj / answerfile
Last active June 8, 2024 21:46
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@queses
queses / etc | systemd | system | enable-turbo-boost.service
Last active March 27, 2024 16:49
Linux No TurboBoost Fix. Doesn't work with enabled SecureBoot
[Unit]
Description=Enable Turbo Boost on Intel CPUs
[Service]
ExecStart=/bin/sh -c "/usr/sbin/modprobe msr && /root/turbo-boost.sh enable"
RemainAfterExit=yes
[Install]
WantedBy=sysinit.target
# this file contains keys needed for decryption of file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
d7b00402659ba2abd2cb0db27fa2b656 # Common
805e6285cd487de0faffaa65a6985e17 # Espresso Ancast
b5d8ab06ed7f6cfc529f2ce1b4ea32fd # Starbuck Ancast
9a164ee15ac7ceb64d3cc130094095f6 # 007 Legends [EUR, NUS]
@jb-alvarado
jb-alvarado / pci-passthrough.md
Last active October 27, 2023 02:16
PCI Passthrough on Fedora 31

PCI Passthrough

Hardware:

  • Mainboard ASUS PRIME Z390-A Z390
  • ASUS Dual-GTX1650-O4G
  • Intel i9 9900
  • 32GB Ram
  • NEC Corporation uPD720200 USB 3.0 Host Controller
  • Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 (1 TB)
@iakobou
iakobou / massdrop_ctrl_JG.bin
Last active February 5, 2023 04:51
CTRL keymap.c
#include QMK_KEYBOARD_H
enum ctrl_keycodes {
U_T_AUTO = SAFE_RANGE, //USB Extra Port Toggle Auto Detect / Always Active
U_T_AGCR, //USB Toggle Automatic GCR control
DBG_TOG, //DEBUG Toggle On / Off
DBG_MTRX, //DEBUG Toggle Matrix Prints
DBG_KBD, //DEBUG Toggle Keyboard Prints
DBG_MOU, //DEBUG Toggle Mouse Prints
MD_BOOT, //Restart into bootloader after hold timeout
@Informatic
Informatic / domain.xml
Last active May 28, 2024 11:44
How to use Windows 10 OEM license in libvirt VM (<smbios mode='host' /> does not work as Windows seems to verify UUID; apparmor/security configuration changes may be needed)
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<!-- ... -->
<qemu:commandline>
<qemu:arg value='-acpitable'/>
<qemu:arg value='file=/some/path/slic.bin'/>
<qemu:arg value='-acpitable'/>
<qemu:arg value='file=/some/path/msdm.bin'/>
<qemu:arg value='-smbios'/>
<qemu:arg value='file=/some/path/smbios_type_0.bin'/>
<qemu:arg value='-smbios'/>
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active June 11, 2024 09:23 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy