Skip to content

Instantly share code, notes, and snippets.

mrsteveheyes

Block or report user

Report or block mrsteveheyes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am mrsteveheyes on github.
  • I am mrsteveheyes (https://keybase.io/mrsteveheyes) on keybase.
  • I have a public key whose fingerprint is 3C8E 039D 0989 B26C 241D B8AD 6A1C 885F 8706 572F

To claim this, I am signing this object:

View Preferences.sublime-settings.json
{
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"binary_file_patterns":
[
"generated/*",
"*.tbz2",
"*.gzip",
"*.jpg",
"*.jpeg",
View vimrc
filetype off
set nocompatible
set backspace=indent,eol,start
let mapleader=" "
" Soft tabs
set smartindent
set expandtab
@mrsteveheyes
mrsteveheyes / gist:2853300
Created Jun 1, 2012
I want the text in the <li> tags to be vertically aligned to the middle of the element.
View gist:2853300
<ul class="step-by-step">
<li class="step step-1"><a class="button" href="/signup" title="Sign Up for free">Sign Up <span>for free</span></a></li>
<li class="step step-2">Sign up to set up rewards</li>
<li class="step step-3">TELL YOUR FOLLOWERS WHAT THEY COULD EARN BY RECOMMENDING YOUR SERVICE</li>
<li class="step step-4">THE MORE THEY SHOUT ABOUT YOU ON THEIR SOCIAL NETWORKS. THE MORE POINTS THEY EARN AND THE MORE PEOPLE HEAR ABOUT YOU.</li>
<li class="step step-5">YOU REWARD THEM FOR HELPING YOUR VIRAL CAMPAIGN SPREAD</li>
<li class="step step-6">SEE WHO ARE YOUR MOST INFLUENTIAL CUSTOMERS &amp; MAYBE REWARD THEM SOME MORE? </li>
</ul><!-- /.step-by-step -->
View My Code That isn't working
// SETUP
// Get the required modules
var express = require("express"),
mustachio = require("mustachio"),
sys = require("sys"),
app = express.createServer();
// Configure the app
@mrsteveheyes
mrsteveheyes / client.js
Created Aug 26, 2011 — forked from anildigital/client.js
Twitter streaming API example twitter-node and socket.io
View client.js
<!DOCTYPE HTML>
<head>
<title>Codesnippit NodeJS Twitter Tracker Client</title>
</head>
<body>
<ul></ul>
<script>
(function() {
var script = document.createElement("script");
script.src = "http://code.jquery.com/jquery.min.js";
@mrsteveheyes
mrsteveheyes / gist:1044564
Created Jun 24, 2011
Datamapper problem
View gist:1044564
require 'datamapper'
require 'sinatra/base'
require 'mustache/sinatra'
#DataMapper.setup(:default, "mysql://localhost/happie_local")
# MODELS
# END MODELS
View gist:1000471
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/Users/steveheyes/Sites"
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
You can’t perform that action at this time.