Skip to content

Instantly share code, notes, and snippets.

jsteinshouer / cfquery.ipynb
Last active April 25, 2023 16:11
Jupyter Notebook - cfquery
View cfquery.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
jsteinshouer / ArrowFunction.ipynb
Created April 8, 2023 12:17
Jupyter Notebook - Arrow Functions
View ArrowFunction.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
jsteinshouer / MultiRecordSetQuery.cfc
Last active November 20, 2020 18:18
Execute queries that return multiple result sets
View MultiRecordSetQuery.cfc
component output="false" singleton="true" {
* Constructor
public any function init() {
var serviceFactory = createObject("java", "coldfusion.server.ServiceFactory");
jsteinshouer /
Created April 30, 2018 02:19 — forked from Chaser324/
GitHub Standard Fork & Pull Request Workflow

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

View Dockerfile
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 \
&& cp -R MuraCMS/. ${APP_DIR} \
&& rm -rf MuraCMS
jsteinshouer / bling.js
Last active October 19, 2018 03:35 — forked from KittyGiraudel/bling.js
bling dot js
View bling.js
/* 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;
jsteinshouer /
Created October 11, 2018 21:03 — forked from ateucher/
Setup git on the CLI to use 2FA with GitHub

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.

  1. Download and install the git command-line client (if required).

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

    git config --global 'Firstname Lastname'
    git config --global ''
jsteinshouer / Mura7_setup.boxr
Last active May 10, 2018 18:37
CommandBox script to run a Mura 7 site with an embedded H2 database
View Mura7_setup.boxr
# Need latest CommandBox 3.6
# install cfconfig
install commandbox-cfconfig --force
# install mura 7
install muracms
# start server
server start cfengine=lucee@5 rewritesEnable=true openBrowser=false
# setup datasource
jsteinshouer / project.sublime-project
Created January 2, 2018 19:43
Sublime Text build config for CommandBox
View project.sublime-project
"working_dir": "C:\\path\\to\\project",
"name": "CommandBox",
jsteinshouer / CfLint.cfc
Created December 28, 2017 17:43
Run CFLint with CommandBox Task Runner - SVN
View CfLint.cfc
* CommandBox Task for running cflint
* build/tasks/CFLint.cfc
component output="false" accessors="true" {
property name="currentBranch";