http://docs.getmura.com/v6/installation-setup/settingsinicfm-reference/
admindomain=
adminemail=
adminssl=0
assetdir=
assetpath=
| # Credit http://stackoverflow.com/a/2514279 | |
| for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ai %ar by %an" $branch | head -n 1` \\t$branch; done | sort -r |
| To make Pageant automatically run and load keys at startup: | |
| - Find the location of pageant.exe | |
| - Windows key + R to open the 'run' dialog box | |
| - Type: 'shell:startup' in the dialog box | |
| - Create a shortcut to the pageant.exe and put into this startup folder. |
| # Git visual log displays commit tree view with who did what when and in which branch | |
| git config --global alias.vlog 'log --graph --date-order --date=relative --pretty=format:"%C(cyan)%h: %Cblue - %an - %Cgreen %C(cyan)%ar:%Creset%n%s%n" --color' |
| get-project -all | %{ $_.Properties | ?{ $_.Name -eq "WebApplication.StartWebServerOnDebug" } | %{ $_.Value = $False} } |
| component | |
| output="false" | |
| hint="I help to parse large XML files by matching patterns and then only parsing sub-nodes of the document." { | |
| public any function Init(required string Nodes, required string XmlFilePath, numeric BufferSize=(1024*1024*5)) { | |
| /* | |
| Create the regular expression pattern based on the | |
| node list. We have to match both standard nodes and |
| <cfscript> | |
| var APIUtility = getBean('settingsManager').getSite({siteid}).getAPI('json', 'v1'); | |
| APIUtility.registerMethod(methodName='applyProperty', method=applyProperty); | |
| public any function applyProperty() { | |
| // do something | |
| } | |
| </cfscript> |
| <!--- | |
| A brief example on how to use the 'CustomUI' option when creating a class extension in Mura CMS. | |
| This example assumes you have an extended attribute called 'Page/Book'. | |
| It also assumes you have an attribute set using the 'CustomUI' container/tab assignment. | |
| Any extended attributes you assign to the attribute set, you are responsible for collecting | |
| that data using your own form fields. Make sure the 'name' and 'id' attributes match the | |
| names you've used when you created the extended attributes! For example, if you have an | |
| extended attribute with a name of 'bookPublisher', make sure you have a form field with an | |
| 'id' and 'name' attribute of 'bookPublisher'. Check your casing too! |
http://docs.getmura.com/v6/installation-setup/settingsinicfm-reference/
admindomain=
adminemail=
adminssl=0
assetdir=
assetpath=