Skip to content

Instantly share code, notes, and snippets.

View trinitronx's full-sized avatar
⛩️
Zazen

James Cuzella trinitronx

⛩️
Zazen
View GitHub Profile
@trinitronx
trinitronx / 00-dmesg-xfs_mount_failure.log
Last active April 9, 2024 18:55
XFSv4 corrupted after kernel 6.7.11-3-MANJARO, xfsprogs 6.6.0-1
Mar 31 10:08:38 saturn kernel: XFS (md0): Mounting V4 Filesystem 29af87eb-2c60-4383-8596-079de2033a48
Mar 31 10:08:39 saturn kernel: XFS (md0): Metadata corruption detected at xfs_inobt_verify+0x91/0xb0 [xfs], xfs_inobt block 0xd78
Mar 31 10:08:39 saturn kernel: XFS (md0): Unmount and run xfs_repair
Mar 31 10:08:39 saturn kernel: XFS (md0): First 128 bytes of corrupted metadata buffer:
Mar 31 10:08:39 saturn kernel: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Mar 31 10:08:39 saturn kernel: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Mar 31 10:08:39 saturn kernel: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Mar 31 10:08:39 saturn kernel: 00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Mar 31 10:08:39 saturn kernel: 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Mar 31 10:08:39 saturn kernel: 00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .........
@trinitronx
trinitronx / Output of: yay -Syu projectm-sdl2-git
Last active December 8, 2023 07:12
projectm-sdl2-git CMake Poco build error on Archlinux & Manjaro
==> Making package: projectm-sdl2-git 62.ab46c53-1 (Thu 07 Dec 2023 11:43:01 PM MST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating frontend-sdl2 git repo...
==> Validating source files with sha256sums...
frontend-sdl2 ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of frontend-sdl2 git repo...
@trinitronx
trinitronx / .gitconfig
Last active October 18, 2023 23:58
My version of git-fzf: gls (plus helpful aliases & snippets from my .gitconfig)
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
[core]
pager = less -FXRS -x2
[alias]
st = status
@trinitronx
trinitronx / git-fzf.zsh
Created October 18, 2023 23:50
My version of git-fzf: gls
# Source: https://gist.github.com/junegunn/f4fca918e937e6bf5bad?permalink_comment_id=3356674#gistcomment-3356674
alias glNoGraph='git log --color=always --format="%C(auto)%h%d %s %C(brightblack)%C(bold)%cr% C(auto)%an %G?" "$@"'
_gitLogLineToHash="echo {} | grep -o '[a-f0-9]\{7\}' | head -1"
_viewGitLogLine="$_gitLogLineToHash | xargs -I % sh -c 'git show --color=always --show-signature % | delta'"
_viewGitLogLineUnfancy="$_gitLogLineToHash | xargs -I % sh -c 'git show %'"
# ANSI Colors
c_reset='\033[0m'
c_black='\033[0;30m'
@trinitronx
trinitronx / find-output-all-Mach-O.log
Last active January 24, 2022 19:01
Native vagrant + vagrant-libvirt gem binaries
# Vagrant plugin directory
$ find ~/.vagrant.d/gems/2.7.4/ \( -iname '*.gemspec' -o -iname '.DS_Store' -o -iname '*.yaml' -o -iname '*.gz' -o -iname '*.pub' -o -iwholename '*/spec/*' -o -iwholename '*/test/*' \) -prune -o -type f -print0 | xargs -0 file | grep -v 'tar archive\|Ruby script\|ASCII text\|empty\|PNG image\|PEM\|JSON\|SPEC\|Unicode text\|HTML doc\|Git \(index\|pack\|bundle\)\|SVG\|ISO 9660\|Perl script\|JPEG\|CSV text'
~/.vagrant.d/gems/2.7.4//extensions/arm64-darwin-21/2.7.0/ruby-libvirt-0.8.0/_libvirt.bundle: Mach-O 64-bit bundle arm64
~/.vagrant.d/gems/2.7.4//gems/ruby-libvirt-0.8.0/ext/libvirt/nwfilter.o: Mach-O 64-bit object arm64
~/.vagrant.d/gems/2.7.4//gems/ruby-libvirt-0.8.0/ext/libvirt/nodedevice.o: Mach-O 64-bit object arm64
~/.vagrant.d/gems/2.
@trinitronx
trinitronx / Qt5 Circular Build Dependencies.txt
Last active November 9, 2021 17:03
ASCII art tree representation of Qt5 qtwebengine Build Dependencies on Debian unstable (sid)
qtwebengine
\
├ Depends: libqt5opengl5-dev (>= 5.15.2+dfsg~) but it is not going to be installed
| \
| libqt5opengl5-dev = Source Package: qtbase-opensource-src [1]
| \
| | Depends: qdoc-qt5 (>= 5.15~) but it is not going to be installed
| |\
| | qdoc-qt5 = Source Package: qttools-opensource-src [2]
@trinitronx
trinitronx / LICENSE
Last active July 4, 2020 09:20
AX_FEATURE_FLAG M4 Macro for usage with Autoconf
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
@trinitronx
trinitronx / Makefile_include_exclude
Last active November 25, 2019 22:13 — forked from davidlu1001/terraform_include_exclude
Makefile for Terraform to support include/exclude
# Plan exclude / include targets
# To use: export INCLUDE or EXCLUDE with Extended Grep pattern for targets to match
PLAN_OPTIONS ?=
APPLY_OPTIONS ?=
EXCLUDE ?=
INCLUDE ?=
TERRAFORM ?= terraform
PLAN_FILE ?= current.plan
REPO_NAME ?= terraform
@trinitronx
trinitronx / pkgutil --files com.apple.pkg.macOS_SDK_headers_for_macOS_10.14
Last active September 30, 2019 22:52
macOS Mojave 10.14.6 - Command Line Tools Header Files List
System
System/Library
System/Library/Frameworks
System/Library/Frameworks/AGL.framework
System/Library/Frameworks/AGL.framework/Headers
System/Library/Frameworks/AGL.framework/Versions
System/Library/Frameworks/AGL.framework/Versions/A
System/Library/Frameworks/AGL.framework/Versions/A/Headers
System/Library/Frameworks/AGL.framework/Versions/A/Headers/agl.h
System/Library/Frameworks/AGL.framework/Versions/A/Headers/aglContext.h
@trinitronx
trinitronx / apk-add.log
Last active May 18, 2018 20:53
Alpine openssl-dev openldap-dev package conflict
/ # apk add openldap-dev openssl-dev
ERROR: unsatisfiable constraints:
libressl-dev-2.6.3-r0:
conflicts: openssl-dev-1.0.2o-r0[pc:libcrypto=2.6.3] openssl-dev-1.0.2o-r0[pc:libssl=2.6.3] openssl-dev-1.0.2o-r0[pc:openssl=2.6.3]
satisfies: openldap-dev-2.4.45-r3[libressl-dev]
openssl-dev-1.0.2o-r0:
conflicts: libressl-dev-2.6.3-r0[pc:libcrypto=1.0.2o] libressl-dev-2.6.3-r0[pc:libssl=1.0.2o] libressl-dev-2.6.3-r0[pc:openssl=1.0.2o]
satisfies: world[openssl-dev]