Skip to content

Instantly share code, notes, and snippets.

View bearcatsandor's full-sized avatar

Bearcat M. Şándor bearcatsandor

View GitHub Profile
~ : USE=opencl doas emerge -pav mesa 03/12/2024 09:58:49 AM
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 4.30 s (backtrack: 0/20).
[ebuild R ] media-libs/mesa-24.0.2::gentoo USE="X d3d9 gles2 llvm lm-sensors (opengl) osmesa proprietary-codecs vaapi vdpau vulkan vulkan-overlay wayland zstd -debug -gles1 -opencl (-selinux) -test -unwind -valgrind -xa (-zink)" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="17 -15 -16" VIDEO_CARDS="radeonsi virgl -d3d12 (-freedreno) -intel -lavapipe (-lima) -nouveau (-panfrost) -r300
[colors]
foreground = "#cdcbe6"
background = "#2f2f2f"
cursor_bg = "#cdcbe6"
cursor_border = "#bfbfbf"
cursor_fg = "#cdcbe6"
selection_bg = "#2f2f2f"
selection_fg = "#bfbfbf"
ansi = [
@bearcatsandor
bearcatsandor / gist:244ad0603f88d9a86bb7c6128e80208e
Created August 8, 2023 22:44
Errors even when following manual (Yes, blur is its own subsection)
# environment variables suggested on https://wiki.hyprland.org/Configuring/Environment-variables/
# env GDK_BACKEND,wayland
# env QT_QPA_PLATFORM,wayland,xcb
# env SDL_VIDEODRIVER,wayland
# env CLUTTER_BACKEND,wayland
# env XDG_CURRENT_DESKTOP,Hyprland
# env XDG_SESSION_TYPE,wayland
# env XDG_SESSION_DESKTOP,hyprland
# env QT_AUTO_SCREEN_SCALE_FACTOR,1
export def main [] {
# This theme uses https://github.com/nushell/nu_scripts/blob/main/themes/themes/nushell-dark.nu
# as of 2023-07-28 as a base
# color definitions
let catbg0 = "#454545"
let catbg1 = "#4d5159"
let catbg2 = "#636a73"
let catbg3 = "#7b838c"
@bearcatsandor
bearcatsandor / gist:ef359938d27e29474ab72a6ed13a7b5e
Last active July 28, 2023 21:54
Nginx config for a new migration
nginx.conf:
user www-data;
worker_processes auto;
pid /var/run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
[16456.117280] RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x4a3/0x560 [iwlwifi]
[16456.117322] iwl_fwrt_dump_error_logs+0x24/0x200 [iwlwifi]
[16456.117357] iwl_trans_sync_nmi_with_addr+0x7b/0x160 [iwlwifi]
[16456.117375] iwl_trans_pcie_sync_nmi+0x3f/0x50 [iwlwifi]
[16456.117392] iwl_fw_dbg_error_collect+0x5f/0xe0 [iwlwifi]
[16456.117425] ? __iwl_err+0x17f/0x190 [iwlwifi]
[16456.117692] iwlwifi 0000:1c:00.0: HW error, resetting before reading
[16456.143505] iwlwifi 0000:1c:00.0: Loaded firmware version: 29.198743027.0 3168-29.ucode
[16456.143508] iwlwifi 0000:1c:00.0: 0x00000000 | ADVANCED_SYSASSERT
[16456.143510] iwlwifi 0000:1c:00.0: 0x00000000 | trm_hw_status0
╭────┬───────────────────────────────────────────────────────┬───────────────────────────────────────────────────────────────────────┬──────────────╮
│ # │ albumartist │ album │ catalognum │
├────┼───────────────────────────────────────────────────────┼───────────────────────────────────────────────────────────────────────┼──────────────┤
│ 0 │ ランカ・リー=中島愛, シェリル・ノーム starring May’n │ 劇場版マクロスF サヨナラノツバサ netabare album the end of "triangle" │ VTCL-60260 │
│ 1 │ 菅野よう子 │ Napple Tale 妖精図鑑 │ MJCG-80042 │
│ 2 │ 菅野よう子 │ ARJUNA オンナの港 │ VICL-60735 │
│ 3 │ 菅野よう子 │ 水の女 │ VICL-60975 │
│ 4 │ 菅野よう子
albumtype,copyright,albumstatus,albumartist_sort,mb_albumartistid,lyrics,label,artist_sort,rg_album_peak,encoder,track,encoder_settings,rg_album_gain,mb_releasetrackid,year,grouping,genre,bitrate_mode,mb_trackid,mb_artistid,album,r128_album_gain,country,artist_credit,disctotal,length,bitrate,encoder_info,format,day,rg_track_gain,original_date,channels,samplerate,albumartist_credit,r128_track_gain,artists,artist,comp,bitdepth,original_year,mb_workid,catalognums,tracktotal,lyricist,comments,language,title,arranger,genres,mb_releasegroupid,acoustid_fingerprint,mb_albumartistids,catalognum,barcode,albumartists,disc,mb_albumid,script,albumtypes,acoustid_id,isrc,disctitle,media,initial_key,month,composer,bpm,albumdisambig,rg_track_peak,url,original_month,albumartist,mb_artistids,date,languages,original_day,asin,art,composer_sort
,,Official,"Lee, Ranka=Nakajima, Megumi, Nome, Sheryl starring May’n",cc60ec6a-b1e6-444a-ad39-3e72affb8295,"Tekst piosenki:
Sayonara koigokoro nan-do mo egao de kazattanoni
Demo kimi ga kim
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
Inflector-0.11.4
adler-1.0.2
ahash-0.7.6
ahash-0.8.1
-pqv '=app-shells/nushell-0.78.0::moonwind'`.
* The complete build log is located at '/var/tmp/portage/app-shells/nushell-0.78.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-shells/nushell-0.78.0/temp/environment'.
* Working directory: '/var/tmp/portage/app-shells/nushell-0.78.0/work/nushell-0.78.0'
* S: '/var/tmp/portage/app-shells/nushell-0.78.0/work/nushell-0.78.0'
>>> Compiling source in /var/tmp/portage/app-shells/nushell-0.78.0/work/nushell-0.78.0 ...
* cargo build --release --features stable --features dataframe --workspace
error: failed to select a version for the requirement `miette = "^5.6.0"` (locked to 5.6.0)
candidate versions found which didn't match: 5.3.0
location searched: directory source `/var/tmp/portage/app-shells/nushell-0.78.0/work/cargo_home/gentoo` (which is replacing registry `crates-io`)