Instantly share code, notes, and snippets.

# Jason Steinshouer jsteinshouer

Created Jan 18, 2019
Mura Docker Compose Example from https://github.com/blueriver/docker-muracms
View Dockerfile
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
 FROM ortussolutions/commandbox:adobe2016 ENV APP_DIR="/app" RUN apt-get update && apt-get install -y git \ && rm -rf /var/lib/apt/lists/* \ && git clone --branch 7.1 --single-branch --depth 1 https://github.com/blueriver/MuraCMS.git \ && cp -R MuraCMS/. ${APP_DIR} \ && rm -rf MuraCMS Last active Oct 19, 2018 — forked from KittyGiraudel/bling.js bling dot js View bling.js 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  /* bling.js zzz*/ window.$ = document.querySelectorAll.bind(document); Node.prototype.on = window.on = function (name, fn) { this.addEventListener(name, fn); }; NodeList.prototype.__proto__ = Array.prototype;
Created Oct 11, 2018 — forked from ateucher/setup-gh-cli-auth-2fa.md
Setup git on the CLI to use 2FA with GitHub
View setup-gh-cli-auth-2fa.md

These are instructions for setting up git to authenticate with GitHub when you have 2-factor authentication set up. This authentication should be inherited by any GUI client you are using. These are intentionally brief instructions, with links to more detail in the appropriate places.

2. Open the git bash window and introduce yourself to git (if required):

git config --global user.name 'Firstname Lastname'
git config --global user.email 'firstname.lastname@gov.bc.ca'

Created Apr 30, 2018 — forked from Chaser324/GitHub-Forking.md
GitHub Standard Fork & Pull Request Workflow
View GitHub-Forking.md

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

## Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

Created Jan 2, 2018
Sublime Text build config for CommandBox
View project.sublime-project
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
 { "build_systems": [ { "cmd": [ "box.exe" ], "working_dir": "C:\\path\\to\\project", "name": "CommandBox",
Created Dec 28, 2017
Run CFLint with CommandBox Task Runner - SVN
View CfLint.cfc
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
 /** * * CommandBox Task for running cflint * * build/tasks/CFLint.cfc * */ component output="false" accessors="true" { property name="currentBranch";
Created Dec 28, 2017
Example Running CFLint with CommandBox Task Runner
View CFLint.cfc
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
 /** * * CommandBox Task for running cflint * * build/tasks/CFLint.cfc */ component output="false" accessors="true" { /* * Constructor
Created Dec 1, 2017 — forked from omnicolor/svn-lint.php
Pre-commit SVN hook that runs lint
View svn-lint.php
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
 #!/usr/local/bin/php */ /**
Created Jun 26, 2017 — forked from elpete/Application.cfc
In-memory database for testing
View Application.cfc
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
 component displayname="Application" { // Set up an in-memory testing datasource // You may need to install the H2 driver (or Apache Derby, or whatever) this.datasources[ "testing" ] = { class: 'org.h2.Driver', connectionString: 'jdbc:h2:mem:testing;MODE=MySQL', username = "sa" };
Last active May 17, 2017
CommandBox script to setup a Mura6.2 development server
View Mura6.2_setup.boxr
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
 # Need latest CommandBox 3.6 # install cfconfig install commandbox-cfconfig # install Mura 6.2 install id=https://github.com/blueriver/MuraCMS/archive/6.2.zip # install git+https://github.com/blueriver/MuraCMS.git#6.2 # Move contents to root folder since they get installed in MuraCMS directory