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
#!/bin/bash | |
# requirements: xwininfo, xprop | |
# usage: | |
# - (recommended) bind this script to a key in sway/orbment | |
# - run the script to get a bunch of debug information about the currently displayed x windows written to a logfile | |
# - pro-tip: run it before and after opening a window/dialog/tooltip, then do a diff of both logs to get just what you need | |
log=~/docs/logs/xwininfo/$(date +%s).log | |
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
#!/bin/sh | |
# | |
# Author: robotanarchy | |
# Source: http://git.io/synergy-over-ssh | |
# License: Public Domain | |
# | |
# This script is an alterantive to x2x over ssh, for connecting two | |
# machines with synergy over SSH and sharing mouse and keyboard from | |
# the local machine to the remote machine. | |
# |
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
# This is a quick 'n' dirty made syntax highlighting file for Geany. | |
# It is based on the ASM-lexer with all its limitations. | |
# | |
# Source: | |
# https://gist.github.com/robotanarchy/dcc399645e4f36be5de7 | |
# | |
# Installation: | |
# - Save this file as ~/.config/geany/filedefs/filetypes.AutoIt3.conf | |
# - add this line to "filetype_extensions.conf" (inside Geany menu Tools | |
# / Config Files): |
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
#!/bin/bash | |
input="$1" | |
output="_decrypted_$input" | |
if [[ $# != 2 ]] || [[ ! -f "$input" ]]; then | |
echo "Syntax: $(basename $0) INPUTFILE.PDF PASSWORD" | |
exit 1 | |
fi |
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
#!/bin/bash | |
# | |
# This script caches the pygmentize output. | |
# Original script by michih57 | |
# | |
# Modifications by robotanarchy: | |
# - remove real_pygmentize variable | |
# - store hash in 'out' folder | |
# - replace '\$' with '$' to fix syntax highlighting in editors | |
# - also cache style information |
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
#!/usr/bin/node | |
// License: Public Domain | |
if(process.argv.length != 3) | |
{ | |
console.log("Lists XSPF files as fb2k-style text playlists."); | |
console.log("Syntax: xspfcat.js playlist.xspf"); | |
process.exit(1); | |
} |