Skip to content

Instantly share code, notes, and snippets.

View baumicon's full-sized avatar

Michael Reyes baumicon

  • Lexipol
  • San Diego, CA
View GitHub Profile
@baumicon
baumicon / index.html
Created September 28, 2012 14:23
Messing around with canvas.
<canvas id="canvas" width="400" height="400"></canvas>
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
</IfModule>
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
</IfModule>
Options +FollowSymLinks +ExecCGI
RewriteEngine On
curl --user-agent "Googlebot/2.1 (+http://www.google.com/bot.html)" -v $@
module CapybaraWithPhantomJs
include Capybara
# Create a new PhantomJS session in Capybara
def new_session
# Register PhantomJS (aka poltergeist) as the driver to use
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app)
end
curl --user-agent "Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120403211507 Firefox/12.0" http://www.google.com/search\?q\=law%20firm%20boston,%20ma
<canvas id="canvas"/>
@baumicon
baumicon / index.html
Created February 11, 2013 23:44
A CodePen by Michael. Kira Kira Particle
<canvas id='c'></canvas>
@baumicon
baumicon / index.html
Created February 11, 2013 23:45
A CodePen by Michael. 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 to mak…
<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>
@baumicon
baumicon / index.html
Created February 11, 2013 23:46
A CodePen by Michael. 3D objects in CSS
<input id="box-toggle" type="checkbox">
<label for="box-toggle">Show geometry</label>
@baumicon
baumicon / index.html
Created February 11, 2013 23:46
A CodePen by Michael. Pure CSS Perspective Boxes (Animated) v3 - with Controls
<input type="radio" id="left" name="rotate">
<label for="left">Left</label>
<input type="radio" id="reset" name="rotate" checked>
<label for="reset">Reset</label>
<input type="radio" id="right" name="rotate">
<label for="right">Right</label>
<input type="radio" id="up" name="rotate">
<label for="up">Up</label>
<input type="radio" id="down" name="rotate">
<label for="down">Down</label>