View master-ghpages
git push -f origin master:gh-pages
View 2col.css
div {
display: inline-block;
vertical-align: top;
#container {
width: 100%;
overflow: hidden;
background-color: black;
position: relative;
View webkit-fail.js
/* */
$('.zero').click(function(e) {
View footer.js
View transitionend.js
$("#top").one('transitionend webkitTransitionEnd oTransitionEnd otransitionend', function(){
View functions.php
function is_post_type($type){
global $wp_query;
if($type == get_post_type($wp_query->post->ID)) return true;
return false;
add_filter('nav_menu_css_class' , 'special_nav_class' , 10 , 2);
function special_nav_class($classes, $item){
View functions.php
function custom_get_avatar($avatar, $id_or_email, $size, $default, $alt) {
if ( is_admin() ) {
$email = '';
if ( is_numeric($id_or_email) ) {
$id = (int) $id_or_email;
$user = get_userdata($id);
if ( $user )
$email = $user->user_email;
View cherry-picking twitter bootstrap scrollspy.htm
<script type="text/javascript" src=""></script>
<!-- grab the bootstrap-scrollspy.js file -->
<script type="text/javascript" src="scripts/bootstrap-scrollspy.js"></script>
<!-- it works by specifying data attributes, rather than the user calling a method on an object -->
<!-- data-target is a container to the navigation element -->
<body data-target="#navigation_area"
View .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# point LESS files to the compiler script
RewriteRule ^([^.]*\.less)$ compilers/lessphp.php?file=$1 [R,QSA,L]
View Responsive iFrame.htm
<div class="video">
<img id="video_ratio" alt="Aspect Ratio" src="images/3x4.png"/>
<div id="player">