Skip to content

Instantly share code, notes, and snippets.

View XenHat's full-sized avatar
🎩

XenHat XenHat

🎩
  • Quebec, Canada
  • 17:41 (UTC -04:00)
  • X @XenHat
View GitHub Profile
@XenHat
XenHat / KeepUI_FFXIV.fx
Last active June 30, 2024 01:55 — forked from natyusha/KeepUI_FFXIV.fx
Keep UI for FFXIV Mirror
// KeepUI for FFXIV (ReShade version)
// Author: seri14
//
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, commercial or non-commercial, and by any
// means.
//
@XenHat
XenHat / PKGBUILD
Created September 5, 2022 20:24
updated ckbcomp
# Maintainer: Nissar Chababy <funilrys at outlook dot com>
# Ex-Maintainer: Jeroen Bollen <jbinero at gmail dot comau>
pkgname=ckbcomp
pkgver=1.210
pkgrel=1
pkgdesc="Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol"
arch=(any)
url="http://anonscm.debian.org/cgit/d-i/console-setup.git/"
license=('GPL2')
@XenHat
XenHat / PKGBUILD
Created January 11, 2022 23:45
64gram-bin 1.0.7
# Maintainer: KspLite
pkgname=64gram-desktop-bin
pkgver=1.0.7
pkgrel=1
epoch=1
pkgdesc="Unofficial desktop version of Telegram messaging app - binary version"
arch=(x86_64)
url="https://github.com/TDesktop-x64/tdesktop"
license=(GPL3)
depends=(desktop-file-utils glib2 hicolor-icon-theme libdbus libx11)
@XenHat
XenHat / keybase.md
Created August 8, 2021 03:59
keybase.md

Keybase proof

I hereby claim:

  • I am xenhat on github.
  • I am tahnex (https://keybase.io/tahnex) on keybase.
  • I have a public key ASDXSfGMXz0fNYCFeuMDbBwdXr-EErC6sH3si27hq4EpJAo

To claim this, I am signing this object:

@XenHat
XenHat / autoconfig.js
Last active October 11, 2021 22:45
Firefox web-based autoconfig
// Edits start on the second line
// NOTE: You can load this file via
// pref("autoadmin.global_config_url","https://gist.githubusercontent.com/XenHat/042b086efb08e66e3ac53e206906911d/raw/autoconfig.js");
// in your local autoconfig.js
pref("app.normandy.api_url", "", locked);
pref("app.normandy.enabled", false, locked);
pref("app.shield.optoutstudies.enabled", false, locked);
pref("app.update.auto", false, locked);
pref("beacon.enabled", false, locked);
pref("breakpad.reportURL", "", locked);
#!/hint/bash
#
# /etc/makepkg.conf
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
@XenHat
XenHat / install_viewer_dev_env.ps1
Last active September 9, 2022 00:53
Install SL Viewer dev env
# https://gist.github.com/XenHat/fafa4697b51c3279f74967609af03120
#
# Settings
# Needs quotes
GitVersion="2.28.0"
#
#
#
#
# Self-Elevate
@XenHat
XenHat / dump_apple_spi.sh
Created August 20, 2020 22:20
use with caution
#!/bin/bash
mfg="apple"
model="macbook"
version="5,2"
# Glob expression to match chips to dump. do not include asterisks, or rework the script.
chip_mfg='Macronix'
chip_model_glob="MX25L"
chip_glob="Found ${chip_mfg} flash chip \"${chip_model_glob}"
dump_folder=$(echo "$HOME/${mfg}_dump/${model}/${version}" | tr ',' '_' | tr '.' '_' | tr ' ' '_')
for chip in $(sudo flashrom -p internal 2>&1 | grep "${chip_glob}" | cut -d ' ' -f 5 | tr -d '"'); do
@XenHat
XenHat / gentoo-cnf.bash
Last active December 26, 2019 00:23
Ubuntu and Gentoo cross-compatible implementation of Command Not Found snippet
# if the command-not-found package is installed, use it
if [ -x /usr/lib/command-not-found ] || [ -x /usr/share/command-not-found/command-not-found ]; then
function command_not_found_handle() {
# check because c-n-f could've been removed in the meantime
if [ -x /usr/lib/command-not-found ]; then
/usr/lib/command-not-found -- "$1"
return $?
elif [ -x /usr/share/command-not-found/command-not-found ]; then
/usr/share/command-not-found/command-not-found -- "$1"
return $?
@XenHat
XenHat / cloudSettings
Last active January 2, 2022 08:49
Old Visual Studio Code Settings Sync Gist
{"lastUpload":"2022-01-02T08:49:16.852Z","extensionVersion":"v3.4.3"}