This file contains hidden or 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
-- ================================================ | |
-- Template generated from Template Explorer using: | |
-- Create Procedure (New Menu).SQL | |
-- | |
-- Use the Specify Values for Template Parameters | |
-- command (Ctrl-Shift-M) to fill in the parameter | |
-- values below. | |
-- | |
-- This block of comments will not be included in | |
-- the definition of the procedure. |
This file contains hidden or 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 orders = [1243, 567, 98978] | |
var orderCount = orders.length - 1; | |
var cache = []; | |
// This version will apply duplicate messages | |
orders.forEach(function(element, iteration, array) { | |
// Gets All messages for each Child | |
cache = GetAllMessages(orders[itteration]); | |
// Applies messages to all orders every iteration | |
ApplyMessagesToOrders(cache); | |
This file contains hidden or 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 dev = false; | |
module.exports.get = function (url, callback) { | |
var options = { | |
type: 'GET', | |
// url: 'http://rating.agentgrid.net' + url, | |
dataType: 'json', | |
success: success, | |
error: error | |
}; | |
if(dev == true){ |
This file contains hidden or 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
//1000 rows | |
xhr.get('URL', function(err, data){ | |
if(err){ | |
//do this | |
return; | |
} | |
buildTable(data); |
This file contains hidden or 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
{ | |
"ldWindow": { | |
"startDate": "2017-10-07", | |
"startTime": "09:00", | |
"endDate": "2017-10-07", | |
"endTime": "17:00" | |
}, | |
"ulWindow": { | |
"startDate": "2017-10-09", | |
"startTime": "09:00", |
This file contains hidden or 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
DECLARE @orders TABLE ( | |
Id varchar(26) | |
) | |
INSERT INTO @orders | |
VALUES ('Pro1'), ('PRO2'); --replace this with Pro#'s | |
SELECT | |
ordr.PartnerPrimaryOrderID, | |
ordr.PartnerReference2, | |
(CASE |
This file contains hidden or 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
{ | |
"data": [ | |
"9022025587", | |
"9022027401", | |
"165U10587" | |
] | |
} |
This file contains hidden or 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
(function($){$.extend({tablesorter:new | |
function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:true,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:'/\.|\,/g',onRenderHeader:null,selectorHeaders:'thead th',debug:false};function benchmark(s,d){log(s+","+(new Date().getTime()-d.getTime())+"ms");}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(s);}else{alert(s);}}function buildParserCache(table,$headers){if(table.config.debug){var parsersDebug="";}if(table.tBodies.length==0)return;var rows=table.tBodies[0].rows;if(rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;i<l;i++){var p=false;if($.metadata&&($($headers |
This file contains hidden or 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 client = require('./http'); | |
var qs = require('querystring'); | |
var u = require('./u/u') | |
function main() { | |
var dateInput = $("#date-input"); | |
var loadIdInput = $("#load-id-input"); | |
var searchBtn = $("#search-btn"); | |
var exportBtn = $("#export-btn"); | |
var status = $("#status-fill") | |
exportBtn.click(function (e) { |
This file contains hidden or 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
USE [TagnetOE] | |
go | |
INSERT INTO [dbo].[railsaddressbook] | |
([addressbookid], | |
[businessname], | |
[address], | |
[roomfloordepartment], | |
[city], |