cat docker-compose.yml | docker-machine ssh mhs-demo0 "cat - > docker-compose.yml"
This file contains 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
# Also refer to https://gist.github.com/stevewithington/5060602 if you wish to allow for mixed siteIDs in URLs | |
# Apache mod_rewrite Docs: http://httpd.apache.org/docs/current/rewrite/ | |
# Intro: http://httpd.apache.org/docs/current/rewrite/intro.html | |
# Flags: http://httpd.apache.org/docs/current/rewrite/flags.html | |
Options All -Indexes | |
Options +FollowSymLinks | |
# ------------------------------------------------------------------------------- | |
# MURA REWRITE OPTIONS |
This file contains 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> | |
param name='form.csvUrl' default='#getPageContext().getRequest().getScheme()#://#cgi.server_name##getDirectoryFromPath(getPageContext().getRequest().getRequestURI())#users.csv'; | |
param name='form.group' default='Temp'; | |
param name='form.isSubmitted' default='false'; | |
param name='form.isTest' default='true'; | |
param name='form.siteid' default='default'; | |
$ = application.serviceFactory.getBean('$').init(form.siteid); | |
if ( !$.currentUser().isSuperUser() && !$.currentUser().isInGroup('admin') ) { |
This file contains 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> | |
param name='form.rssurl' default=''; | |
param name='form.parentfilename' default='blog'; | |
param name='form.isSubmitted' default='false'; | |
param name='form.istest' default='true'; | |
param name='form.siteid' default='default'; | |
$ = application.serviceFactory.getBean('$').init(form.siteid); | |
if ( !$.currentUser().isSuperUser() && !$.currentUser().isInGroup('admin') ) { |
This file contains 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> | |
// Load a new content Bean | |
bean=$.getBean('content'); | |
//Set the parent node of where you want the new node to live | |
bean.setParentID('some id'); | |
bean.setTitle('Some Title'); | |
//Should this go live immediately? 0=no 1=yes |
This file contains 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
<template name="submit_form"> | |
<div class="alert alert-success" style="display: none;" role="alert"> | |
<strong>Your work has been submitted!</strong> You successfully submitted your work. It is now in-review. | |
</div> | |
<div class="well"> | |
{{# with job }} | |
<h3 class="text-info job-name" data-job-id="{{ _id }}">{{ name }}</h3> |
This file contains 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
# User for local dev | |
FROM app/base | |
RUN npm install -g orion-cli | |
# This forces package-catalog update. Should speed up further runs | |
RUN meteor show meteor-platform |
This file contains 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> | |
// Save this file to a path such as /{SiteID}/includes/themes/{ThemeName}/remote/ajaxData.cfc | |
component { | |
remote string function getData(siteid='default', contentid='00000000000000000000000000000000001') returnformat='plain' { | |
var str = ''; | |
var $ = get$(arguments.siteid, arguments.contentid); | |
savecontent variable='str' { | |
WriteOutput("<h1>Hello from ajaxData.cfc</h1> |
This file contains 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
@ECHO OFF | |
REM Remove registry if any | |
REG DELETE "HKEY_CLASSES_ROOT\Directory\shell\WebStorm" /f | |
REM Get WebStorm executable path | |
FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKEY_CLASSES_ROOT\Applications\WebStorm.exe\shell\open\command"`) DO ( | |
SET WEBSTORM=%%A %%B | |
) |
This file contains 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
@echo off | |
SET IntellijPath=C:\Program Files\JetBrains\IntelliJ IDEA 173.2463.16\bin\idea64.exe | |
echo Adding file entries | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open in Intellij" /t REG_SZ /v "" /d "Open in Intellij" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open in Intellij" /t REG_EXPAND_SZ /v "Icon" /d "%IntellijPath%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open in Intellij\command" /t REG_SZ /v "" /d "%IntellijPath% \"%%1\"" /f | |
echo Adding folder entries |
OlderNewer