I hereby claim:
- I am rroemhild on github.
- I am rroemhild (https://keybase.io/rroemhild) on keybase.
- I have a public key ASAYIPva1Txin2wZ5SSoSSdsT6oDD66IZfBUVU6NCKbGwAo
To claim this, I am signing this object:
# Vars for log() | |
LOGGER="/usr/bin/logger" # Path to logger | |
FACILITY="LOCAL4" # Syslog facility | |
PROG="´basename $0´" # Program name | |
SYSLOG="YES" # Write to Syslog? (YES/NO) | |
VERBOSE="NO" # Write to STDOUT? (YES/NO) | |
# Function: log() | |
# Usage: log priority "message" | |
log() |
/** | |
* Payload example on port 100: 01FB3700001F0000 | |
**/ | |
function Decoder(bytes, port) { | |
var decoded = {}; | |
if (port === 100) { | |
decoded.open = bytes[0] & 0x01; | |
decoded.voltage = (25 + (bytes[1] & 0xf)) / 10; |
#!/bin/bash | |
( | |
while : ; do | |
wvdial congstar | |
sleep 10 | |
done | |
) & |
[Unit] | |
Description=Errbot | |
After=network.target | |
[Service] | |
Type=forking | |
User=errbot | |
Environment="CONFIGFILE=/etc/errbot/config.py" | |
ExecStart=/usr/local/bin/errbot --daemon --config $CONFIGFILE | |
ExecStop=/bin/kill -SIGINT $MAINPID |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: errbot | |
# Required-Start: $local_fs $remote_fs $network | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Errbot | |
### END INIT INFO |
#!/usr/bin/env python | |
"""Replacement for htpasswd""" | |
# Original author: Eli Carter | |
import os | |
import sys | |
import random | |
from getpass import getpass | |
from optparse import OptionParser |
!---------------------------------------------------------- | |
! Xft settings | |
!---------------------------------------------------------- | |
Xft.dpi: 96 | |
Xft.antialias: true | |
Xft.rgba: rgb | |
Xft.hinting: true | |
Xft.hintstyle: hintslight |
query_yesno () { | |
DEFAULT="no" | |
YES="y" | |
NO="n" | |
case $2 in | |
[Yy]*) YES="Y" | |
DEFAULT="yes";; | |
[Nn]*) NO="N" | |
DEFAULT="no";; |
#!/bin/sh | |
pymod_test() | |
{ | |
echo -n "Testing python module $1: " | |
python -c "import $1" 2> /dev/null | |
retval=$? | |
if [ "$retval" -eq "0" ]; then | |
echo "Ok" | |
else |