Skip to content

Instantly share code, notes, and snippets.

View petrichor8's full-sized avatar

Dave Hunsberger petrichor8

  • Potomac Digitek
  • Maryland, USA
View GitHub Profile
@petrichor8
petrichor8 / muraImportUsersViaCSV.cfm
Last active January 16, 2020 19:46 — forked from stevewithington/muraImportUsersViaCSV.cfm
Example of how to import Users into Mura CMS via .CSV file. Also see https://gist.github.com/stevewithington/4742829 to import content from an RSS Feed.
<cfscript>
param name='form.csvUrl' default='#getPageContext().getRequest().getScheme()#://#cgi.server_name##getDirectoryFromPath(getPageContext().getRequest().getRequestURI())#users.csv';
param name='form.group' default='TempImport';
param name='form.isSubmitted' default='false';
param name='form.isTest' default='true';
param name='form.siteid' default='default';
param name='form.userPass' default='';
$ = application.serviceFactory.getBean('$').init(form.siteid);
@petrichor8
petrichor8 / dsp_login.cfm
Last active January 10, 2020 19:43 — forked from jsieber/dsp_login.cfm
custom returnLoginCheck
<cfif variables.$.event('expired') eq true>
<div class="alert alert-danger">#variables.$.rbKey('user.forgotexpired')#</div>
</cfif>
@petrichor8
petrichor8 / keybase.md
Created May 7, 2018 20:09
keybase.io verification

Keybase proof

I hereby claim:

  • I am petrichor8 on github.
  • I am somewhatjaded (https://keybase.io/somewhatjaded) on keybase.
  • I have a public key whose fingerprint is A007 0393 89BC CCE6 5CFE 5D45 F99C 95FC A37F 99A0

To claim this, I am signing this object:

@petrichor8
petrichor8 / Twitter Bootstrap 3.2.0 Callouts.markdown
Last active May 2, 2016 14:38
Twitter Bootstrap 3.2.0 Callouts

Twitter Bootstrap 3.2.0 Callouts

The Bootstrap documentation has really nice callouts to draw attention to important information, but for some reason these callouts are not included in the actual Bootstrap distribution. The generic callout CSS and the styles for the info, warning, and danger callouts is a direct pull from the live CSS for the docs. Styles for default, success, and primary, are created by me, as the Bootstrap docs do not employ these.

Forked from Chris Pratt's Pen Twitter Bootstrap 3.2.0 Callouts.

A Pen by Dave Hunsberger on CodePen.

License.

@petrichor8
petrichor8 / Bootstrap 3 Carousel Fade Transition.markdown
Last active April 12, 2023 21:00
Bootstrap 3 Carousel Fade Transition