Skip to content

Instantly share code, notes, and snippets.

View murez's full-sized avatar
🚂

Siyuan Zhang murez

🚂
View GitHub Profile
@murez
murez / piazza_DL_paste2console.js
Last active October 5, 2020 21:48
piazza file path generator
file_links = [];
file_names = [];
results = document.getElementsByClassName("mw-100");
$.each(results, function(index, element){
current_element = $(element);
file_links.push( current_element.prop("href") );
file_names.push( current_element.text() );
@murez
murez / wav2lip_quick_trial_for_cartoon.ipynb
Created March 4, 2021 12:57
Wav2Lip_quick_trial_for_cartoon.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import sys
import os
import bpy
import numpy as np
import pickle
from mathutils import Matrix, Vector
from math import pi
import json
def Quaternion2Matrix(q):