Skip to content

Instantly share code, notes, and snippets.

Binyamin Laukstein laukstein

Block or report user

Report or block laukstein

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 gist:715944
/**
* http://www.20thingsilearned.com/js/twentythings.min.js
* The history class is in charge of the browser
* history and URL's.
*/
TT.history = {};
/** */
TT.history.TABLE_OF_CONTENTS = 'table-of-things';
TT.history.HOME = 'home';
@laukstein
laukstein / LICENSE.txt
Created Nov 29, 2011 — forked from 140bytes/LICENSE.txt
Ajax SEO snippet in 140 bytes
View LICENSE.txt
GPL and MIT LICENSE
@laukstein
laukstein / dabblet.css
Created Jan 29, 2012
Animate to natural width
View dabblet.css
/* Animate to natural width */
body { background: black; padding: 100px; margin: 0; }
.progress-bar {
border: 2px solid red;
border-radius: 14px;
overflow: hidden;
}
.progress-bar > div {
View dabblet.css
@keyframes rotate{
from{
transform:rotate(0deg) translate(-10px) rotate(0deg);
background-color:green;
}
to{
transform:rotate(360deg) translate(-10px) rotate(-360deg);
background-color:yellow;
}
}
View dabblet.css
/* CSS3 spinner */
@keyframes rotate{
from{
transform:rotate(0deg) translate(-9px) rotate(0deg);
}
to{
transform:rotate(360deg) translate(-9px) rotate(-360deg);
}
}
View dabblet.css
/* CSS3 spinner */
@keyframes rotate{
from{
transform:rotate(0deg) translate(-9px) rotate(0deg);
}
to{
transform:rotate(360deg) translate(-9px) rotate(-360deg);
}
}
View gist:5089313
<?php
$menu_name = 'main_nav';
$locations = get_nav_menu_locations();
$menu = wp_get_nav_menu_object( $locations[ $menu_name ] );
$menuitems = wp_get_nav_menu_items( $menu->term_id, array( 'order' => 'DESC' ) );
?>
<nav>
<ul class="main-nav">
<?php
You can’t perform that action at this time.