Skip to content

Instantly share code, notes, and snippets.


Gregor Aisch gka

Block or report user

Report or block gka

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
paulirish / rAF.js
Last active Feb 15, 2020
requestAnimationFrame polyfill
View rAF.js
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
johnkolbert / gist:769160
Created Jan 7, 2011
Unregisters a post type and removes the menu item
View gist:769160
* Usage for a custom post type named 'movies':
* unregister_post_type( 'movies' );
* Usage for the built in 'post' post type:
* unregister_post_type( 'post', 'edit.php' );
function unregister_post_type( $post_type, $slug = '' ){
You can’t perform that action at this time.