Skip to content

Instantly share code, notes, and snippets.

@davefearon
davefearon / index.html
Created April 23, 2013 16:49
A CodePen by Dave Fearon. Twitter Button Concept by Erik Deiner - Recreation of the popular shot: http://dribbble.com/shots/457259-Twitter-Button-Concept Works best in Webkit browsers. Windows XP users won't see a perspective effect. ** I am incredibly surprised and thankful for how popular this pen has become. Please make sure you go and follow…
<section>
<div class="button">
<a href="https://twitter.com/bennettfeely" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @bennettfeely</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<div class="cover">
<div class="innie"></div>
<div class="spine"></div>
<div class="outie"></div>
</div>
@davefearon
davefearon / 0_reuse_code.js
Created October 2, 2013 22:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@davefearon
davefearon / test.js
Created May 24, 2016 15:29
This is a test
Number.prototype.yoString = function() {
return 'Yo, ' + this + '!';
};
var num = 3;
console.log(num.yoString());