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
/** | |
* This is a sample configuration meant to get users and up running on a local | |
* machine. The configuration will not support multi-process on a single | |
* server or multi-server/elastic environments. For more detailed information | |
* on the options provided please refer to the /include/config.js file. | |
* | |
* The file can be renamed to "config.js" in the same directory as this file | |
* and it will be used as the configuration when PencilBlue is started. If | |
* this file is used then there is no need to create a "config.json" | |
*/ |
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
/* pathnamereplace.js v0.1.2, URL pathname replace for conditional redirects to support multi-language sites, now with cookies and passtrue list. | |
* Author & copyright (c) 2014: Göran Svensson, [email protected]. MIT license. | |
* Tested with Chrome 36, Firefox 29 and Safari 7.0.5 on OSX. | |
* Tested with Chrome 36 on Xperia V (Android 4.3) and Internet 2.3.6 on Samsung GT-S5360 (Android 2.3.6). | |
* Works with any number of path name items and language acronymes. Does not break the back button. | |
* How to use it; add this in your nav menu: javascript:changeLanguage('_se') to switch to swedish version. | |
* REQUIRES: CatalystScripts/Java_Cookies.js and country = '{module_visitorcountrycode}'; added | |
* above this script (does not work inside a js file). | |
* No bugs have been harmed. | |
* To avoid unnecesary reload, build a nav menu for each language with the right path. |
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
<!--- Get an instance of the capability object... ---> | |
<cfset cap = REQUEST.TwilioLib.getCapability() /> | |
<cfset cap.allowClientOutgoing("APf0a7xxxxxxxxxxxxxxx") /> | |
<cfset token = cap.generateToken() /> | |
<cfoutput>#token#</cfoutput> |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<web-app xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | |
metadata-complete="true" | |
version="2.5"> | |
<!-- ********************************************************************* --> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN" | |
"http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd"> | |
<urlrewrite> | |
<rule enabled="true" match-type="regex"> | |
<name>Admin URLs Pass-through</name> | |
<condition type="request-uri" operator="equal">^/(index.cfm/|admin/main|admin/security)</condition> | |
<from>^/index.cfm/admin/</from> | |
<to type="passthrough">/index.cfm/admin:main</to> |
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
<input class="input-xlarge" type="date" name="published" id="published" value="#DateFormat( rc.Article.getPublished(),'yyyy-mm-dd')#" title="The date the article is to be published" placeholder="Date"> |
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
<cfprocessingdirective pageencoding="utf-8" /> | |
<!--- cfcontent is also important for unicode ---> | |
<cfcontent type="text/html charset=utf-8"> | |
<!--- set up the parameters ---> | |
<cfset sConsumerKey = 'yourPublickey'> <!--- Paste your dev or prod keys here ---> | |
<cfset sConsumerSecret = 'youPrivatekey'> <!--- Paste your dev or prod keys here ---> | |
<cfset OAUTH_VERIFIER = '' /> <!--- You get back these when doing oauth registration ---> | |
<cfset token = '' /> <!--- You get back these when doing oauth registrationt ---> | |
<cfset tokenSecret = '' /> <!--- You get back these when doing oauth registration ---> |
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
<cfprocessingdirective pageencoding="utf-8" /> | |
<!--- cfcontent is also important for unicode ---> | |
<cfcontent type="text/html charset=utf-8"> | |
<!--- set up the parameters ---> | |
<cfset sConsumerKey = 'yourPublickey'> <!--- Paste your dev or prod keys here ---> | |
<cfset sConsumerSecret = 'youPrivatekey'> <!--- Paste your dev or prod keys here ---> | |
<cfset OAUTH_VERIFIER = '' /> <!--- You get back these when doing oauth registration ---> | |
<cfset token = '' /> <!--- You get back these when doing oauth registrationt ---> | |
<cfset tokenSecret = '' /> <!--- You get back these when doing oauth registration ---> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN" | |
"http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd"> | |
<!-- | |
Configuration file for UrlRewriteFilter | |
http://www.tuckey.org/urlrewrite/ | |
--> |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<!DOCTYPE web-app | |
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" | |
"http://java.sun.com/dtd/web-app_2_3.dtd"> | |
<web-app> | |
<display-name>Railo</display-name> | |
<servlet> | |
<servlet-name>CFMLServlet</servlet-name> | |
<description>CFML runtime Engine</description> | |
<servlet-class>railo.loader.servlet.CFMLServlet</servlet-class> |
NewerOlder