Skip to content

Instantly share code, notes, and snippets.

View thm-design's full-sized avatar
Just build it.

Tony H Meyer thm-design

Just build it.
View GitHub Profile
# MySQL. Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql2
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql2
encoding: utf8
{
"files":
{
"jquery" : "http://code.jquery.com/jquery.js",
"jquery.min" : "http://code.jquery.com/jquery.min.js",
"jquery-cookie" : "https://raw.github.com/carhartl/jquery-cookie/master/jquery.cookie.js",
"jquery-dotimeout" : "https://raw.github.com/cowboy/jquery-dotimeout/master/jquery.ba-dotimeout.min.js",
"jquery-extra-selectors" : "https://raw.github.com/keithclark/JQuery-Extended-Selectors/master/jquery-extra-selectors.js",
"jquery-flexslider" : "https://raw.github.com/mbmufffin/FlexSlider/master/jquery.flexslider-min.js",
"jquery-mediaelement" : "https://raw.github.com/johndyer/mediaelement/master/build/mediaelement-and-player.js",
// History.js It!
// v1.0.1 - 30 September, 2012
// https://gist.github.com/854622
(function(window,undefined){
// Prepare our Variables
var
History = window.History,
$ = window.jQuery,
document = window.document;

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

@thm-design
thm-design / index.html
Created January 15, 2013 13:06
A CodePen by Tony Meyer. Slide to Check - A mobile friendly interactive checkbox. Slide or tap the checkbox to toggle it.
<input type='checkbox'><br>
<input type='checkbox' checked><br>
<input type='checkbox'>
@thm-design
thm-design / index.html
Created January 1, 2013 19:29
A CodePen by Tony Meyer. 404 No signal
<h1>404</h1>
<div class="frame">
<div></div>
<div></div>
<div></div>
</div>
<div class="caps"><img src="http://ademilter.com/caps.png" alt=""></div>
<canvas id="canvas"></canvas>
@thm-design
thm-design / index.html
Created December 31, 2012 20:25
A CodePen by simurai. Chameleon Theme - Adapting to ANY color. Not really possible with CSS alone. Next stop -> SCSS.
<h1>Chameleon Theme</h1>
<h2>Adapting to <span id="color">ANY</span> color.</h2>
<input id="input-color" type="color" value="#00aaff">
<ul class="box">
<button>Button</button>
</ul>
<p>Not really possible with CSS alone.</p>
@thm-design
thm-design / index.html
Created December 31, 2012 20:05
A CodePen by GasDauMin.
<div id="warp">
<br />
<label for="check"><input id="check" type="checkbox"><span class="strip"></span></label><br /><br />
<label for="check2"><input checked id="check2" type="checkbox"><span class="strip"></span></label>
<br />
<br />
<br />
</div>
@thm-design
thm-design / index.html
Created December 31, 2012 20:04
A CodePen by charlie hield. CSS Buttons - In this iteration, these buttons only use unicode symbols. You could also use text or icon fonts. Please see my <a href="http://dribbble.com/shots/743236-CSS-Buttons-Widget">Dribbble shot</a> or <a href="http://trinkaus.cc/labs/buttons.html">LABS@TRINKAUS.CC</a> for more examples. The next step would be …
<div class='buttons'>
<a href='#' title='Title 1'>
&#x2606;
</a>
<a class='active' href='#' title='Title 2'>
&#x262F;
</a>
<a href='#' title='Title 3'>
&#x2666;
</a>
@thm-design
thm-design / script.coffee
Created December 31, 2012 20:03
A CodePen by Jack Rugile. Bubble Sketch.js Test - Giving Sketch.js, by Soulwire, a quick test and loving it. Learn more about it here: http://soulwire.github.com/sketch.js/
# General Variables
sketch = Sketch.create()
particles = []
particleCount = 750
sketch.mouse.x = sketch.width / 2
sketch.mouse.y = sketch.height / 2
sketch.strokeStyle = 'hsla(200, 50%, 50%, .4)'
sketch.globalCompositeOperation = 'lighter'
# Particle Constructor