Skip to content

Instantly share code, notes, and snippets.

View xavierzwirtz's full-sized avatar

Xavier Zwirtz xavierzwirtz

  • BirdDog Software
  • Oklahoma City
View GitHub Profile
--BD tables need to exist on the destination. Run EntWin/website against it first
DECLARE @source_prefix nvarchar(4000) = 'Data_BDMaster.dbo.'
DECLARE @dest_prefix nvarchar(4000) = 'Data_001.dbo.'
declare @tables table(table_name nvarchar(4000))
insert into @tables values
('BDFieldValues'),
('BDCountriesAudit'),
@xavierzwirtz
xavierzwirtz / checkout
Last active December 28, 2016 23:48 — forked from anonymous/checkout
----first in script
var ShipViaDeliveryOptions = ko.observableArray();
//var ShipViaDeliveryOptions = ko.observableArray(ShipViaDeliveryOption);
var updateShipViaDeliveryOptions = function() {
$BDSW.jsonfactory({
method: 'CartUpdateShipViaDeliveryOptions',
data: {
'ShipViaCode': $cmbShipVia.val()
},
success: function (data) {
open System
//leaderboard #1
let leaderboard1 =
let ln = System.Console.In.ReadLine //;;
[1..(int (ln()))] |> List.map (fun x-> ln().Split([|' '|]) |> Array.map int |> Array.reduce (+)) |> List.iter System.Console.WriteLine
//leaderboard #2
let leaderboard2 =