Skip to content

Instantly share code, notes, and snippets.

View quezo's full-sized avatar

Alex Vazquez quezo

  • CodePen
  • Seattle, WA
View GitHub Profile
@quezo
quezo / index.html
Created July 5, 2013 13:15
A CodePen by Christopher S.. Animated envelope - Only CSS envelope that opens on hover and a letter comes out. Inspired by http://www.icondeposit.com/theicondeposit:129
<div class="envelope">
<div class="icon-envelope"></div>
<div class="header"></div>
<div class="letter"></div>
</div>
@quezo
quezo / index.html
Created July 1, 2013 22:55
A CodePen by suffick. Blue Canvas Clock - Just check time. :)
<canvas id="canvas"></canvas>
@quezo
quezo / CipherTimer.js
Created June 27, 2013 20:34
This was a small test I created to determine the fastest Cipher (an algorithm used for encryption/decryption) available in NodeJS. There was a huge variation between the best (aes-128-ofb at 305.6934) and the worst (bf-ecb at 1024.3660).
var crypto = require('crypto');
var _ = require('underscore')._;
// Returns elapsed time in milliseconds
function get_elapsed_time(startTime) {
var diff = process.hrtime(startTime);
// (seconds to milliseconds) + (nanoseconds to milliseconds)
return (diff[0] * 1000) + (diff[1] / 1000000);
}
@quezo
quezo / index.html
Created June 26, 2013 18:16
A CodePen by Alex Vazquez. - ___h1___
<h1>who is this? hello again dog.</h1>
<h3>not bad dude. not really. not that bad huh?</h3>
<h3>what is this? I dunno. who are you. what? no mas dude. no mas. glass of water. glass of watter is what we need. keep on keeping on idiot.
how does this even work?
</h3>
# CoffeeScript mode for CodeMirror
# Copyright (c) 2011 Jeff Pickhardt, released under
# the MIT License.
#
# Modified from the Python CodeMirror mode, which also is
# under the MIT License Copyright (c) 2010 Timothy Farrell.
#
# The following script, Underscore.coffee, is used to
# demonstrate CoffeeScript mode for CodeMirror.
#
@quezo
quezo / index.html
Created May 24, 2013 06:38
A CodePen by Alex Vazquez. Blue H1 Resource
<h1>h1 s should be blue</h1>
<h3>what color should an h3 be?</h3>
@quezo
quezo / index.html
Created May 15, 2013 07:00
A CodePen by Alex Vazquez.
<h1>hello again dude!</h1>
@quezo
quezo / index.markdown
Created May 10, 2013 05:31
A CodePen by Alex Vazquez.

Markdown Works on Code Pen Hooray!

@quezo
quezo / index.html
Created May 10, 2013 05:03
A CodePen by Leonard Meagher.
<div class="wrap">
WIP SVG smileys
<div class="smiles">
:O :P :| :icecream: :frog: :) :D
</div>
</div>
@quezo
quezo / index.html
Created March 19, 2013 05:08
A CodePen by Chris Coyier. Simple Responsive Form - Markup based on Wufoo forms.
<form action="#">
<header>
<h2>Example Responsive Form</h2>
<div>This form breaks at 600px and goes from a left-label form to a top-label form. At above 1200px, the labels align right.</div>
</header>
<div>
<label class="desc" id="title1" for="Field1">Full Name</label>
<div>