Use git lfs
to track very big files. For more info about github lfs, see here.
Ignore all intermediate files of UE4, only left those essential files to run the project.
Use git lfs
to track very big files. For more info about github lfs, see here.
Ignore all intermediate files of UE4, only left those essential files to run the project.
import unittest, time, random | |
from testcfg import client | |
class FPSCounter: | |
def __init__(self): | |
self.start_index = 0 | |
self.start_time = time.time() | |
def tick(self, current_index): | |
current_time = time.time() |
class Solution { | |
vector<int> a; | |
public: | |
Solution(vector<int> nums) : a(nums) {} | |
/** Resets the array to its original configuration and return it. */ | |
vector<int> reset() { return a; } | |
/** Returns a random shuffling of the array. */ | |
vector<int> shuffle() { |
folder_name=${PWD##*/} | |
unrealcv_zip=unrealcv-5c4762b.zip | |
if [ ${folder_name} = 'plugins' ] || [ ${folder_name} = 'Plugins' ]; then | |
echo "Download plugin" | |
wget www.cs.jhu.edu/~qiuwch/unrealcv-plugin/${unrealcv_zip} -c | |
echo "Extract files from zip" | |
unzip -q -d unrealcv ${unrealcv_zip} | |
else | |
echo "Please run this script in Plugins folder" |
%pylab inline | |
import pandas as pd | |
import sqlite3 | |
con = sqlite3.connect("../Project_202a/yelp.db") | |
df = pd.read_sql(“select * from xx", con) | |
import MySQLdb | |
import pandas as pd | |
db = MySQLdb.connect(host="localhost", # your host, usually localhost |
"""Simple utility script for semi-gracefully downgrading v3 notebooks to v2""" | |
import io | |
import os | |
import sys | |
from IPython.nbformat import current | |
def heading_to_md(cell): | |
"""turn heading cell into corresponding markdown""" |
#!env python | |
# script to sync publish this folder to a web server | |
import time | |
import glob | |
import os | |
import boto | |
import boto.s3 | |
import os.path | |
import sys |
#!env python | |
# script to sync publish this folder to a web server | |
import time | |
datetimeLog = {} | |
def loadTimestamp(): | |
# parse stored log | |
import os | |
timeFormat = '%Y-%m-%dT%H:%M:%SZ' | |
logFilename = '.log' |
## | |
bpy.data.objects | |
py.data.objects.keys() | |
# List all objects | |
# ['Camera', 'CustomShapes', 'GZM_Ball025', 'GZM_Breast_L', 'GZM_Breast_R', 'GZM_Circle025', 'GZM_CircleChest', 'GZM_CircleHips', 'GZM_CircleSpine', 'GZM_CrownHips', 'GZM_Cube025', 'GZM_FaceHead', 'GZM_FaceJaw', 'GZM_Foot', 'GZM_FootIK', 'GZM_Gaze', 'GZM_Hand', 'GZM_HandIK', 'GZM_Head', 'GZM_Jaw', 'GZM_Knuckle', 'GZM_LoLid', 'GZM_Master', 'GZM_Neck', 'GZM_RevFoot', 'GZM_RevToe', 'GZM_Root', 'GZM_Shoulder', 'GZM_Toe', 'GZM_Tongue', 'GZM_UpLid', 'Human', 'Human:Body', 'Human:HighPolyEyes', 'Human:jeans01', 'Human:mhair02', 'Human:Shirt01', 'Human:tongue01', 'Sun'] | |
human = bpy.data.objects['Human'] | |
light = bpy.data.objects['Sun'] | |
human.pose |
import bpy | |
from bpy import data as D | |
from bpy import context as C | |
from mathutils import * |