I hereby claim:
- I am paulsena on github.
- I am paulsena (https://keybase.io/paulsena) on keybase.
- I have a public key ASBxbLvpyLzQHGLdWDEgNGo13qTE1vQclAZFhxLWCys9Igo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| var restify = require('restify'); | |
| var sys = require('sys') | |
| var exec = require('child_process').exec; | |
| var child; | |
| var USERNAME = 'sal'; | |
| var PASSWORD = '16BrooksSt'; | |
| var CMD = "emacs"; | |
| //**** REST CODE ****** | |
| function respond(req, res, next) { |
| response.response = getUserIncidents(); | |
| function getUserIncidents() { | |
| var recordSet= []; | |
| var callerId = request.caller_id; | |
| var active = request.active; | |
| var orderBy = request.order_by; | |
| var orderByDesc = request.order_by_desc; | |
| var firstRow = request.first_row ? request.first_row : 1; |
| var AppAccessRequestHelper = Class.create(); | |
| AppAccessRequestHelper.prototype = { | |
| initialize: function() { | |
| this.debug = gs.getProperty("intuit.custom.debug", "true"); | |
| this.error_message = String(); | |
| this.applicationId = ''; | |
| }, | |
| //WS Wrapper function to handle Request and Response Object. | |
| //This is called from a Scripted WS. |
| gs.include("PrototypeServer"); | |
| var SAML2Error = Class.create(); | |
| SAML2Error.prototype = Object.extend(new Error(), { | |
| initialize : function(message) { | |
| this.name = "SAML2Error"; | |
| this.message = message; | |
| } | |
| }); | |
| /*Name: JournalSyncHelper | |
| * Description: Helper class for Masco Milgard 2 way sync. Allows Journal fields (Comments, Worknotes) to be synced. | |
| * Helper functions to package up Comments and WorkNotes to a JSON String. Also function to decode and insert | |
| * packaged journal field back in SN. | |
| * Author: [email protected] | |
| * | |
| * Version: 2.0 - 10/11/13 - Rewrite from v1 to better handle large comments and numerous other fixes. | |
| */ | |
| gs.include("PrototypeServer"); | |
| var JournalSyncHelper = Class.create(); |
| #! /usr/bin/env python | |
| import fileinput | |
| import sys | |
| headerColCnt = 0 | |
| mismatches = 0 | |
| delimiter = "|" | |
| def process(line): | |
| global headerColCnt |
| /* | |
| * Script include to process multiple attachments in an email through OOB Data Source process. | |
| * Attaches to existing data source, dynamically creates a schedule import entry and runs. | |
| * Processes attachments synchronously to prevent issues with multiple attachments | |
| * | |
| * Source: Fruition Partners | |
| * Author: [email protected] | |
| * Author: [email protected] | |
| */ | |
| /* | |
| * Called by Client Script. This script calculates the difference between the current date and a date passed in as a parameter | |
| * using 8X5 Business Workday Schedule. | |
| */ | |
| var AjaxDateDiffCalcBusDays = Class.create(); | |
| AjaxDateDiffCalcBusDays.prototype = Object.extendsObject(AbstractAjaxProcessor, { | |
| dateDiffNow: function() | |
| { | |
| // Get Catalog Item | |
| var cat = new GlideRecord('sc_cat_item'); |