Skip to content

Instantly share code, notes, and snippets.

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

Frank Tackitt kageurufu

🏠
Working from home
View GitHub Profile
@kageurufu
kageurufu / library.css
Created August 1, 2022 23:38
Steamdeck boot stylesheet with full screen boot video patch
button.DialogButton{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;border:0;font:inherit;overflow:visible;padding:0;margin:2px 0;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;display:block;line-height:32px;color:#dfe3e6;font-size:14px;text-align:center;border-radius:2px;cursor:pointer;width:100%;transition:all .2s ease-out;background:#3d4450;background-position:99% 1%;background-size:300% 300%;position:relative}input.DialogInput::-moz-focus-inner,button.DialogButton::-moz-focus-inner{border:0;padding:0}.DialogInputPlaceholder::placeholder,.DialogInputPlaceholder::-webkit-input-placeholder{color:#969696;font-style:italic}.DialogInputPlaceholder::-ms-input-placeholder,.DialogInputPlaceholder:-ms-input-placeholder{color:#969696;font-style:italic}.PopupFullWindow{height:100%}.FullModalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1500}.FullModalOverlay.NotReadyToRender{background:#000}.FullModalOverlay .ModalPosition_Content{
@kageurufu
kageurufu / 20220210ChiTu L Jupiter english.gcode
Created July 23, 2022 20:44
Elegoo Jupiter stock config
; remove all parameters
M8513
; [[The text after the semicolon is a comment, please modify the corresponding parameters according to the description of the comment, the command after the semicolon will be ignored]]
; The basic format is Mxxx Ixxx, Mxxx Txxx or Mxxx Sxxx, where Ixx (is the letter I, the first letter of integer, not the number 1) followed by an integer, which can be decimal or hexadecimal (starting with 0x) , Pxx, Sxx are followed by floating point numbers
; [Direction control of stepper motor] The directions of I1 and I-1 are just opposite, so if the direction of the motor is wrong, either change the wiring or change this direction parameter
; Z stepper motor direction
M8004 I1
// ==UserScript==
// @name Thingiverse Zip Button
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.thingiverse.com/thing:*
// @icon https://www.google.com/s2/favicons?sz=64&domain=thingiverse.com
// @grant none
// ==/UserScript==
@kageurufu
kageurufu / regexbuilder.py
Created February 16, 2022 17:11
Minimal composable regex builder in python
import re
ALLOWED_TYPES = {"comment", "reply", "unsub", "sub"}
class RegexBuilder:
def __init__(self, *parts):
self._parts = []
if parts:
self.add(*parts)
@kageurufu
kageurufu / dom.py
Last active May 30, 2019 23:17
Ultra-minimal Python to HTML DOM renderer, using MarkupSafe for escaping
import html
from markupsafe import Markup
class InvalidVoidTag(Exception):
pass
VOID_TAGS = {
@kageurufu
kageurufu / PKGBUILD
Created March 19, 2019 01:27
working howdy 2.5.0 pkgbuild without git clone
# Maintainer: boltgolt <boltgolt@gmail.com>
# Maintainer: Kelley McChesney <kelley@kelleymcchesney.us>
pkgname=howdy
pkgver=2.5.0
pkgrel=1
pkgdesc="Windows Hello for Linux"
arch=('x86_64')
url="https://github.com/boltgolt/howdy"
license=('MIT')
depends=(
@kageurufu
kageurufu / PKGBUILD
Created February 27, 2019 15:36
v8-3.14-bin dev update
# Maintainer: Franklyn Tackitt <franklyn@tackitt.net>
pkgname=v8-3.14-bin
pkgver=3.14.5.8
pkgrel=2
pkgdesc="v8 3.14 binary package from ubuntu xenial"
url="https://github.com/v8/v8"
arch=('x86_64')
license=('BSD new')
depends=()
@kageurufu
kageurufu / 104j.patch
Created July 13, 2018 20:44
aur/Hyperrouge fix
diff --git a/PKGBUILD b/PKGBUILD
index edd4500..6f6232d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=hyperrogue
-pkgver=10.0g
-_pkgver=100g
+pkgver=10.4j
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[packages]
flask = "*"
sqlalchemy = "*"
[dev-packages]
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit macOS
or other application using the libvirt API.
-->
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>macOS</name>
<uuid>c2586d23-21cb-469e-b367-43101a988c38</uuid>