Skip to content

Instantly share code, notes, and snippets.

View bwmilby's full-sized avatar

Brian Milby bwmilby

  • Milby Computer
  • Henrico, VA
View GitHub Profile
@trevordevore
trevordevore / utmtolatlong.livecodescript
Last active June 9, 2018 15:14
LiveCode function for converting a UTM location to latitude/longitude
script "UTM To LatLong Library"
/**
Summary: Converts UTM coordindates to lat/long
Parameters:
pZoneNumber: A number between 1 and 60.
pZoneLetter: A-Z, Zones A-M are soutern, N-Z are northern/
pEasting: Number
pNorthing: Number
@JonTheNiceGuy
JonTheNiceGuy / COMBINED TESTING
Created July 8, 2015 09:46
MS Access VBA to perform AES encryption, Base 64 encoding and create SHA1 hashes
Sub test()
Dim SourceString As String
Dim InterimString As String
Dim DestinationString As String
SourceString = ""
InterimString = ""
DestinationString = ""
Do Until Len(SourceString) > 220
@trevordevore
trevordevore / gist:5584753
Created May 15, 2013 15:17
Convert XML to and from a LiveCode array
/**
* Handlers for converting XML to LiveCode arrays and vice versa.
*
* Provided by Trevor DeVore of Blue Mango Learning Systems.
*/
/**
* \brief Escapes the predefined XML entities in a string.
*
* \param pStr The string to escape the characters in.