Skip to content

Instantly share code, notes, and snippets.

@opendoug
opendoug / QuickBooksOnline Code.txt
Created December 12, 2018 14:40 — forked from mckneisler/QuickBooksOnline Code.txt
QuickBooks Online API Example for VBA
Public Function quote(sString As String) As String
quote = Chr(34) + sString + Chr(34)
End Function
Public Function URLEncode(sString As String) As String
Dim iLen As Integer
iLen = Len(sString)
If iLen > 0 Then
ReDim sResult(iLen) As String
@opendoug
opendoug / chorechart.gs
Created March 4, 2019 16:14
Random Chore Chart
function shuffle() {
// Shuffle the array
var array = [['Doug'], ['Christina'], ['Afton'], ['Quinnlyn']];
var currentIndex = array.length, temporaryValue, randomIndex;
// While there remain elements to shuffle...
while (0 !== currentIndex) {
// Pick a remaining element...