Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block kevan

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:4275398
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = /tmp
View gist:4275358
class Comment
public static function gets($node_id)
$comments = Db::select()
->where('node_id', '=', $node_id)
->and_where('status', '=', 1)
->order_by(Db::expr('SUBSTRING(thread, 1, (LENGTH(thread) - 1))'), 'asc')
kevan / hideaddrbar.js
Created Jul 30, 2012 — forked from scottjehl/hideaddrbar.js
Normalized hide address bar for iOS & Android
View hideaddrbar.js
* Normalized hide address bar for iOS & Android
* (c) Scott Jehl,
* MIT License
(function( win ){
var doc = win.document;
// If there's a hash, or addEventListener is undefined, stop here
if( !location.hash && win.addEventListener ){
kevan / gist:2848867
Created Jun 1, 2012 — forked from raptium/gist:2848464
View gist:2848867
You can’t perform that action at this time.