Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block kwharrigan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kwharrigan /
Created Oct 16, 2009
openssl utility script for adding users
if [ $# -ne $EXPECTED_ARGS ]
echo $'Usage: \n\tadduser <name> <CA>'
echo $'\tWhere <name>.csr, <name>.pem, and <name>.key exist\n'
exit 0
kwharrigan / C3D.i
Created Feb 15, 2010
Swig script for C3D and related makefile
View C3D.i
%module C3D
/* Includes the header in the wrapper code */
#include "C3D.h"
#include "vl/vld.h"
/* Parse the header file to generate wrappers */
kwharrigan / requirementtable.xsl
Created May 28, 2010
Topcased Requirements Table XSLT
View requirementtable.xsl
<?xml version="1.0" encoding="UTF-8"?>
* Copyright (c) 2009 RealTime-at-Work.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* Contributors:
kwharrigan /
Created Jun 1, 2010
Process Innosetup Manifest File
B2F='gsub(/\\/, "/")'
OUT='("basename \"" $2 "\"") | getline filename ; printf("%s %s %s %s\n", $1, filename, $3, $5)'
if [ $# -ne $EXPECTED_ARGS ]
echo "Usage: <filename>"
exit 1
kwharrigan /
Created Jun 17, 2010
Manage Kindle 2.5 collections.json file
#!/usr/bin/env python
import optparse
import simplejson as json
import time
LONGNAME = "%s@en-US"
def load_file(filename):
Load a json file and return the resulting object
View .vimrc
syntax on
set tabstop=4
set textwidth=80
set laststatus=2
set statusline=%F%m%r%h%w\ [FMT=%{&ff}]\ [TYPE=%Y]\ [ASC=\%03.3b]\[HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
augroup filetype
au! BufRead,BufNewFile *.proto setfiletype proto
augroup end
augroup filetype
au! BufRead,BufNewFile *.ADA setfiletype ada
kwharrigan / 10_6_install
Created Sep 15, 2010
ns2 install script for OSX 10.6.4
View 10_6_install
#! /bin/sh
# Copyright (C) 2000 by USC/ISI
# All rights reserved.
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation, advertising
# materials, and other materials related to such distribution and use
# acknowledge that the software was developed by the University of
kwharrigan / brew install output (abridged).sh
Created Sep 18, 2011
Issue compiling octave on homebrew. "dyld: Symbol not found: _colamd_printf"
View brew install output (abridged).sh && \
of=tsearch.oct && \
ln -s .libs/`/usr/local/bin/gsed -n -e "s/dlname='\([^']*\)'/\1/p" < $la` $of && \
touch .tsearch.oct-stamp && \
of=typecast.oct && \
ln -s .libs/`/usr/local/bin/gsed -n -e "s/dlname='\([^']*\)'/\1/p" < $la` $of && \
touch .typecast.oct-stamp
kwharrigan /
Created Sep 20, 2011
octave compile still broken after 3.2.6 upgrade try.
win10/4.2.1/x86_64/libgfortranbegin.a -lgfortran -lm -framework Accelerate -pthread
rm -f DLD-FUNCTIONS/daspk.oct && \
of=daspk.oct && \
ln -s .libs/`/usr/local/bin/gsed -n -e "s/dlname='\([^']*\)'/\1/p" < $la` $of && \
touch .daspk.oct-stamp
rm -f DLD-FUNCTIONS/dasrt.oct && \
of=dasrt.oct && \
kwharrigan /
Created Sep 20, 2011
brew install --interactive octave // configure output
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking build system type... x86_64-apple-darwin10.8.0
You can’t perform that action at this time.