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
[Unit] | |
Description=LanguageTool Server Proxy | |
Requires=languagetool-server.service | |
After=languagetool-server.service | |
JoinsNamespaceOf=languagetool-server.service | |
[Service] | |
ExecStart=/lib/systemd/systemd-socket-proxyd 127.0.0.1:8082 | |
PrivateTmp=yes |
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/python3 | |
import sys | |
import subprocess | |
import json | |
LANGUAGETOOL = 'languagetool' | |
LANG = 'en-GB' | |
input_file = None | |
if len(sys.argv) > 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
#!/bin/bash | |
# usage: bspatch oldfile newfile patchfile | |
cp 'torment.exe' 'torment.exe~' | |
bspatch 'torment.exe~' 'torment.exe' 'torment.exe.bspatch' |
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/env bash | |
# pomf.se uploader | |
# requires: curl | |
dest_url='http://pomf.se/upload.php' | |
return_url='http://a.pomf.se' | |
if [[ -n "${1}" ]]; then | |
file="${1}" | |
if [ -f "${file}" ]; then |
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/env python | |
import os,sys,re | |
from lxml import etree as ET | |
folders = sys.argv[1:] | |
if len(folders) == 0: | |
sys.stderr.write("No folders given\n") | |
sys.exit() |
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 | |
if [ "$1" == "post" ]; then | |
sleep 1 | |
DISPLAY=':0' xset dpms force standby | |
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
magic: policeman_ruleset | |
version: 0.1 | |
id: "scheme_magnet" | |
l10n: | |
en-US: | |
name: "Allow Magnet Links" | |
description: "This allows clicking in magnet links" | |
rules: |