Skip to content

Instantly share code, notes, and snippets.

View foundObjects's full-sized avatar

Scott B foundObjects

  • SF Bay Area, CA
View GitHub Profile
@foundObjects
foundObjects / README.md
Created July 25, 2023 11:15 — forked from gornostal/README.md
Ulauncher Color Themes

This will be a temporary site for sharing Ulauncher color themes

When posting a theme make sure it has

  • title (theme name or whatever)
  • link to a gist or github repo with theme files
  • screenshot attached (just drag an image onto a comment area)

@foundObjects
foundObjects / ULUS10297.ini
Created January 20, 2023 19:01
original resolution cheat engine patch for final fantasy tactics war of the lions
_C1 Original Resolution
_L 0xE00DA2E2 0x00035780
_L 0x20035780 0x879EA2E4
_L 0x20035784 0x0E200800
_L 0x20002000 0x341001E0
_L 0x20002004 0x121E0007
_L 0x20002008 0x8790A2E2
_L 0x2000200C 0x34130046
_L 0x20002010 0x34120010
_L 0x20002014 0x34160154
@foundObjects
foundObjects / cleanEdge-shadertoy.glsl
Created January 2, 2023 11:08 — forked from torcado194/cleanEdge-shadertoy.glsl
cleanEdge, a pixel art upscaling algorithm for clean rotations
/*** MIT LICENSE
Copyright (c) 2022 torcado
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
@foundObjects
foundObjects / guide.md
Created February 18, 2022 10:33 — forked from elieux/guide.md
pacman-sign-guide

have a GPG key

Create your new key: gpg --gen-key more...

Back it up: gpg --export-secret-keys --armor <keyid> > my_key_backup.asc more...

@foundObjects
foundObjects / gist:f40f2d96f9c99edbce66eae9a2f5a392
Created August 27, 2021 00:51
dkms - check for clang compiler
--- a/usr/bin/dkms 2020-12-11 09:54:28.000000000 +0100
+++ b/usr/bin/dkms 2021-07-13 11:51:05.517800608 +0200
@@ -1284,6 +1284,17 @@
cd - >/dev/null
}
+check_clang()
+{
+ set_kernel_source_dir "$kernelver"
+ if [[ ! -z $(strings ${kernel_source_dir}/vmlinux | grep clang) ]] ; then
@foundObjects
foundObjects / nvidia-fix-linux-5.14.patch
Created July 31, 2021 07:29 — forked from joanbm/nvidia-fix-linux-5.14.patch
Tentative fix for NVIDIA 465.31 driver for Linux 5.14-rc1
From f18c541edc5e122b06b0c1e65d0a422f0b8109e7 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Fri, 2 Jul 2021 02:09:58 +0200
Subject: [PATCH] Tentative fix for NVIDIA 465.31 driver for Linux 5.14-rc1
---
common/inc/nv-time.h | 6 ++++++
nvidia-drm/nvidia-drm-drv.c | 4 ++++
2 files changed, 10 insertions(+)
@foundObjects
foundObjects / stuff.sh
Created October 2, 2020 04:07
fix LSP_ app spew in Arch/Gnome
echo "[Desktop Entry]
Hidden=true" > /tmp/1
find /usr -name "*lsp_plug*desktop" 2>/dev/null | cut -f 5 -d '/' | xargs -I {} cp /tmp/1 ~/.local/share/applications/{}
# find /usr -name "*lsp_plug*desktop" 2>/dev/null | cut -f 5 -d '/' | xargs -I {} echo {}
@foundObjects
foundObjects / etc-kernel-postinst.d-pve-auto-removal
Last active June 17, 2020 15:44
PVE apt header package retention
#! /bin/sh
set -e
. /usr/share/pve-kernel-helper/scripts/functions
eval "$(apt-config shell APT_CONF_D Dir::Etc::parts/d)"
test -n "${APT_CONF_D}" || APT_CONF_D="/etc/apt/apt.conf.d"
config_file="${APT_CONF_D}/76pveconf"
@foundObjects
foundObjects / flasher.sh
Last active May 16, 2020 18:20
This is outdated, there's an improved version located here: https://github.com/foundObjects/sbc-flasher friendly/easy sd/usb/emmc image writer with verification and support for compressed images
#!/usr/bin/env bash
#
# flasher.sh -- SBC image writer script with media verification
#
# source: https://gist.github.com/foundObjects/0645ba25bd3f97ae9ee7f41ce6a4fde1
# contact: Arglebargle @ forum.pine64.org or https://github.com/foundObjects/
# license: http://www.wtfpl.net/txt/copying/
#
# usage: flasher.sh (--verify-only) image target
@foundObjects
foundObjects / foo.txt
Created December 15, 2019 23:59
quick PBP A1/A2 sd card iozone tests
Notes: All tests run with performance governor (PBP), cards formatted ext4 & mounted noatime
Silicon Power A1 64GB:
Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Output is in kBytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 kBytes.