Skip to content

Instantly share code, notes, and snippets.

View mchambaud's full-sized avatar
🚲
Meet, commit, ride.

Michael Chambaud mchambaud

🚲
Meet, commit, ride.
  • Montreal, Canada
View GitHub Profile
@kevinSuttle
kevinSuttle / meta-tags.md
Last active March 31, 2024 14:26 — forked from lancejpollard/meta-tags.md
List of Usable HTML Meta and Link Tags
@rbartholomew
rbartholomew / Netflix.js
Created November 16, 2011 01:05
Netflix Windows 8
(function () {
'use strict';
var clientKey = "XXXXXXXXXXXXXX";
var clientSecret = "XXXXXXXXXXXX";
var oauthToken;
var oauthSecret;
var userId;
var loginUrl;
var applicationName;
@remy
remy / gist:259520
Created December 18, 2009 14:39
onorientationchange
// jQuery based patch for onorientationchange
(function () {
var w = window.innerWidth, h = window.innerHeight, el = $('body')[0];
if (!('onorientationchange' in el)) {
if (el.setAttribute) {
el.setAttribute('onorientationchange', 'return;');
if (!typeof element[eventName] == 'function') {
// patch support for the onorientationchange event via onresize
$(window).resize(function () {