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 python3 | |
# -*- coding: utf-8 -*- | |
# | |
# Author: slowpoke <mail+gist@slowpoke.io> | |
# | |
# I place this in the Public Domain. | |
# Do whatever you want. Fuck copywrong. | |
import os | |
import time |
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 | |
# create the directory structure and some files | |
# for an ansible role | |
ROLE=$1 | |
if [ -z "$ROLE" ]; then | |
echo "need a role name" | |
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/sh | |
# Fix all shebangs of files in a directory which do not explicitly state the | |
# major version number of the Python interpreter, ie refer to /usr/bin/python | |
# and assume that it is 2.x (or 3.x, but most Python 3 projects already use | |
# /usr/bin/env python3). | |
echo "Explicit is better than implicit! | |
This will fix all shebangs referring to /usr/bin/python | |
in all files below the current directory. |
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 python3 | |
import time | |
import requests # pip install requests | |
import sh # pip install sh | |
MPD_HOST = "mpd.rzl" | |
SCROLL_WIDTH = 20 |
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
package main | |
import ( | |
"fmt" | |
"image" | |
"log" | |
"os" | |
"github.com/BurntSushi/xgb/randr" | |
"github.com/BurntSushi/xgbutil" |
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 python3 | |
# git.io - generate git.io URLs | |
# | |
# Author: slowpoke <mail+git@slowpoke.io> | |
# | |
# This program is free software under the non-terms | |
# of the Anti-License. Do whatever the fuck you want. | |
# See http://anti-licen.se for a copy. | |
# | |
# Github: https://www.github.com/proxypoke/kirschwasser |
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
# Maintainer: Mike Redd <mredd@0tue0.com> | |
# Contributor: Mike Redd <mredd@0tue0.com> | |
pkgname=ttf-miso | |
pkgver=1 | |
pkgrel=1.3 | |
pkgdesc="MISO is an architectural lettering font completed in 2006 by Mårten Nettelbladt." | |
arch=('any') | |
license=('custom:free') | |
url="http://martennettelbladt.se/miso" | |
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') |
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/python | |
import blackbox | |
import re | |
ach = re.compile("(\s+|^)ach\s+[^\s]+\s*", re.I) | |
def main(): | |
irc = blackbox.IRC(ssl=True) |
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
LD [M] /home/slowpoke/src/linux-ck/zfs/zfs/src/zfs-0.6.0-rc12/module/zfs/zfs.o | |
Building modules, stage 2. | |
MODPOST 6 modules | |
FATAL: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'delayed_work_timer_fn' | |
make[4]: *** [__modpost] Error 1 | |
make[3]: *** [modules] Error 2 | |
make[3]: Leaving directory `/usr/src/linux-3.7.0-1-ck' | |
make[2]: *** [modules] Error 2 | |
make[2]: Leaving directory `/home/slowpoke/src/linux-ck/zfs/zfs/src/zfs-0.6.0-rc12/module' | |
make[1]: *** [all-recursive] Error 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
" Name: KOS-MOS vim colorscheme | |
" Author: slowpoke <mail at slowpoke dot io> | |
" License: WTFPLv2 | |
" Version: 0.1 (Work in Progress) | |
" About: A colorscheme inspired by and in dedication to the lovely female | |
" android from the Xenosaga series. | |
" some boilerplate | |
set background=dark | |
highlight clear |
NewerOlder