Skip to content

Instantly share code, notes, and snippets.

View SamLukeYes's full-sized avatar
💜
stolen by a vtuber that smells like a gymbag

SamLukeYes

💜
stolen by a vtuber that smells like a gymbag
  • 14:57 (UTC +08:00)
View GitHub Profile
@SamLukeYes
SamLukeYes / gdm.log
Created February 7, 2025 13:59
GDM forcing me to use x11...
Feb 07 21:53:09 absolute-gnome systemd[1]: Starting Display Manager...
Feb 07 21:53:09 absolute-gnome gdm[1805]: Gdm: Enabling debugging
Feb 07 21:53:09 absolute-gnome gdm[1805]: Gdm: Changing user:group to gdm:gdm
Feb 07 21:53:09 absolute-gnome gdm[1805]: GLib-GIO: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
Feb 07 21:53:09 absolute-gnome systemd[1]: Started Display Manager.
Feb 07 21:53:09 absolute-gnome gdm[1805]: Gdm: Successfully connected to D-Bus
Feb 07 21:53:09 absolute-gnome gdm[1805]: Gdm: GdmManager: GDM starting to manage displays
Feb 07 21:53:09 absolute-gnome gdm[1805]: Gdm: GdmLocalDisplayFactory: enumerating seats from logind
Feb 07 21:53:09 absolute-gnome gdm[1805]: Gdm: GdmLocalDisplayFactory: display for seat seat0 requested
Feb 07 21:53:09 absolute-gnome gdm[1805]: Gdm: GdmLocalDisplayFactory: Checking if udev has settled enough to support graphics.
Running phase: checkPhase
Executing cargoCheckHook
++ cargo test -j 28 --profile release --target x86_64-unknown-linux-gnu --offline -- --test-threads=28 --skip=macros::assert_send_and_sync --skip=macros::time_it
warning: `/build/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
warning: `/build/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
Compiling libc v0.2.153
Compiling memchr v2.7.1
Compiling log v0.4.21
@SamLukeYes
SamLukeYes / default.nix
Created December 11, 2023 12:27
try building lx-music-desktop from source
{ lib
, buildNpmPackage
, fetchFromGitHub
, electron
, jq
, makeDesktopItem
, makeWrapper
, moreutils
# , python3
}:
(venv) $ pip install scalene
Collecting scalene
Using cached scalene-1.5.21.4.tar.gz (7.9 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: wheel>=0.36.1 in ./.venv/scalene/lib/python3.11/site-packages (from scalene) (0.41.0)
Collecting rich>=10.7.0 (from scalene)
Obtaining dependency information for rich>=10.7.0 from https://files.pythonhosted.org/packages/8d/5f/21a93b2ec205f4b79853ff6e838e3c99064d5dbe85ec6b05967506f14af0/rich-13.5.2-py3-none-any.whl.metadata
Downloading rich-13.5.2-py3-none-any.whl.metadata (18 kB)
Collecting cloudpickle>=1.5.0 (from scalene)
Downloading cloudpickle-2.2.1-py3-none-any.whl (25 kB)
@SamLukeYes
SamLukeYes / gen_srcinfo.xsh
Last active September 5, 2023 14:38
Migrate Loong Arch Linux PKGBUILDs to a combined repo to be managed with lilac
#! /usr/bin/env xonsh
import os
TARGET_DIRS = `core/.*` + `extra/.*`
children = 0
cpus = os.cpu_count()
for $d in TARGET_DIRS:
@SamLukeYes
SamLukeYes / archpkg_db_update
Last active September 13, 2023 14:30
lilac-loong config
#!/bin/sh
fakeroot pacman -Sy --dbpath ~/.lilac/pacmandb/archpkg --config ~/.lilac/pacmandb/archpkg/pacman.conf
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1682879489,
"narHash": "sha256-sASwo8gBt7JDnOOstnps90K1wxmVfyhsTPPNTGBPjjg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "da45bf6ec7bbcc5d1e14d3795c025199f28e0de0",
"type": "github"
@SamLukeYes
SamLukeYes / shell.nix
Created February 4, 2023 17:42
shell.nix for waydroid_script
{ pkgs ? import <nixpkgs> {} }:
let
python-with-my-packages = pkgs.python3.withPackages (p: with p; [
dbus-python
tqdm
requests
]);
in
with pkgs; mkShell {
packages = [ lzip python-with-my-packages sqlite ];
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
1 SamLukeYes/deepin-wine6-stable 6.0.0.24-1 -> 6.0.0.39-1
:: Packages to exclude (eg: 1 2 3, 1-3):
::
:: Resolving dependencies...
:: There are 3 providers available for lib32-opengl-driver:
:: Repository multilib:
1) lib32-mesa 2) lib32-mesa-amber 3) lib32-nvidia-utils
@SamLukeYes
SamLukeYes / debug.log
Created April 27, 2022 10:06
Pacman SegFault on NixOS
$ sudo pacstrap -c /mnt systemd --debug
==> Creating install root at /mnt
==> Installing packages to /mnt
debug: pacman v6.0.1 - libalpm v13.0.1
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: Architecture: auto
debug: config: arch: x86_64