http://docs.getmura.com/v6/installation-setup/settingsinicfm-reference/
admindomain=
adminemail=
adminssl=0
assetdir=
assetpath=
| <cfscript> | |
| /** | |
| * structToTable UDF | |
| * @displayname structToTable | |
| * @author James Moberg http://sunstarmedia.com, @sunstarmedia | |
| * @version 1 | |
| * @lastUpdate 10/28/2024 15:58 | |
| * @gist https://gist.github.com/JamoCA/bc5c58e829e191947f2e34289fd98a5a | |
| * @blog https://dev.to/gamesover/structtotable-generate-htmltext-output-for-displayemail-1mk4 | |
| * @twitter https://x.com/gamesover/status/1851046259387469955 |
| <cfscript> | |
| /** | |
| * structToTable UDF | |
| * @displayname structToTable | |
| * @author James Moberg http://sunstarmedia.com, @sunstarmedia | |
| * @version 1 | |
| * @lastUpdate 10/28/2024 15:58 | |
| * @gist https://gist.github.com/JamoCA/bc5c58e829e191947f2e34289fd98a5a | |
| * @blog https://dev.to/gamesover/structtotable-generate-htmltext-output-for-displayemail-1mk4 | |
| * @twitter https://x.com/gamesover/status/1851046259387469955 |
| component displayname="whitespace" output="false" hint="Identifies and performs trim functions on white space-related characters" { | |
| /* | |
| author: James Moberg <[email protected]> | |
| date: 2019-01-07 | |
| Description: Removes all whitespace-related characters (ie, Zero-Width SPaces (ZWSPs)) from a string... not just characters below U+0020. | |
| .NET Trim() really trims a string - also trimming non-breaking-spaces. This is not the case in Java. | |
| http://www.henrikbrinch.dk/Blog/2013/02/28/java-net-string-gotchas-of-the-day/ | |
| https://stackoverflow.com/a/4731164/693068 | |
| https://stackoverflow.com/a/4307261/693068 |
| <!--- | |
| We have to start out be defining what the sets of valid | |
| character data are. While this might not look elegant, | |
| notice that it gives a LOT of power over what the sets | |
| are without writing a whole lot of code or "condition" | |
| statements. | |
| ---> | |
| <!--- Set up available lower case values. ---> | |
| <cfset strLowerCaseAlpha = "abcdefghijklmnopqrstuvwxyz" /> |
| <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')#" /> |
| # https://docs.docker.com/compose/yml/ | |
| # Each service defined in docker-compose.yml must specify exactly one of | |
| # image or build. Other keys are optional, and are analogous to their | |
| # docker run command-line counterparts. | |
| # | |
| # As with docker run, options specified in the Dockerfile (e.g., CMD, | |
| # EXPOSE, VOLUME, ENV) are respected by default - you don't need to | |
| # specify them again in docker-compose.yml. | |
| # | |
| service_name: |
http://docs.getmura.com/v6/installation-setup/settingsinicfm-reference/
admindomain=
adminemail=
adminssl=0
assetdir=
assetpath=
| <cfscript> | |
| component output=false { | |
| // On the form, select 'Custom Object' then for the 'Source' enter the dotted notation path to wherever you placed this file. | |
| // For example 'includes.myCustomValues' if your file was called 'myCustomValues.cfc' and placed under the 'includes' directory. | |
| // Mura will automatically invoke the getData() method below | |
| // See http://www.getmura.com/blog/populating-form-builder-dropdowns-via-remote-objects/ for more information | |
| private any function getRS() { | |
| // example recordset : this could come from your own db, of course |
| <!--- | |
| Author: Stephen J. Withington, Jr. | |
| Notes: Place this under a temp directory within your Mura CMS root to test. | |
| For example: http://yourdomain.com/temp/json-test.cfm | |
| ---> | |
| <cfscript> | |
| param name="form.endpoint" default="content/new"; | |
| param name="form.method" default="GET"; | |
| param name="form.context" default=""; | |
| param name='session.siteid' default='default'; |
| user nginx; | |
| worker_processes 2; | |
| error_log /var/log/nginx/error.log error; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } |