Skip to content

Instantly share code, notes, and snippets.

[ 1.881024] LoadPin: firmware pinned obj="/lib/firmware/i915/tgl_dmc_ver2_08.bin" pid=60 cmdline=""
[ 1.882502] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/tgl_dmc_ver2_08.bin (v2.8)
[ 1.909278] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[ 1.921857] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: commit=600,discard
[ 1.923415] EXT4-fs (nvme0n1p8): mounted filesystem with ordered data mode. Opts:
[ 1.954083] EXT4-fs (nvme0n1p1): re-mounted. Opts:
[ 2.074609] frecon[552]: Frecon using drm driver i915, version 1.6, date(20200114), desc(Intel Graphics) using atomic
[ 2.106716] i915 0000:00:02.0: DP SDP: VSC, revision 0, length 0
[ 2.106718] i915 0000:00:02.0: pixelformat: RGB
[ 2.106719] i915 0000:00:02.0: colorimetry: sRGB
podman create --name at-warrior --label=io.containers.autoupdate=registry --publish 8001:8001 --volume at-warrior-projects:/home/warrior/projects atdr.meo.ws/archiveteam/warrior-dockerfile
mkdir -p ~/.config/systemd/user
podman generate systemd --new at-warrior >~/.config/systemd/user/at-warrior.service
systemctl --user daemon-reload
systemctl --user enable --now at-warrior.service
systemctl --user enable --now podman-auto-update.timer
@codyps
codyps / stdin
Created November 24, 2021 15:26
stdin
with import <nixpkgs> {};
rustPlatform.buildRustPackage {
pname = "remule";
version = "1.0.0";
cargoLock = {
lockFile = ./Cargo.lock;
};
@codyps
codyps / stdin
Created November 24, 2021 15:26
stdin
with import <nixpkgs> {};
rustPlatform.buildRustPackage {
pname = "remule";
version = "1.0.0";
cargoLock = {
lockFile = ./Cargo.lock;
};
with import <nixpkgs> {};
let
customBuildRustCrateForPkgs = pkgs: pkgs.buildRustCrate.override {
defaultCrateOverrides = pkgs.defaultCrateOverrides // {
sqlx-macros = attrs: {
buildInputs =
lib.optionals
pkgs.stdenv.isDarwin
[ pkgs.darwin.apple_sdk.frameworks.SystemConfiguration ];
@codyps
codyps / 0001-disable-bpf-to-fix-build-see-https-gitlab.com-qemu-p.patch
Created October 4, 2021 16:49
0001-disable-bpf-to-fix-build-see-https-gitlab.com-qemu-p.patch
From bcfa8fa5d4a1e90e6eea72d2fcfeaca200858e55 Mon Sep 17 00:00:00 2001
From: Cody P Schafer <dev@codyps.com>
Date: Mon, 4 Oct 2021 12:28:35 -0400
Subject: [PATCH] disable bpf to fix build, see
https://gitlab.com/qemu-project/qemu/-/issues/566
---
PKGBUILD | 1 +
1 file changed, 1 insertion(+)
@codyps
codyps / homecody.configi3config
Created May 4, 2021 14:42
/home/cody/.config/i3/config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@codyps
codyps / 0001-update-to-2.36.1-to-match-current-arch-version.patch
Created March 25, 2021 14:39
0001-update-to-2.36.1-to-match-current-arch-version.patch
From 7ec8fa2fe1a6f08cc54b9e9da9817ca246aec78d Mon Sep 17 00:00:00 2001
From: Cody Schafer <dev@codyps.com>
Date: Thu, 25 Mar 2021 10:39:24 -0400
Subject: [PATCH] update to 2.36.1 to match current arch version
- dropping `--enable-shared` mirrors upstream arch change
0a43b430d838431c2ac59b49a45202584171eb53 upgpkg: binutils 2.36-2:
remove shared library to prevent poor linking in ld

Keybase proof

I hereby claim:

  • I am jmesmon on github.
  • I am codyps (https://keybase.io/codyps) on keybase.
  • I have a public key ASCrfpmKF9J0RwCYw5byBQqGUnpnRuYtpOddeiO0UuV3ago

To claim this, I am signing this object: