Skip to content

Instantly share code, notes, and snippets.

View awrowse's full-sized avatar

Andy Rowse awrowse

  • AW Rowse Solutions
  • Bozeman, MT
View GitHub Profile
@awrowse
awrowse / Launcher.cs
Created May 12, 2014 18:09
Opp Open via Report Command
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RightNow.AddIns.AddInViews;
using System.Drawing;
using System.AddIn;
namespace OppOpen
@awrowse
awrowse / SP5Regression.php
Last active December 31, 2015 14:18
Test of commit() issue in RightNow CX 13.2 SP5 via CP controller
<?php
namespace Custom\Controllers;
assert_options(ASSERT_ACTIVE, 1);
assert_options(ASSERT_WARNING, 0);
assert_options(ASSERT_QUIET_EVAL, 1);
//assertion handler
\assert_options(ASSERT_CALLBACK, function ($file, $line, $code)
@awrowse
awrowse / info.yml
Created August 8, 2013 20:35
ChatServerConnect bug fix for CP3 13.2
version: "1.0"
requires:
jsModule:
- standard
- mobile
extends:
widget: standard/chat/ChatServerConnect
components:
- js
@awrowse
awrowse / wcf_wsse_nonce.cs
Created July 31, 2013 15:59
WCF with WSSE Header with Nonce
using System.Windows.Forms;
using System.ServiceModel;
using NonceTest.OrgWS;
using System.ServiceModel.Channels;
using System.Xml;
using Microsoft.Web.Services3.Security.Tokens;
namespace NonceTest
{
public partial class Form1 : Form
@awrowse
awrowse / php_view_renderer.php
Created May 12, 2013 20:00
Simple PHP view renderer
<?php
/**
* Simple view render.
*
* @param String $view Path to View file
* @param Array $data Data to be passed to view
* @throws RuntimeException Thrown if message comes back blank
*
* @return String Rendered view (HTML)
*/
@awrowse
awrowse / connect_1-1.php
Created March 27, 2013 02:43
Connect PHP Class Stubs
<?php
namespace RightNow\Connect\v1_1;
/**
* Named ID that can be included in a list
*/
class AccessLevel
extends NamedIDDeltaOptList
{
@awrowse
awrowse / shit_soap.cs
Created February 20, 2013 16:12
WCF SOAP with custom Auth Message Headers
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using ServiceTest.SMSWS;
using System.ServiceModel.Channels;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using System.Net.Security;
@awrowse
awrowse / ObjectSerialize.cs
Created December 28, 2012 16:44
ObjectSerialize.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.IO;
namespace SSOTester {
[Serializable()]
@awrowse
awrowse / CSVparse.cs
Last active December 10, 2015 07:08
CSVParse.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.VisualBasic.FileIO;
@awrowse
awrowse / AutoClient.cs
Created November 29, 2012 14:39
Auto Client RN
/**
* Author: Ryan McCullough
* Project Location: https://src.rightnow.com/spaces/ps_addins_library
* Blob Hash: $Id: bd91d4b076c661881199de313de1aa4dc44a41d9 $
* Description: IAutomationClient static singleton helper for Add-Ins
*
*/
using System.AddIn;