Skip to content

Instantly share code, notes, and snippets.


rw glued

Block or report user

Report or block glued

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
glued / deno.ts
Last active May 13, 2020
View deno.ts
console.log("Welcome to Denos5 🦕");
View deno.ts
console.log("Welcome to Deno 🦕");
glued / theme.js
Last active Oct 8, 2019
Check for OS Dark Theme in the browser
View theme.js
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
View deep-copy-decorator.ts
function DeepCopy() {
return function(target: any, key: string) {
let value = target[key];
return Object.defineProperty(target, key, {
configurable: true,
get: () => value,
set: val => {
value = JSON.parse(JSON.stringify(val));
View .babelrc
"presets": ["es2015", "stage-0"]
glued / ThreejsExportScript.mel
Last active Aug 29, 2015
Maya exporter mel script modified because it doesnt save settings
View ThreejsExportScript.mel
// ThreeJsExportScript.mel
// Author: Sean Griffin
// Email:
global proc int ThreeJsExportScript(string $parent, string $action, string $settings, string $callback)
if ($action == "post")
setParent $parent;
columnLayout -adj true;
glued / Threejs_maya
Last active Aug 29, 2015
Modified THREEJS Maya plugin
View Threejs_maya
__author__ = 'Sean Griffin'
__version__ = '1.0.0'
__email__ = ''
import sys
import os.path
import json
import shutil
glued / raf.js
Created Jul 4, 2015
ES2015 requestAnimationFrame polyfill
View raf.js
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
to use just create a file raf.js
import './utils/raf';
glued / gist:f7b2def1c4edd48dce44
Created Feb 16, 2015
Intel Galileo Notes ( outdated )
View gist:f7b2def1c4edd48dce44

Intel Galileo Notes 12.13.2013

###1. Load distro onto MicroSD card The default linux distro from Intel is missing GCC / make which is required by many NPM modules but... A guy from intel has a [Nice Tutorial][1] which adds the dev tools to the Yocto distro or [download his custom image][2]

###2. SSH into your galileo ssh root@someaddress

You can’t perform that action at this time.