There are several approaches
- Mount Google Drive in local Colab VM
- Upload and download via browser
- Use colab_util.py in python script
There are several approaches
set cut_paste_input [stack 0] | |
version 11.1 v1 | |
push $cut_paste_input | |
Group { | |
name ACES_OT | |
tile_color 0xd4282ff | |
label "\[? \[numvalue presets]==0 \"\" \[value presets]]" | |
note_font "Bitstream Vera Sans Bold Bold Bold Bold Bold Bold Bold" | |
note_font_color 0xffffffff | |
selected true |
import logging | |
import re | |
import collections | |
import struct | |
from StringIO import StringIO | |
import codecs | |
import binascii | |
import math | |
import sys |
import maya.cmds as mc | |
def _null(*args): | |
pass | |
class _shelf(): | |
'''A simple class to build shelves in maya. Since the build method is empty, | |
it should be extended by the derived class to build the necessary shelf elements. |
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
#!/bin/bash | |
# Run as root | |
if [ "$#" -ne 1 ]; | |
then | |
echo "Usage: <script> <username>" | |
exit 1 | |
fi | |
USER=$1 | |
EMAIL=your.email.address@gmail.com |
#!/usr/bin/env python | |
# -*- coding: ascii -*- | |
#: see: https://github.com/dasmith/stanford-corenlp-python/blob/master/jsonrpc.py | |
""" | |
JSON-RPC (remote procedure call). | |
It consists of 3 (independent) parts: | |
- proxy/dispatcher | |
- data structure / serializer | |
- transport |
bin | |
.Python | |
lib | |
include | |
pip-selfcheck.json |
import re | |
from collections import namedtuple | |
ASCII_BYTE = " !\"#\$%&\'\(\)\*\+,-\./0123456789:;<=>\?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\[\]\^_`abcdefghijklmnopqrstuvwxyz\{\|\}\\\~\t" | |
String = namedtuple("String", ["s", "offset"]) | |