Skip to content

Instantly share code, notes, and snippets.

Nate Allison juggernate

Block or report user

Report or block juggernate

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 designer.html
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
Mod RxPy timeflies example to work with Qt(PySide) in Autodesk Maya
from rx.subjects import Subject
from rx.concurrency import QtScheduler
import maya.OpenMayaUI as omui
from PySide import QtCore
juggernate /
Last active Sep 22, 2015
Decorator to check method param types
def accepts(exception,**types):
def check_accepts(f):
assert len(types) == f.func_code.co_argcount, \
'accept number of arguments not equal with function number of arguments in "%s"' % f.func_name
def new_f(*args, **kwds):
for i,v in enumerate(args):
if types.has_key(f.func_code.co_varnames[i]) and \
not isinstance(v, types[f.func_code.co_varnames[i]]):
raise exception("arg '%s'=%r does not match %s" % \
juggernate / gist:bf1eabce167ceaa4d1c6
Created Feb 16, 2016 — forked from clintel/gist:1155906
Fenced code in bullet lists with GitHub-flavoured MarkDown??
View gist:bf1eabce167ceaa4d1c6

Fenced code blocks inside ordered and unordered lists

  1. This is a numbered list.

  2. I'm going to include a fenced code block as part of this bullet:

    More Code

macOS 10.12 Sierra Setup

Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your o

juggernate /
Created Mar 27, 2017 — forked from oubiwann/
appify — create the simplest possible Mac app from a shell script (adds an application icon)
#!/usr/bin/env bash
SCRIPT=`basename "$0"`
OSX_VERSION=`sw_vers -productVersion`
function usage {
juggernate /
Created Sep 11, 2017 — forked from awforsythe/
Allows the user to rename boxes in MotionBuilder relation constraints.
Written by Alex Forsythe (
When executed, attempts to locate any selected box within any relation
constraint in the scene. If a selected relation box is found, prompts the user
to enter a new name for that box. Allows relation boxes to be given more
descriptive names. I'd recommend binding this script to a keyboard shortcut
(see MotionBuilder/bin/config/Scripts/ActionScript.txt) for quick access.
juggernate / buildMaya2018.bat
Created Mar 8, 2018
scons build mgear Maya 2018 x64
View buildMaya2018.bat
scons -j8 no-cache=1 with-maya="C:\Program Files\Autodesk\Maya2018" x64=1
juggernate /
Created Mar 8, 2018
Maya Maya on Windows open Help in Chrome instead of IE
import _winreg
htm = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,"SOFTWARE\\Classes\\.htm", 0, _winreg.KEY_ALL_ACCESS)
_winreg.SetValueEx(htm, '', 0, 1, "ChromeHTML")
juggernate /
Created Mar 9, 2018 — forked from liorbenhorin/
Maya 2017 PySide2 Docking Qt QMainWindow
This is what you need to do in order to get a qt window to dock next to maya channel box,
In all maya versions, including 2017 with PySide2
__author__ = ""
import sys
import os
import logging
import xml.etree.ElementTree as xml
You can’t perform that action at this time.