This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// You can bind "Rerun Last Task" to something convenient like cmd+R | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Run current file", | |
"type": "shell", | |
"command": "echo Running from file: \"$(cat ${file})\"", | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 solarkraft@mailbox.org | |
// @match https://listen.tidal.com/* | |
// ==/UserScript== | |
// The app is made with react and it would be preferable to directly hook into that to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 solarkraft@mailbox.org | |
// @match https://office.mailbox.org/* | |
// @match https://webmail.strato.de/appsuite/* | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// build with env GOOS=linux GOARCH=arm GOARM=5 go build | |
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"github.com/godbus/dbus" | |
) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Terminal=false | |
Name=Pinafore | |
Icon=pinafore | |
StartupWMClass=pinafore | |
Exec=firefox -P App --class pinafore --new-window http://pinafore.social/ --height 800 --width 500 |