I hereby claim:
- I am johnpneumann on github.
- I am johnpneumann (https://keybase.io/johnpneumann) on keybase.
- I have a public key ASAo2MyTYeKLOdVY2nId0BxA2uvwXECJ-Z5dvswKbdOSFAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
""" | |
Control Curve Deconstructor | |
Original file creation date: 2010-09-07 | |
Concept and scripting by John P. Neumann (john@animateshmanimate.com) http://animateshmanimate.com | |
This work is licensed under the 3-clause BSD ("New BSD License") license. | |
This is one of the most permissive licenses available, next to the MIT license. | |
In other words: Use it, Share it, Make it better, Give credit where it's due. Done. | |
/* | |
object_creator_tutorial | |
Original file creation date: 2010-07-18 | |
Concept and scripting by John P. Neumann (john@animateshmanimate.com) http://animateshmanimate.com | |
This work is licensed under the 3-clause BSD ("New BSD License") license. | |
Licensing information is included in the download. | |
What is it: |
ABBR_US_STATES = ( | |
('AL', 'AL'), | |
('AK', 'AK'), | |
('AZ', 'AZ'), | |
('AR', 'AR'), | |
('CA', 'CA'), | |
('CO', 'CO'), | |
('CT', 'CT'), | |
('DE', 'DE'), | |
('DC', 'DC'), |
"""Generic messaging functions. | |
.. module:: none | |
:platform: Unix, Linux | |
:synopsis: Generic messaging functions | |
.. moduleauthor:: jneumann | |
.. usage:: | |
import generic_msg |
""" | |
Waiting for OSX to install so I did this. | |
Words from here: | |
http://dictionary-thesaurus.com/wordlists.html | |
""" | |
import sys | |
import random | |
import urllib2 |
""" | |
Create a new list based upon whether or not the object in the list is a string or not (by utilizing isinstance - if we wanted to only find integers we'd change str to int). | |
""" | |
# Lame | |
my_list = ['a', 'b', 'c', '1', 1, 2, 'd', 'e', '2'] | |
new_list = [] | |
for object in my_list: | |
if isinstance(object, str): | |
new_list.append(object) |
""" | |
@author: | |
John P. Neumann (aka ArrantSquid) | |
@description: | |
Writes out a clip file (for use in Houdini) based on maya attributes | |
passed in. | |
@usage: | |
main('some_object', ['scaleX','visibility'], 'some_dir') |
#!/usr/bin/env python | |
def my_func(a_variable): | |
""" | |
Does stuff. | |
@rtype: bool | |
@returns: True or False. | |
""" |
printf '\n\033[0;32;40mAvada Kedavra\n' | |
killall -9 $1 | |
printf '\033[0;35;40m' | |
printf '\nKilled the following processes:\n\n' | |
printf '\033[1;32;40m' | |
pgrep $1 | |
printf '\n\033[0mDone\n' |