Skip to content

Instantly share code, notes, and snippets.

View sequencerr's full-sized avatar
👨‍💻

sequencerr

👨‍💻
  • 02:22 (UTC +01:00)
View GitHub Profile
@sequencerr
sequencerr / .sh
Created October 1, 2025 01:48
list cows
for k in $(docker run --rm -i -q rancher/cowsay -l | tail -n+2); do echo "cowfile: '$k'"; cat /etc/bash_completion.d/git-prompt | head -n1 | docker run --rm -i -q rancher/cowsay -f $k; done | less
This file has been truncated, but you can view the full file.
DKMS make.log for nvidia-current-535.183.06 for kernel 6.12.9+bpo-amd64 (x86_64)
Mon Jan 27 03:23:29 PM CET 2025
make KBUILD_OUTPUT=/lib/modules/6.12.9+bpo-amd64/build V=1 -C /lib/modules/6.12.9+bpo-amd64/source M=/var/lib/dkms/nvidia-current/535.183.06/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/6.12.9+bpo-amd64/source NV_KERNEL_OUTPUT=/lib/modules/6.12.9+bpo-amd64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm nvidia-peermem" INSTALL_MOD_DIR=kernel/drivers/video NV_SPECTRE_V2=0 modules
make[1]: Entering directory '/usr/src/linux-headers-6.12.9+bpo-common'
make -C /usr/src/linux-headers-6.12.9+bpo-amd64 \
-f /usr/src/linux-headers-6.12.9+bpo-common/Makefile modules
make[2]: Entering directory '/usr/src/linux-headers-6.12.9+bpo-amd64'
make --no-print-directory -C /usr/src/linux-headers-6.12.9+bpo-amd64 \
-f /usr/src/linux-headers-6.12.9+bpo-common/Makefile modules
make -f /usr/src/linux-headers-6.12.9+bpo-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/535.183.06/bui
apt install -t bookworm-backports nvidia-driver nvidia-smi nvidia-settings firmware-misc-nonfree linux-headers-$(uname -r)
[sudo] password for ####:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
firmware-misc-nonfree is already the newest version (20230210-5).
linux-headers-6.10.11+bpo-amd64 is already the newest version (6.10.11-1~bpo12+1).
linux-headers-6.10.11+bpo-amd64 set to manually installed.
The following additional packages will be installed:
firmware-nvidia-gsp glx-alternative-mesa glx-alternative-nvidia glx-diversions libegl-nvidia0 libgl1-nvidia-glvnd-glx libglx-nvidia0
@sequencerr
sequencerr / .js
Created September 17, 2024 18:00
get git configs
// https://git-scm.com/docs/git-config#Documentation/git-config.txt-advice
[...document.getElementById('Documentation/git-config.txt-advice').nextElementSibling.querySelectorAll('.hdlist1 a')].map(e => '\t' + e.nextSibling.textContent.trim() + ' = false').join('\n')
@sequencerr
sequencerr / TaskQueue.ts
Created August 6, 2023 12:37
single task runner queue (not paralleled)
export class TaskQueue {
private tasks: ((...args: any) => any)[] = [];
private running = false;
public add(task: (...args: any) => any) {
this.tasks.push(task);
if (!this.running) this.run();
}
private async run() {
@sequencerr
sequencerr / gist:185a112f3bc627ace46f2d43aa6f54be
Last active June 9, 2022 08:44
Favorite Anime OST (Op/Ed) Backup
I add only from the anime I've watched
https://shikimori.one/Sequencer
https://www.youtube.com/playlist?list=PLrV_QkwGL4zx_DSZnWSlh5RVVhEWdUm1q
https://www.diffchecker.com/diff
https://regexr.com/6memi
@sequencerr
sequencerr / gist:f83fdd5ff8356d13688d097e8abe8fae
Created July 23, 2021 16:17
Message from create-react-app cli start command if tsconfig is wrong
// The following changes are being made to your tsconfig.json file:
// - compilerOptions.target to be suggested value: es5 (this can be changed)
// - compilerOptions.lib to be suggested value: dom,dom.iterable,esnext (this can be changed)
// - compilerOptions.allowJs to be suggested value: true (this can be changed)
// - compilerOptions.skipLibCheck to be suggested value: true (this can be changed)
// - compilerOptions.esModuleInterop to be suggested value: true (this can be changed)
// - compilerOptions.allowSyntheticDefaultImports to be suggested value: true (this can be changed)
// - compilerOptions.strict to be suggested value: true (this can be changed)
// - compilerOptions.forceConsistentCasingInFileNames to be suggested value: true (this can be changed)
// - compilerOptions.noFallthroughCasesInSwitch to be suggested value: true (this can be changed)
@sequencerr
sequencerr / .prettierignore
Last active July 23, 2021 13:13
My personal config for prettier including some plugins requirement
.git/
.github/
.vscode/
/node_modules
/build
@sequencerr
sequencerr / watch.json
Created September 30, 2020 20:37
glitch
{
"install": {
"include": ["^package\\.json$", "^\\.env$"]
},
"restart": {
"exclude": ["^public/", "^dist/"],
"include": ["\\.js$", "\\.coffee$", "\\.json"]
},
"throttle": 1000
}
function checkRandomFunc(min, max, callback) {
const set = [...new Set(Array.from(Array(max * 1000), () => callback(min, max)).sort((a, b) => a - b))];
return `From ${set[0]} to ${set[set.length - 1]}`;
}