View cavestoryplus_dump.sh
#!/bin/sh
# Tool for generating acceptable soundtrack Oggs from Cave Story+ data files
#
# Usage:
# 1. Save this and chmod it executable
# 2. cd into CaveStory+/data/base/Ogg11
# 3. Run something like "~/cavestoryplus_dump.sh curly"
# 4. Enjoy your music
#
# Dependencies:
View killall_wineprefixes.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
`wineserver -k` wrapper which kills every WINEPREFIX the user has running
(Very useful for killing misbehaving games in PlayOnLinux)
"""
__appname__ = "Blanket Wineserver Killer for Linux"
__author__ = "Stephan Sokolow (deitarion/SSokolow)"
__version__ = "0.2"
View Makefile
# Makefile for unxwb from http://aluigi.altervista.org/papers.htm
# NOTE: You must have the zlib development headers installed
#
# Instructions:
# - `make` or `make build` to build a native binary.
# - `make multiarch` to build 64-bit and 32-bit binaries on a 64-bit system
# - `make dist` to produce an optimized zip file from "make multiarch"
# (Also requires `advzip` from AdvanceCOMP installed)
CC = gcc
View crontab
# Add this to your USER (not root) crontab for daily update checks
0 6 * * * DISPLAY=:0 ~/bin/update_check.sh
View task_skip_daily
#!/usr/bin/expect --
spawn task "( recur.is:1d or recur.is:daily )" due.before:now status:pending delete
for {} 1 {} {
expect {
"Permanently delete task" { send "y\n"}
"This is a recurring task. Do you want to delete all pending recurrences of this same task? (yes/no)" { send "n\n"}
eof { exit }
}
}
View find_broken_symlinks.sh
View export_tab_groups.py
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""Quick and Dirty Tab Groups Dumper for Firefox
--snip--
Copyright (C) 2014 Stephan Sokolow
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
View sparse_montage.py
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
@todo: Decide on how to give this a command-line interface.
"""
from __future__ import (absolute_import, division, print_function,
with_statement, unicode_literals)
__author__ = "Stephan Sokolow (deitarion/SSokolow)"
View gog_unrar.py
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""Unpack wrapper for GOG.com installers using password-protected RAR files"""
from __future__ import (absolute_import, division, print_function,
with_statement, unicode_literals)
__author__ = "Stephan Sokolow (deitarion/SSokolow)"
__appname__ = "gog_unrar.py"
__version__ = "0.1rc1"
View battery_monitor.py
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""Simple, efficient low battery monitor
By: Stephan Sokolow (deitarion/SSokolow)
Written for Guest2587 @ FreeNode
Released under the MIT license
Dependencies:
- python-gi