Skip to content

Instantly share code, notes, and snippets.

View solarkraft's full-sized avatar
🌟
Have a star!

Paul solarkraft

🌟
Have a star!
View GitHub Profile
@solarkraft
solarkraft / .prettierignore
Last active October 3, 2025 21:17
Standard prettier & vscode formatting setup. Do full format with `prettier --write .`
pnpm-lock.yaml
node_modules
dist
// ==UserScript==
// @name Tidal declutterer
// @namespace http://tampermonkey.net/
// @version 0.7
// @description Gives the Tidal web app some nice visual tweaks and hides non-personalized recommendations (ads). User configurable.
// @author [email protected]
// @match https://listen.tidal.com/*
// ==/UserScript==
// The app is made with react and it would be preferable to directly hook into that to
@solarkraft
solarkraft / index.html
Last active April 28, 2022 23:47
Decoupling Logeq's published web app from its content
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<link href="static/css/style.css" rel="stylesheet" type="text/css" />
<!-- By far the least important -->
<!-- <link href="static/css/tabler-icons.min.css" rel="stylesheet" type="text/css" /> -->
<link href="custom.css" rel="stylesheet" type="text/css" />
// ==UserScript==
// @name Decluttered mailbox.org
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Make io.ox (mailbox.org's webmailer) a bit nicer on the eyes
// @author [email protected]
// @match https://office.mailbox.org/*
// @match https://webmail.strato.de/appsuite/*
// ==/UserScript==
@solarkraft
solarkraft / custom.css
Last active March 2, 2024 12:08
Logseq custom.css for publishing
/*** Publishing: Hide things that aren't very useful for a read-only view */
/** Hide page properties (public pages will always have public: true) */
.content .pre-block { display: none; }
/** Title */
/* Make title non-editable */
#main-container .page-title { pointer-events: none; }
/** Hide useless sidebar stuff */
@solarkraft
solarkraft / wayfire.ini
Last active June 12, 2022 13:39
My desktop configuration
# Paul's Wayfire config
# Check out https://github.com/WayfireWM/wayfire/wiki/Configuration for help
### Output configuration
# Layout: Positiom in virtual pixels
# Negative values are mishandled by XWayland and some tools, so stay positive :-)
# 15" 4K laptop display
[output:eDP-1]
@solarkraft
solarkraft / evdev-touch-viewer-gui.py
Last active September 20, 2020 00:03
evdev touch viewer
import sys
import tkinter
import time
try:
from evdev import InputDevice, categorize, ecodes
except ImportError:
print("This script requires the evdev package (https://pypi.org/project/evdev/). ")
exit()
try:
@solarkraft
solarkraft / evdev-multi-touch-viewer.py
Created September 19, 2020 18:13
evdev touch points viewer
# needs root.
from evdev import InputDevice, categorize, ecodes
# input device (right one is nice to find using sudo evemu-describe)
dev = InputDevice('/dev/input/event14')
print(dev)
# list of x, y tuples
// build with env GOOS=linux GOARCH=arm GOARM=5 go build
package main
import (
"fmt"
"os"
"os/exec"
"github.com/godbus/dbus"
)
@solarkraft
solarkraft / pinafore.svg
Created May 5, 2019 21:22
A pinafore desktop icon
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.