This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Country | CountryCode | Currency | Code | |
|---|---|---|---|---|
| New Zealand | NZ | New Zealand Dollars | NZD | |
| Cook Islands | CK | New Zealand Dollars | NZD | |
| Niue | NU | New Zealand Dollars | NZD | |
| Pitcairn | PN | New Zealand Dollars | NZD | |
| Tokelau | TK | New Zealand Dollars | NZD | |
| Australian | AU | Australian Dollars | AUD | |
| Christmas Island | CX | Australian Dollars | AUD | |
| Cocos (Keeling) Islands | CC | Australian Dollars | AUD | |
| Heard and Mc Donald Islands | HM | Australian Dollars | AUD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--- STEP 1 - ?event=shop-cart.cfm ---> | |
| <cfscript> | |
| stDetails = structNew(); | |
| stDetails.cartTotal = 200.00; | |
| stDetails.invoiceno = 3; | |
| </cfscript> | |
| <cfhttp url="https://api-3t.paypal.com/nvp" method="post"> | |
| <!--- auth ---> | |
| <cfhttpparam type="formfield" name="USER" value="#application.pp.username#" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| img:hover { | |
| -webkit-filter: grayscale(0%); | |
| -webkit-transition: .5s ease-in-out; | |
| -moz-filter: grayscale(0%); | |
| -moz-transition: .5s ease-in-out; | |
| -o-filter: grayscale(0%); | |
| -o-transition: .5s ease-in-out; | |
| } | |
| img { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [mysqld] | |
| datadir=/var/lib/mysql | |
| socket=/var/lib/mysql/mysql.sock | |
| user=mysql | |
| # Disabling symbolic-links is recommended to prevent assorted security risks | |
| symbolic-links=0 | |
| # The maximum amount of concurrent sessions the MySQL server will | |
| # allow. One of these connections will be reserved for a user with | |
| # SUPER privileges to allow the administrator to login even if the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| component { | |
| boolean function onRequestStart( required string targetPage ) { | |
| var headers = getHttpRequestData().headers; | |
| var origin = ''; | |
| var PC = getpagecontext().getresponse(); | |
| // Find the Origin of the request | |
| if( structKeyExists( headers, 'Origin' ) ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Enable gzip. Highly recommending for best peformance | |
| gzip on; | |
| gzip_comp_level 6; | |
| gzip_types text/html text/css text/javascript application/json application/javascript application/x-javascript; | |
| # By default, do not set expire headers | |
| expires 0; | |
| # Set expires header for console CSS and JS. | |
| # These files are timestamped with each new release, so it is safe to cache them agressively. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| function convertQueryToStructArray( q ) { | |
| var result = []; | |
| for ( var row in arguments.q ) { | |
| result.append( row ); | |
| } | |
| return result; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getRootWebSitePath() { | |
| var _location = document.location.toString(); | |
| var applicationNameIndex = _location.indexOf('/', _location.indexOf('://') + 3); | |
| var applicationName = _location.substring(0, applicationNameIndex) + '/'; | |
| var webFolderIndex = _location.indexOf('/', _ | |
| location.indexOf(applicationName) + applicationName.length); | |
| var webFolderFullPath = _location.substring(0, webFolderIndex); | |
| return webFolderFullPath; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfset Mongo = CreateObject("java","com.mongodb.MongoClient")> | |
| <cffunction name="m" returntype="any"> | |
| <cfargument name="value" type="any"> | |
| <cfif IsJSON(arguments.value)> | |
| <cfset local.retrun = CreateObject("java","com.mongodb.util.JSON").parse(arguments.value)> | |
| <cfelse> | |
| <cfset local.retrun = CreateObject("java","com.mongodb.util.JSON").parse( SerializeJSON(arguments.value) )> | |
| </cfif> | |
| <cfreturn local.retrun> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <meta name="robots" content="noodp, noydir" /> | |
| <link rel="dns-prefetch" href="//cdnjs.cloudflare.com"> | |
| <link rel="canonical" href="http://mysite.com/" /> | |
| <link rel="stylesheet" href="http://mysite.com/style.css" type="text/css" /> |