Skip to content

Instantly share code, notes, and snippets.

Avatar

Ignacio Tartavull tartavull

View GitHub Profile
View seam_cmd.py
from __future__ import division
import rhinoscriptsyntax as rs
__commandname__ = "tbr_seam"
def get_plane(c_0, c_1):
"""
Given two curves it gives you a normal vector to them
"""
pass
View visualizable.py
import inspect
import ast
from textwrap import dedent
import tensorflow as tf
def escape_op_name(name):
"""
It has to match with "^[A-Za-z0-9.][A-Za-z0-9_.\\-/]*$"
"""
@tartavull
tartavull / install.sh
Created Mar 8, 2014
PhantomJS & CasperJS install script Tested on Ubuntu 12.04 (32-bit and 64-bit)
View install.sh
#!/bin/sh
s1=$(/bin/uname -m)
s2="x86_64"
if [ $s1=$s2 ]
then
echo "Installation for 64-bit system"
cd /usr/local/share
sudo wget https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2