Skip to content

Instantly share code, notes, and snippets.

🦄
React'ing.

Robert Moggach robmoggach

🦄
React'ing.
Block or report user

Report or block robmoggach

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
@robmoggach
robmoggach / ease.js
Created Jul 17, 2019
After Effects Easing Functions
View ease.js
function easeExpo(beginValue, endValue, duration, offset) {
t = time - offset;
if (t < 0) return beginValue;
if (t > duration) return endValue;
if (beginValue.constructor == Array) {
x = 0;
y = 0;
z = 0;
if (beginValue.length == 2) {
x = easeExpo(beginValue[0], endValue[0], duration, offset);
@robmoggach
robmoggach / gulpfile.js
Last active Jan 24, 2019
mediumra.re gulpfile for insight and pipeline themes...
View gulpfile.js
/* eslint-disable */
// REQUIRE STATEMENTS
const fs = require('fs'),
path = require('path'),
gulp = require('gulp'),
pixrem = require( 'gulp-pixrem' ),
log = require('fancy-log'),
newer = require('gulp-newer'),
runSequence = require('run-sequence'),
sass = require('gulp-sass'),
View nucamio.py
import math
import os
import re
import json
from pprint import pprint
from collections import OrderedDict
from operator import add
import maya.cmds as cmds
import maya.mel as mel
@robmoggach
robmoggach / RRM_utils.py
Created Feb 19, 2018 — forked from evitolins/RRM_utils.py
Maya Python Snippets
View RRM_utils.py
'''
This fixes a RRM bug (v1.4.7) where saved RRM setups do not preserve a
module's 'pinned' status.
'''
import maya.cmds as cmds
import maya.mel
def RRM_fixPinBug(objs):
for obj in objs:
trans = cmds.xform(obj,q=True, r=True, translation=True)
maya.mel.eval("RRM_PinProxies(1, 0);")
@robmoggach
robmoggach / framestore_setup.md
Last active Jan 31, 2018
Configuring A New Framestore for Autodesk Flame
View framestore_setup.md

Initial Checks

After Red Hat Installation is complete, login to your new installation.

Default Autodesk Login

User: root Pass: password

1) Check /etc/fstab to verify whether or not StorageMedia entry has been added.

@robmoggach
robmoggach / chart_all_coins.sh
Created Jan 27, 2018
Chart & Classify Bittrex Coins
View chart_all_coins.sh
#!/usr/bin/env bash
# COINS=( 1ST 2GIVE ABY ADA ADT ADX AEON AGRS AMP ANT )
COINS=( 1ST 2GIVE ABY ADA ADT ADX AEON AGRS AMP ANT \
APX ARDR ARK AUR BAT BAY BCC BCY BITB BLITZ \
BLK BLOCK BNT BRK BRX BSD BTC BTCD BTG BURST \
BYC CANN CFI CLAM CLOAK CLUB COVAL CPC CRB CRW \
CURE CVC DASH DCR DCT DGB DMD DNT DOGE DOPE DTB \
DYN EBST EDG EFL EGC EMC EMC2 ENG ENRG ERC ETC \
@robmoggach
robmoggach / overclock_nvidia.sh
Created Nov 20, 2017
overclock nvidia bash script
View overclock_nvidia.sh
#!/usr/bin/env bash
DEFAULT_FAN=65
DEFAULT_MEM=1500
DEFAULT_GPU=150
DEFAULT_POW=200
echo "Setting up ${GPU_COUNT} GPU(s)..."
GPU_COUNT="$(nvidia-smi -L | wc -l)"
@robmoggach
robmoggach / profitcoin.py
Created Nov 16, 2017
python script to return currently most profitable coins to mine
View profitcoin.py
#!/usr/bin/env python
import urllib2
import json
import argparse
SRC_META = {
'whattomine': {
'url': "https://whattomine.com/coins.json",
'sort_key': 'profitability',
@robmoggach
robmoggach / idmx.py
Created Sep 28, 2017
Identity Matrix Locator Creator
View idmx.py
import maya.cmds as cmds
import maya.mel as mel
import maya.OpenMaya as OpenMaya
class IdMx():
"""
Identity Matrix Locator Creator Class
written by Robert Moggach, 2010
This creates an animated locator that represents
the identity matrix for two selected
@robmoggach
robmoggach / _divider.scss
Created Mar 11, 2016
Bootstrap 4 Column Dividers
View _divider.scss
@import 'variables';
$divider-height: 100%;
@mixin make-column-dividers($breakpoints: $grid-breakpoints) {
// Common properties for all breakpoints
%col-divider {
position: absolute;
content: " ";
top: (100% - $divider-height)/2;
You can’t perform that action at this time.