Skip to content

Instantly share code, notes, and snippets.

View SoftwareGuy's full-sized avatar

Coburn SoftwareGuy

View GitHub Profile
@T2hhbmEK
T2hhbmEK / PKGBUILD
Created October 15, 2021 11:46
anbox-git
# Maintainer: Christoph Schmidpeter <john.doe@example.com>
# Co-Maintainer: Mubashshir <ahmubashshir@gmail.com>
# Contributor: Iwan Timmer <irtimmer@gmail.com>
# pkg: git
pkgname=anbox-audio-git
_pkgname=anbox-git
pkgver=r1364.8d026df
pkgrel=1
epoch=1
@nukadelic
nukadelic / EditorFontSize.cs
Last active April 15, 2024 14:44
Unity Editor Font Size Changer -- EditorStyles
#if UNITY_EDITOR
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Reflection;
public class EditorFontSize : EditorWindow
{
// enable resize on launch to set a default font size , using this option will disable the ability to have the window accassible
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Dissonance.Audio.Capture;
using NAudio.Wave;
using UnityEngine;
/// <summary>
/// Microphone that connects to discord bot. It plays the audio it receives from the bot.
@en4rab
en4rab / CF-U1-BIOS.md
Last active April 16, 2024 22:18
Recovering the BIOS password from a Panasonic CF-U1 mk2 (AMI Aptio UEFI)

Recovering the BIOS password from a Panasonic CF-U1 mk2 (AMI Aptio UEFI)

A mess of my own making

While messing with a CF-U1 handheld PC that I bought off ebay I managed to mess up the BIOS and it seems it reverted to previous settings which included an unknown BIOS password, it would however still boot into windows. Since I could still boot windows I was able to dump the bios flash using AFUWINGUI.EXE the version I used was 3.09.03.1462 which is available here:
https://ami.com/en/?Aptio_4_AMI_Firmware_Update_Utility.zip

@ephemient
ephemient / ⁄etc⁄pacman.d⁄hooks⁄linux-modules-post.hook
Last active April 4, 2024 21:49
(Arch Linux) Keep current modules around during kernel upgrade
[Trigger]
Operation = Upgrade
Type = Package
Target = linux
[Action]
Description = Restore Linux kernel modules
When = PostTransaction
Depends = coreutils
Depends = rsync
@woods
woods / geoip.sh
Last active April 24, 2023 01:03
iptables geoip xtables firewall by country
# This is an example of how to use xtables / xt_geoip to block requests
# based on their source/destination country.
#
# It can be computationally expensive to have tons of iptables rules.
# According to the bottom of the following page, this xt_geoip is probably
# about as efficient as can be for doing this kind of thing:
# http://xtables-addons.sourceforge.net/geoip.php
# Install packages
apt-get install xtables-addons-common libtext-csv-xs-perl unzip