Skip to content

Instantly share code, notes, and snippets.

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

Iván De Gyves López FoxBuru

🏠
Working from home
View GitHub Profile
@FoxBuru
FoxBuru / gist:0f9fffb30ee4b0a0d63efe14b442b7a5
Created November 15, 2020 06:23
Install windows 10 using virt-install (UEFI,SPICE,QXL,Virtio)
virt-install \
--boot uefi \
--cdrom /var/lib/libvirt/images/Windows.iso \
--features vmport.state=off,hyperv.vapic.state=on,hyperv.spinlocks.state=on,hyperv.spinlocks.retries=8191,hyperv.relaxed.state=on \
--clock offset=localtime,hypervclock_present=yes,rtc_tickpolicy=catchup,hpet_present=no,pit_tickpolicy=delay \
--machine q35 \
--vcpus 2 \
--cpu host \
--graphics spice \
--sound ich9 \
@FoxBuru
FoxBuru / hook-moksign-vmlinuz
Created September 28, 2020 01:50
Small script to hook MOK signing on Pop! OS for Secure Boot purposes, rEFInd needed
#!/bin/sh -e
# Detect root GUID partition
GUID=$(cat /proc/cmdline | grep -oP "root=UUID=\K(.*)(?= ro)")
REFIND_KEYS=/etc/refind.d/keys
EFIBASE=/boot/efi/EFI
die() { echo "$*" 1>&2 ; exit 1; }
# Check correct vmlinuz.efi path
@FoxBuru
FoxBuru / config-eap245v1
Last active August 23, 2020 21:58
Final file for OpenWRT 19.07.3 release with WPA3. No Crypto dev needed.
# Essential config
CONFIG_TARGET_ath79_generic_DEVICE_tplink_eap245-v1=y
CONFIG_TARGET_PROFILE="DEVICE_tplink_eap245-v1"
CONFIG_LINUX_4_19=y
CONFIG_DEFAULT_ath10k-firmware-qca988x-ct=y
CONFIG_DEFAULT_kmod-ath10k-ct=y
CONFIG_DEFAULT_urandom-seed=y
CONFIG_DEFAULT_urngd=y
CONFIG_SIGNATURE_CHECK=y
CONFIG_KERNEL_AIO=y

Keybase proof

I hereby claim:

  • I am FoxBuru on github.
  • I am foxburu (https://keybase.io/foxburu) on keybase.
  • I have a public key whose fingerprint is 4203 FB9D F933 EFFE B765 5179 4F8A 2755 AE88 E14E

To claim this, I am signing this object:

@FoxBuru
FoxBuru / xmlrpc.php
Last active December 14, 2016 21:00 — forked from hofmeister/xmlrpc.php
PHP simple XML-RPC Client
<?php
/**
* @author Henrik Hofmeister
* @author Ivan de Gyves
* @license MIT
* @version 1.1
*
* XmlRPC using SimpleXML and CURL
* XML-RPC server can be a HTTP or HTTPS one
*