Skip to content

Instantly share code, notes, and snippets.


Chris Tierney CFJSGeek

View GitHub Profile
Leigh- / Sv4Util.cfc
Last active Jan 28, 2019
Amazon Web Services Signature 4 Utility for ColdFusion (Alpha)
View Sv4Util.cfc
* Amazon Web Services Signature 4 Utility for ColdFusion
* Version Date: 2016-04-12 (Alpha)
* Copyright 2016 Leigh (cfsearching)
* Requirements: Adobe ColdFusion 10+
* AWS Signature 4 specifications:
* Licensed under the Apache License, Version 2.0 (the "License");
Leigh- / S3Wrapper.cfc
Last active Aug 28, 2018 — forked from CFJSGeek/S3Wrapper.cfc
Amazon Web Services (AWS) S3 Wrapper for ColdFusion (Signature 4)
View S3Wrapper.cfc
* Amazon S3 REST Wrapper
* Version Date: 2016-04-12
* Copyright 2015 CF Webtools |
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
aioutecism / gist:2638bb9eaf9ffc13348c
Last active Sep 14, 2020
Set up a VPN Server (PPTP) on AWS and use it anywhere
View gist:2638bb9eaf9ffc13348c

Set up a VPN Server (PPTP) on AWS

  1. Create a EC2 instance using Ubuntu 14.04.
  2. In Secure Group Inbound Rules, add a SSH Rule(TCP, Port 22, and a Custom TCP Rule(TCP, Port 1723,
  3. Optional: Associate a Elastic IP with the instance.
  4. SSH into the instance.
  5. sudo apt-get install pptpd.
  6. sudo vim /etc/pptpd.conf. Uncomment localip and remoteip,
  7. sudo vim /etc/ppp/pptpd-options. Uncomment ms-dns and ms-wins. Change the IP to Google's DNS like this:
atuttle / Amazon S3 Upload.cfm
Created Jan 28, 2013
Upload files to Amazon S3 with ColdFusion. This is heavily based on code from Joe Danziger's s3.cfc:
View Amazon S3 Upload.cfm
<cffunction name="uploadToAmazonS3">
<cfargument name="fileName" required="true" />
<cfargument name="contentType" required="true" />
<cfargument name="data" required="true" />
<cfargument name="acl" default="public-read" />
<cfargument name="storageClass" default="STANDARD" />
<cfargument name="HTTPtimeout" default="300" />
<cfargument name="bucket" default="#getProperty('EmailAttachmentS3Bucket')#" />
<cfargument name="accessKeyId" default="#getProperty('EmailAttachmentS3AccessKeyId')#" />
<cfargument name="secretKey" default="#getProperty('EmailAttachmentS3SecretKey')#" />
You can’t perform that action at this time.