Skip to content

Instantly share code, notes, and snippets.

View iholler's full-sized avatar

Stephen King iholler

  • Knoxville, TN
View GitHub Profile
@iholler
iholler / bluehollercreative-gmap-functions.js
Last active December 16, 2015 05:28
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…
// 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();"
@iholler
iholler / change-file-extension.sh
Created December 1, 2017 15:30
Bash function to change the extension on all files in current folder.
function chext() {
origExt=$1
newExt=$2
for f in *"${origExt}"; do
mv -- "$f" "${f%.$origExt}.$newExt"
done
return
}
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.