Skip to content

Instantly share code, notes, and snippets.

View DownRangeDevOps's full-sized avatar

Ryan Fisher DownRangeDevOps

View GitHub Profile
@DownRangeDevOps
DownRangeDevOps / req-apt.html
Created June 27, 2012 18:56
Reqeust Appointment Button
<div style="background-color: #3ba0bb; border-radius: 10px 10px 10px 10px; color: #ffffff; width: 200px; text-align: center; padding: 10px 0pt; margin: auto;">
<a href="#" onclick="Popup=window.open(&#39;?request_appointment=1&#39;,&#39;Popup4&#39;,&#39;toolbar=no,location=yes,status=no,menubar=no,scrollbars=no,resizable=no,width=360,height=693&#39;); return false;" class="launch_request_appointment" title="Request Appointment" style="color: #ffffff; text-decoration: none;">Request an Appointment</a>
</div>
@DownRangeDevOps
DownRangeDevOps / ccm_demo.html
Created June 28, 2012 20:31
Custom Content Modules: Demo Content
<!-- Begin Exclusive Offer Module Code -->
<div class="exclusive_offer"> <img class="exclusive_offer_image" alt="Exclusive Offer Image" src="/images/common/save_medallion.png" />
<h3>New patients receive <span>__% OFF</span> first visit.</h3>
<p>Sign-up using the form or call us at <strong>%CLIENT_PHONE%</strong> to take advantage of this exclusive offer.</p>
</div>
%LEAD_GENERATION_FORM%
<!-- End -->
<!-- Begin Testimonial Module Code -->
<div class="client_testimonial">
<meta HTTP-EQUIV="REFRESH" content="0;url=
http://
"<p align="center">Redirecting you, or you can use a <a href="
http://
">direct link</a>.</p>
@DownRangeDevOps
DownRangeDevOps / ads_s12_mods.html
Created July 17, 2012 20:50
ADS Skin 12 Modules
<!-- Mod 1 -->
<!-- END -->
<!-- Mod 2 -->
<h3>%CLIENT_BUSINESSNAME%</h3>
<p>%CLIENT_ADDRESS%
<br />%CLIENT_CITY%,&nbsp;%CLIENT_STATE% %CLIENT_ZIP%</p>
<p>Phone:&nbsp;%CLIENT_PHONE%
<br />Fax:&nbsp;%CLIENT_FAX%
@DownRangeDevOps
DownRangeDevOps / data_dumper.pl
Created July 31, 2012 20:15
Data dumper, debug snipit
open ( my $dump_fh, ">", 'data_dumper.txt' ) or die $!;
print $dump_fh Dumper( ); #any data object ex: $mech->forms()
print "Debug pause, mech data dumped to data_dumper.txt\n";
<STDIN>;
@DownRangeDevOps
DownRangeDevOps / 3d_spine_sim.html
Created July 31, 2012 21:31
3d Spine Simulator
<div id="spine_simulator">
<h2 id="spine_content_title"><strong class="doTrans"></strong></h2>
<p id="spine_content" style="text-align: center;">
<script type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) { // if we've detected an acceptable version
var oeTags = '<embed src="/3d_spine/3d-spine-simulator-man.swf" loop="true" menu="false" quality="high" wmode="transparent" '
+ 'width="100" height="200"'
+ 'allowScriptAccess="sameDomain"'
@DownRangeDevOps
DownRangeDevOps / chiro_demo_main.html
Created August 23, 2012 17:35
Chiro Demo Content - Main Pages
<!-- HOME -->
<h1 style="text-align: center;">
Welcome to %CLIENT_BUSINESSNAME%
</h1>
<h2 style="text-align: center;">
Your %CLIENT_CITY% Chiropractor
</h2>
<p>
%SKIN_TOKEN%
</p>
@DownRangeDevOps
DownRangeDevOps / chiro_demo_npc.html
Created August 23, 2012 17:37
Chiro Demo Content - New Patient Subs
<!-- ONLINE FORMS -->
<p>
%CLIENT_BUSINESSNAME% offers our patient form(s) online so they can be completed it in the convenience of your own home or office.
</p>
<ul>
<li>If you do not already have AdobeReader® installed on your computer, <a title="Download the free AdobeReader®" href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank">Click Here</a> to download.
</li>
<li>Download the necessary form(s), print it out and fill in the required information.
</li>
<li>Fax us your printed and completed form(s) or bring it with you to your appointment.
@DownRangeDevOps
DownRangeDevOps / chiro_demo_about.html
Created August 23, 2012 17:41
Chiro Demo Content - About Us Subs
<!-- MEET THE DOCTOR -->
<p>
<img width="155" height="214" align="left" src="/clients/26/images/dr_anderson_profile01.png" alt="Dr. Anderson" style="border-width: 0px; border-style: solid; padding: 3px; margin: 3px;">%CLIENT_TITLE% %CLIENT_FIRSTNAME% %CLIENT_LASTNAME% has been a licensed chiropractor since 1979.
</p>
<p>
%CLIENT_TITLE% %CLIENT_FIRSTNAME% %CLIENT_LASTNAME% has been freeing people from pain since 1980 in his clinic in %CLIENT_CITY%, %CLIENT_STATE%. As a Chiropractor with experience, our professionals are committed to promoting the health and well being of his patients.
</p>
<p>
%CLIENT_TITLE% %CLIENT_LASTNAME% uses a &quot;whole person approach&quot; when taking care of his patients. By combining the very best hands-on-technique, state of the art physiotherapy procedures, and providing the newest and best natural vitamins and mineral supplements on the market today, %CLIENT_TITLE% %CLIENT_LASTNAME% is able to help you to accelerate and/or maintain your journey to good health.
</p>
@DownRangeDevOps
DownRangeDevOps / collapse-div.js
Created September 27, 2012 21:26
Collapse div script
// ==UserScript==
// @name Collapse Kayako Response
// @namespace http://my.chiromatrixbase.com/fisher.chiromatrix.com/collaps_div.js
// @include http://imatrixsupport.com/staff/*
// ==/UserScript==
window.addEventListener('load', function(e) {
var threshold = [100,100];
var skipthreshold = [1000,1000];
var toCollapse = [];