I hereby claim:
- I am steviethecat on github.
- I am darthfaber (https://keybase.io/darthfaber) on keybase.
- I have a public key whose fingerprint is 57A3 C702 31FD B663 83A0 B075 7F48 8EA4 4650 6D38
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
select pg_notify('json', row_to_json(x)::text) as notify | |
from (select 'hello world' as message, 42 as answer ) x; |
#!/bin/bash | |
export PGSERVICE=database | |
[email protected] | |
( | |
cat <<__EOT__ | |
<html> | |
<body> | |
<pre> |
#!/bin/bash | |
# This script takes care of changing the Scansnap Manager | |
# save folder every month. This script ought to be run from | |
# cron. | |
# | |
# Dirk-Jan Faber | |
ROOTSAVE=~/Documents/scan | |
SAVEDIR="${ROOTSAVE}/$(date +'%Y/%m')" |
#!/bin/bash | |
# Some environment variables ought to be set | |
: ${BINGMAP_API_KEY?"You need to set the BINGMAP_API_KEY"} | |
: ${HUE_BRIDGE?"You need to set the HUE_BRIDGE"} | |
: ${HUE_KEY?"You need to set the HUE_KEY"} | |
# preperation for storing the temp file | |
temp_dir=/tmp/$RANDOM-$$ | |
install -d -m 700 "$temp_dir" || { echo "failed to create temp_dir" >&2; exit 1; } |
#/bin/env perl | |
# | |
# Simple script for encoding a Xerox PIN code. | |
for (0 .. 3 ) { | |
my @c = split(//, qw/@ABCDEFGHI [ZYX_^]\\SR TUVWPQRS\\] UTWVQPSR]\\/[$_]); | |
print @c[(split(//, $ARGV[0]))[$_]]; | |
} | |
print "\n"; |
function at { | |
unset IFS | |
MOMENT=$* | |
AT=$(which at) | |
# First try at to see if I finally figured out to produce non-garbled time | |
if ${AT} ${MOMENT} 2>/dev/null | |
then | |
# worked allright, we can exit | |
exit |
create or replace function in_arpa(inet) | |
returns text | |
language plpgsql | |
as | |
$function$ | |
declare | |
p_return text; | |
begin | |
case family($1) | |
when 4 then |
#include <Ticker.h> | |
Ticker secondTick; | |
#define debug 1 | |
volatile int watchdogCount = 0; | |
void ISRwatchdog() { | |
watchdogCount++; |
/*************************************************************************** | |
* _ _ ____ _ | |
* Project ___| | | | _ \| | | |
* / __| | | | |_) | | | |
* | (__| |_| | _ <| |___ | |
* \___|\___/|_| \_\_____| | |
* | |
* Copyright (C) 1998 - 2015, Daniel Stenberg, <[email protected]>, et al. | |
* | |
* This software is licensed as described in the file COPYING, which |