Skip to content

Instantly share code, notes, and snippets.

🕹

Max Glenister omgmog

🕹
Block or report user

Report or block omgmog

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 no-break-space.md

# nbsp space

normal space

# actual nbsp space

@omgmog
omgmog / snippet.md
Created Jun 20, 2012 — forked from harthur/snippet.md
console.log() key binding for Sublime Text
View snippet.md

Go to Sublime Text 2 > Preferences > Key Bindings - User and add this JSON to the file:

[
    { "keys": ["super+shift+l"],
      "command": "insert_snippet",
      "args": {
        "contents": "console.log(${1:}$SELECTION);${0}"
      }
    }
@omgmog
omgmog / jquery_disqus_lazyload.js
Created Apr 5, 2012 — forked from muratcorlu/jquery_disqus_lazyload.js
Load disqus comments when visitor scroll down page to comments
View jquery_disqus_lazyload.js
/**
* Load disqus comments when visitor scroll down page to comments
*
* Usage:
* Add a div with id "disqus_thread" and data attributes for every disqus parameter:
*
* <div id="disqus_thread" data-disqus-shortname="username" data-disqus-url="http://example.com/post/post-name/"></div>
*
* @author: Murat Corlu
* @link: https://gist.github.com/gists/2290198
You can’t perform that action at this time.