Skip to content

Instantly share code, notes, and snippets.

@Fweeb
Fweeb / blender-multi_gpu.markdown
Last active January 16, 2026 01:11
Rendering in Blender on a machine with multiple GPUs

Rendering in Blender on a machine with multiple GPUs

So here's the premise: For scenes that take around a minute or less to render, performance is actually worse if you render on all of the cards with a single instance of Blender. This is because (AFAIK) there's a bit of additional time necessary to collect the render results from each card and stitch them together. That time is a fixed short duration, so it's negligible on larger/longer render jobs. However, on shorter render jobs, the 'stitch time' has a much more significant impact.

I ran into this with a machine I render on that has 4 Quadro K6000s in it. To render animations, I ended up writing a few little scripts to facilitate launching 4 separate instances of Blender, each one tied to one GPU. Overall rendertime was much shorter with that setup than one instance of Blender using all 4 GPUs.

The setup works basically like this... I have a the following Python script (it can be anywhere on your hard drive, so long as you remember the path to it).

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active January 16, 2026 01:11
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@dladukedev
dladukedev / semantics-demo.kt
Created July 21, 2023 13:17
Overview of how TalkBack interprets Different Semantic Modifiers
// Reads "One" -> "Two" -> "Three"
Row(modifier = Modifier.semantics(mergeDescendants = false) { }) {
Text("One")
Column {
Text("Two")
Text("Three")
}
}
// Reads "One Two Three"
@bennyistanto
bennyistanto / Install_CUDA_and_cuDNN_using_conda.md
Last active January 16, 2026 01:01
Install CUDA and cuDNN using Conda

Install CUDA and cuDNN using Conda

Tested on:

Windows 11 Pro for Workstations and WSL2 Debian 12
Processor: Intel(R) Xeon(R) Gold 6138 CPU @ 2.00GHz 2.00 GHz (2 processors)
Installed RAM: 384 GB
VGA: NVIDIA Quadro P2000 5GB


@fredjoseph
fredjoseph / AwesomeCliApps.md
Last active January 16, 2026 00:58
Awesome CLI/Terminal Apps

Awesome Apps

  • description: Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, fish, tmux, IPython, Awesome, i3 and Qtile.
  • language: Python
  • description: If you like the interface of HTTPie but miss the features of curl, curlie is what you are searching for. Curlie is a frontend to curl that adds the ease of use of httpie, without compromising on features and performance. All curl options are exposed with syntax sugar and output formatting inspired from httpie.
  • language: Go
@Klerith
Klerith / testing-configuration.md
Last active January 16, 2026 00:58
Configuración de Vitest + React Testing Library
@mrabbitt
mrabbitt / download_splunk_pdf_docs.py
Created November 20, 2012 21:26
Script to download all PDF files for a particular version of Splunk documentation.
#!/usr/bin/env python
'''
Script to download all PDF files for a particular version of Splunk documentation.
Requirements:
requests: http://docs.python-requests.org
beautifulsoup4: http://www.crummy.com/software/BeautifulSoup/
(pip install -U requests beautifulsoup4)
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active January 16, 2026 00:56
Conventional Commits Cheatsheet

Claude Agent SDK Technical Specification

Version: 1.0.0 Protocol Version: 2024-11-05 Last Updated: 2026-01-10

Table of Contents

  1. Overview
  2. Architecture
@kakwa
kakwa / daemon-skel.pl
Last active January 16, 2026 00:35
Skeleton script for perl daemon
#!/usr/bin/env perl
use strict;
use warnings;
# command line parsing
use Getopt::Long;
# pid file handling
use File::Pid;
# logs