Skip to content

Instantly share code, notes, and snippets.

View sineemore's full-sized avatar
🖤

sineemore

🖤
View GitHub Profile
@sineemore
sineemore / README
Last active May 3, 2026 20:55
NVIDIA on musl
NVIDIA on Void Linux x86_64-musl
================================
Proprietray NVIDIA kernel modules + nvidia-modprobe binary for Void Linux x86_64-musl.
- DMKS-only + nvidia-modprobe binary for device files creation
- both drivers and binary from NVIDIA upstream
How it works: kernel modules are libc-independent already,
userspace nvidia libraries can live in glibc Flatpak/chroot/container.
@sineemore
sineemore / xupdates.sh
Last active November 13, 2021 02:25
Script to list updated packages without root
#!/bin/sh
set -eu
argv0="$0"
usage() {
printf 'usage: %s [-s] [-m] [-h] [package...]\n' "$argv0"
}
adobe-flash-plugin-ppapi
CLion
DataGrip
GoLand
JAI
MultiMC
PhpStorm
ReDoomEd.app
RubyMine
tarsnap
@sineemore
sineemore / pair.json
Created September 17, 2021 10:52
pair.json
{
"image1": "https://upload.wikimedia.org/wikipedia/ru/c/cb/AmazingSpiderMan50.jpg",
"image2": "https://upload.wikimedia.org/wikipedia/ru/7/75/Ant-Man_poster.jpg"
}
@sineemore
sineemore / document.html
Last active September 13, 2021 13:09
document.html
<h1 id="sample-markdown">Sample Markdown</h1>
<p>This is some basic, sample markdown.</p>
<h2 id="second-heading">Second Heading</h2>
<ul>
<li>Unordered lists, and:<ol>
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
</li>
@sineemore
sineemore / main.go
Created July 28, 2021 13:41
sleep less on Ctrl+C
package main
import (
"fmt"
"os"
"os/signal"
"time"
)
func main() {
@sineemore
sineemore / lorem.txt
Created July 7, 2021 12:03
Lorem ipsum original paragraph
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
@sineemore
sineemore / main.go
Created May 13, 2021 12:36
SNI patch proxy
package main
import (
"errors"
"flag"
"io"
"log"
"math"
"net"
"os"
@sineemore
sineemore / main.go
Created October 6, 2020 14:19
watch w/o buffering
package main
import (
"context"
"flag"
"fmt"
"os"
"os/exec"
"os/signal"
"time"
@sineemore
sineemore / st-proper-alpha-0.8.2.diff
Last active March 16, 2021 23:04
proper st alpha patch with premultiplied colors
diff --git a/config.def.h b/config.def.h
index 546edda..4f3e806 100644
--- a/config.def.h
+++ b/config.def.h
@@ -82,6 +82,9 @@ char *termname = "st-256color";
*/
unsigned int tabspaces = 8;
+/* bg opacity */
+float alpha = 0.8;