Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tartavull
tartavull / install.sh
Created March 8, 2014 18:14
PhantomJS & CasperJS install script Tested on Ubuntu 12.04 (32-bit and 64-bit)
#!/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
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_.\\-/]*$"
"""
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