Skip to content

Instantly share code, notes, and snippets.

Avatar

Stephen King iholler

  • Knoxville, TN
View GitHub Profile
View rpi-otto-jack.log
pi@raspi:~/dl $ cd OTTO && boards/rpi-proto-1/doc/jackstart.sh
Failed to stop ntp.service: Unit ntp.service not loaded.
console-kit-daemon: no process found
polkitd: no process found
gvfsd: no process found
dbus-daemon: no process found
dbus-launch: no process found
performanceperformanceperformanceperformancepi@raspi:~/dl/OTTO $ jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
@iholler
iholler / change-file-extension.sh
Created Dec 1, 2017
Bash function to change the extension on all files in current folder.
View change-file-extension.sh
function chext() {
origExt=$1
newExt=$2
for f in *"${origExt}"; do
mv -- "$f" "${f%.$origExt}.$newExt"
done
return
}
@iholler
iholler / bluehollercreative-gmap-functions.js
Last active Dec 16, 2015
CUSTOM GMAP3 BUILD - Calculate distance from current location. Two Functions: 1. Loads map with markers for current location and a specified destination. 2. Re-loads the same map, but this time checks for the distance between the current location and the destination and checks to see if the user is within a given range. If true - returns an aler…
View bluehollercreative-gmap-functions.js
// Author: Stephen King
// Contact: stephen.curtis.k@gmail.com
// Credits: http://www.gmap3.net
// Created using Google maps and the "gmap3" framework.
/* =========================================================================================
AUTHOR NOTES
=========================================================================================
//LOAD initMap(); function at the end of your HTML document before the closing "body" tag.
LOAD destination(); function through a button's onclick="distance();"
You can’t perform that action at this time.