Skip to content

Instantly share code, notes, and snippets.

@s992
s992 / index.cfm
Created December 8, 2011 03:08
Integrating SendGrid with CF
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>SendGrid Demo</title>
</head>
<body>
<form action="process.cfm" method="POST">
<div>
<label for="emails">
@s992
s992 / ColdMVC.bat
Created December 4, 2011 03:49
Batch file for creating ColdMVC directory structure
::
:: Directory structure based on the one listed at
:: http://www.coldmvc.com/guide/introduction/directory-structure
:: and some of my own observations on file content.
::
@ECHO OFF
IF "%1" == "" GOTO NeedsArgument ELSE GOTO BuildFolderStructure
@s992
s992 / caller.cfm
Created October 24, 2011 03:08
MuraProxy plugin deployment
<!--- Instantiate the MuraProxy webservice --->
<cfset muraProxy = createObject( "webservice", "http://localhost/muraFork/MuraProxy.cfc?wsdl" ) />
<!--- Authenticate --->
<cfset authToken = muraProxy.login( 'admin', 'admin', 'default' ) />
<!--- Create our args struct and serialize it to place in the URL --->
<cfset args = structNew() />
<cfset args.siteID = 'default' />
<cfset args = serializeJSON( args ) />