Skip to content

Instantly share code, notes, and snippets.

View fleeting's full-sized avatar
🐢
As productive as this turtle.

James Fleeting fleeting

🐢
As productive as this turtle.
View GitHub Profile
@fleeting
fleeting / cwEmail.html
Created September 21, 2012 13:48
CRANE | WEST Email Signature
<table border="0" style="font-family: gill sans, sans-serif; font-size: 14px; color: #666;">
<tr>
<td colspan="3"><img src="http://crane-west.net/email/topShadow.jpg"></td>
</tr>
<tr>
<td style="padding-left: 20px; padding-bottom: 20px;">
<h3 style="margin-bottom: 0px;">James Fleeting</h3>
<p>940-691-2111<br />
<a href="mailto:[email protected]" style="color: #456999;">[email protected]</a></p>
<p><a href="http://facebook.com/cranewest"><img src="http://crane-west.net/email/16x16_facebook.jpg" style="vertical-align: top;"></a> <a href="http://twitter.com/cranewest"><img src="http://crane-west.net/email/16x16_twitter.jpg" style="vertical-align: top;"></a> &nbsp;&bull;&nbsp; <a href="http://crane-west.com" style="color: #456999;">crane-west.com</a></p>
{getFAQs limit=3}
{foreach from=$aQuestions item=aQuestion}
<p><a href="{$aQuestion.url}" title="{$aQuestion.question}">{$aQuestion.question}</a></p>
{/foreach}
header h2 {
background: transparent url(http://crane-west.net/us.png) no-repeat left center;
display: block;
margin: 8px 0 0 15px;
padding: 1px 0 0 22px;
color: #c0ccff;
font-size: 16px;
text-shadow: 1px 1px 1px #000;
}
Array
(
[id] => 4
[businessid] => 3
[name] => Leave Feedback
[data] => Array
(
[0] => Array
(
[name] => How can we improve?
/* Snippets */
.clearfix {
*zoom: 1;
&:before, &:after {
display: table;
content: "";
}
&:after {
clear: both;
@fleeting
fleeting / timeline.js
Created March 29, 2012 18:04
Timeline panel.scrollspy
panel.scrollspy({
min: position.top-300,
max: position.top + panel.height()-300,
onEnter: function(element, position) {
$('aside li.'+panel.attr('rel')).addClass('active');
box.animate({
top: box.attr('data-end-top'),
right: box.attr('data-end-right'),
bottom: box.attr('data-end-bottom'),
left: box.attr('data-end-left')
(function($) {
"use strict";
$.extend({
simpleGithub: function(options){
var options = $.extend({
name: 'jamesfleeting', //username
type: 'user', //Options: user, org, repo (what type of account is `name`)
method: 'repos', //Options: info, repos
option: '', //Options:
success: function(response){},
window.fbAsyncInit = function() {
FB.Canvas.setAutoResize();
}
@font-face {
font-family: 'QuicksandBook';
src: url('Quicksand_Book-webfont.eot');
src: url('Quicksand_Book-webfont.eot?#iefix') format('embedded-opentype'),
url('Quicksand_Book-webfont.woff') format('woff'),
url('Quicksand_Book-webfont.ttf') format('truetype'),
url('Quicksand_Book-webfont.svg#QuicksandBook') format('svg');
font-weight: normal;
font-style: normal;
@font-face {
font-family: 'QuicksandBook';
src: url('Quicksand_Book-webfont.eot');
src: url('Quicksand_Book-webfont.eot?#iefix') format('embedded-opentype'),
url('Quicksand_Book-webfont.woff') format('woff'),
url('Quicksand_Book-webfont.ttf') format('truetype'),
url('Quicksand_Book-webfont.svg#QuicksandBook') format('svg');
font-weight: normal;
font-style: normal;