This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git clone https://github.com/NVlabs/stylegan2 | |
import os | |
import numpy as np | |
from scipy.interpolate import interp1d | |
from scipy.io import wavfile | |
import matplotlib.pyplot as plt | |
import PIL.Image | |
import moviepy.editor | |
import dnnlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
YouTube FileStorage v0.0 | |
requires: ffmpeg, youtube-dl | |
''' | |
import os | |
import shutil | |
import sys | |
import numpy as np | |
from scipy.spatial import cKDTree |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docstring = ''' | |
backup.py | |
Time Machine-style backup for external drives. | |
Usage: | |
> python3 backup.py "/Volumes/My Drive" "/Volumes/My Backup Drive" | |
Optional: | |
> python3 backup.py "/Volumes/My Drive" "/Volumes/My Backup Drive" exclude.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division, print_function | |
import math | |
from oxmaps import Line, Pano, PanoImage, PanoTile, Point, db | |
from PIL import Image | |
ids = [ | |
'eGYyAlN9kvBEg6AYtJV60A', | |
'CCQWTbDqYokwHNwBWnl8wQ', | |
'_UBAlMtHNb7hUYpxXkmcCA', | |
'tBMPwhLVH4Kk8EdQc15-3w', |