Skip to content

Instantly share code, notes, and snippets.

View tearsakura's full-sized avatar

Zaída de Isidro tearsakura

  • Everis S.L
  • Barcelona
View GitHub Profile
#F. Hiba, C. Mendes, B. Lefebvre, P. Hubert
import maya.api.OpenMaya as om
import maya.cmds as cmds
from math import radians, degrees, sin, cos
from random import gauss, random, uniform, shuffle
from copy import copy
#4 utilities function related to transformations
#give the quaternion corresponding to the rottion from vector 1 to vector 2
@bijukunjummen
bijukunjummen / gist:3315275
Created August 10, 2012 16:08
Test Cache with Spring Cache Abstraction
package org.bk.samples.cache;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import org.junit.Test;