Skip to content

Instantly share code, notes, and snippets.

View andreberg's full-sized avatar
💭
I may be slow to respond.

André Berg andreberg

💭
I may be slow to respond.
View GitHub Profile
@andreberg
andreberg / CINEMA 4D Python Helpers.py
Last active March 25, 2022 05:43
[CINEMA 4D: Python Helpers Class] The Helpers class is collection of reusable methods from cgsociety, the Plugin Café and from my own scripts. #cinema4d #c4d #python #class #helpers #computergraphics #cg
class Helpers(object):
"""Contains various helper methods."""
def __init__(self, arg):
super(Helpers, self).__init__()
@staticmethod
def readConfig(filepath=None):
"""
Read settings from a configuration file.
@andreberg
andreberg / TestDependent.java
Last active February 24, 2020 18:06
[Pydev TestDependent Mac OS X Template] #pydev #unittest #java #template
/*
* Create a file TestDependent.java with the contents in this file and substitute the
* values as needed...
*/
package org.python.pydev.core;
public class TestDependent {
//NOTE: this should be gotten from some variable to point to the python lib (less system dependence, but still, some).