I hereby claim:
- I am qbit on github.
- I am qbit (https://keybase.io/qbit) on keybase.
- I have a public key whose fingerprint is 3C03 A9FF 8051 7E97 B590 FFFD EEE2 21C5 9780 F8A7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| var fs = require('fs'), | |
| spawn = require('child_process').spawn, | |
| dir = process.argv[2], | |
| cmd = process.argv[3], | |
| timer = process.argv[4] || 10000, | |
| running_file = ""; | |
| function run_update(file, rcmd) { |
I hereby claim:
To claim this, I am signing this object:
| var tagData = []; | |
| $('#story_tags_a option').each(function() { | |
| var count = $(this).attr('data-html').replace(/.*<em>(.*)<\/em>.*/, "$1"), val, o = {}; | |
| if ( count.match(/\d/) ) { | |
| o.value = count.replace(/^(\d+).*/, "$1"); | |
| } else { | |
| o.value = 0; | |
| } | |
| o.label = $(this).val(); |
| diff --git a/Makefile b/Makefile | |
| index c3a880c..c07ae39 100644 | |
| --- a/Makefile | |
| +++ b/Makefile | |
| @@ -17,6 +17,9 @@ OBJS+= openbsd/strlcat.o openbsd/strlcpy.o openbsd/setmode.o \ | |
| DEFS= -Wall -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ | |
| -DSYSTYPE=\"${OSTYPE}\" | |
| CFLAGS+= ${DEFS} -I. -I${.CURDIR} | |
| +.if ${OSTYPE} == "Darwin" | |
| +LDFLAGS+= -arch x86_64 |
| # ksh git prompt support | |
| # | |
| # Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> | |
| # Distributed under the GNU General Public License, version 2.0. | |
| # | |
| # This script allows you to see repository status in your prompt. | |
| # | |
| # To enable: | |
| # | |
| # 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh). |
| /* | |
| * Script to add read-later urls to instapaper from xombrero | |
| * | |
| * - slightly modified version of the "Read Later" button | |
| * | |
| * To use change OMGAWESOME to the key from the "Read Later" button | |
| * source. | |
| */ | |
| var d = document, |
| #!/bin/bash | |
| IFS=$'\n' | |
| SYNC_DIRS=`cat directory_list.txt` | |
| WD=`pwd` | |
| function loop { | |
| for dir in $SYNC_DIRS; do | |
| cd $dir | |
| IFS=$'\n' |
| javascript: var a=document.getElementsByTagName("*");if(a){var i=a.length;var e;do{e=a[i];if(e){void(e.style.background='#fff');void(e.style.color='#000');}}while(--i);}else{} |
| Index: src/lib/dns.c | |
| =================================================================== | |
| --- src/lib/dns.c (revision 516) | |
| +++ src/lib/dns.c (working copy) | |
| @@ -12,7 +12,14 @@ | |
| #include <windns.h> | |
| #elif defined __use_posix__ | |
| #include <arpa/nameser.h> | |
| +#ifdef __use_openbsd__ | |
| +#define ns_c_in C_IN |