Skip to content

Instantly share code, notes, and snippets.

@magus
magus / bitmovin.js
Last active November 7, 2017 00:01
bitmovin-7.4.3
/****************************************************************************
* Copyright (C) 2017, Bitmovin, Inc., All Rights Reserved
*
* This source code and its use and distribution, is subject to the terms
* and conditions of the applicable license agreement.
*
* Bitmovin Player Version 7.4.3
*
****************************************************************************/
(function() {

Keybase proof

I hereby claim:

  • I am magus on github.
  • I am magusn (https://keybase.io/magusn) on keybase.
  • I have a public key ASAaR9RdsZidPQBjBLCgThBN0Yg2je5fnweK0gqH6cTFhgo

To claim this, I am signing this object:

@magus
magus / FBLoginButton.ios.js
Created April 1, 2015 18:10
react-native :: FBSDKLoginButton
var React = require('React');
var NativeModules = require('NativeModules');
var ReactIOSViewAttributes = require('ReactIOSViewAttributes');
var StyleSheet = require('StyleSheet');
var createReactIOSNativeComponentClass = require('createReactIOSNativeComponentClass');
var PropTypes = require('ReactPropTypes');
var LayoutPropTypes = require('LayoutPropTypes');
var StyleSheetPropType = require('StyleSheetPropType');
var NativeMethodsMixin = require('NativeMethodsMixin');
var flattenStyle = require('flattenStyle');
@magus
magus / 0_reuse_code.js
Created June 21, 2014 02:44
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@magus
magus / tmpl.js
Created April 30, 2011 01:41
templating function which can traverse the path of a context object from a string representation
/**
* Simple Templating Function
* ==========================
* Replace {variable} in template string
* Able to resolve paths in template variable strings based on
* the context provided as second argument.
*
* Inspired by Thomas Fuchs
* http://mir.aculo.us/2011/03/09/little-helpers-a-tweet-sized-javascript-templating-engine/
*