This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jslint node:true */ | |
'use strict'; | |
var Sequelize = require('Sequelize'), | |
Q = require('q'), | |
http = require('http'), | |
sequelize = new Sequelize('gfdb', 'gfuser', 'password', { | |
host: 'localhost', | |
dialect: 'postgres', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jslint node:true */ | |
var https = require('https'), | |
util = require('util'), | |
libxmljs = require("libxmljs"), | |
Q = require('q'), | |
concurHost = 'www.concursolutions.com'; | |
function httpGet(httpOptions) { | |
'use strict'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
createDirectoryStructure() | |
{ | |
mkdir -p include | |
mkdir -p src | |
mkdir -p m4 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftyDropbox | |
import Foundation | |
extension CallError { | |
var errorCode: Int? { | |
switch self { | |
case .InternalServerError(let code, let message): | |
return code | |
case .HTTPError(let code, let message): | |
return code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mqtt = require('mqttjs'); | |
var mdns = require('mdns'); | |
var topic = "my.data"; | |
var connectedClient = null; | |
discoverService(); | |
startMessageLoop(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// debug | |
const page1 = {"transactions":[{"id":"9ebee3e75062477e868aa263b2c2e861","description":"CD DEPOSIT .INITIAL.","is_pending":false,"order":"1586992384719.732","amount":"1000.00","provider_amount":"1000.00","currency":"USD","classification":0,"merchant_name":"Cd Deposit Initial","provider_merchant_name":"Cd Deposit Initial","merchant_name_and_location":"","category_id":"1ce8af1d77aa4c7eaf8ccb1b9eadbf76","provider_category":"Transfer","provider_category_id":"1ce8af1d77aa4c7eaf8ccb1b9eadbf76","category":"Transfer","category__icon_url":"https://spendstatichosting.blob.core.windows.net/icons/icon-categories-default-new@3x.png","auto_categorized":false,"purchase_type":"special","transaction_date":"2020-04-14T00:00:00","provider_transaction_date":"2020-04-14T00:00:00","is_deleted":false,"posting_date":"2020-04-15T23:13:04.719779","created":"2020-04-15T23:13:04.723897","modified":"2020-04-15T23:13:04.723938","get_classification_display":"Unclassified","transaction_id":"dde8edf22aba478e9d98b9d522137b68" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#setup").click(() => tryCatch(setup)); | |
$("#insert-range").click(() => tryCatch(insertRange)); | |
$("#delete-range").click(() => tryCatch(deleteRange)); | |
$("#clear-range").click(() => tryCatch(clearRange)); | |
async function insertRange() { | |
await Excel.run(async (context) => { | |
const sheet = context.workbook.worksheets.getItem("Sample"); | |
const range = sheet.getRange("B4:E4"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#setup").click(() => tryCatch(setup)); | |
$("#insert-range").click(() => tryCatch(insertRange)); | |
$("#delete-range").click(() => tryCatch(deleteRange)); | |
$("#clear-range").click(() => tryCatch(clearRange)); | |
async function insertRange() { | |
await Excel.run(async (context) => { | |
const sheet = context.workbook.worksheets.getItem("Sample"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clear and untrack a range | |
description: Clear and untrack a range | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
$("#setup").click(() => tryCatch(setup)); | |
$("#insert-range").click(() => tryCatch(insertRange)); | |
$("#delete-range").click(() => tryCatch(deleteRange)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clear and untrack a range | |
description: Clear and untrack a range | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
$("#setup").click(() => tryCatch(setup)); | |
$("#insert-range").click(() => tryCatch(insertRange)); | |
$("#delete-range").click(() => tryCatch(deleteRange)); |
OlderNewer