Follow one of:
- https://github.com/AcademySoftwareFoundation/openvdb#linux
- https://github.com/AcademySoftwareFoundation/openvdb#macos
Just make sure to call the cmake command with -DOPENVDB_BUILD_PYTHON_MODULE=ON -DUSE_NUMPY=ON
import numpy as np | |
import soundfile as sf | |
from scipy.fftpack import fft, ifft | |
def rotateSignal(signal,flip): | |
if flip: | |
signal = signal[::-1] | |
x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft | |
rotSig = ifft(x) |
Follow one of:
Just make sure to call the cmake command with -DOPENVDB_BUILD_PYTHON_MODULE=ON -DUSE_NUMPY=ON
1618117522473062401,AmerCrusader,0 | |
805901211291422720,PatriotGulag,103 | |
897873361161732098,presidentmeeks,40 | |
1369024312401870852,obama_baroque,154 | |
1365839268476645378,vylpill,8705 | |
1616533685427208192,lpbr0014,102 | |
1606569725235978240,chitochipper,37 | |
1530966028221661184,originalpod5,9 | |
1586008148552212481,TheFaddedGamer,12 |
In this guide we will only focus on using the prebuilt images from Docker Hub.
Prerequisites: You have Git, Docker, Docker compose and Nginx pre-installed.
Clone Mastodon's repository.
A JSON compilation database is a very handy output format which is parsed and used by many development tools. Unfortunately for us Apple Developers, it is not straightforward to generate one from within Xcode, as it is (probably) not Apple's priority and therefore there is no toggle/switch/setting that can be easily enabled to get this information.
There is however a solution, thanks to Apple using Clang/LLVM as their main toolchain.
The standard way to generate this with clang would be to use the -MJ
flag and give it a file name that typically corresponds to the input file. Using this flag indirectly through Xcode is hard, given that we're not aware of all the other arguments when a compiler call is executed.
However, there is a second hidden/badly documented LLVM flag: -gen-cdb-fragment-path
- it is implemented in terms of -MJ
and has the same functionality, but it's argument in contrast is an output directory.
{ | |
"name" : "Mixamo", | |
"url" : "", | |
"bones" : { | |
"mixamorig:Hips" : "hips", | |
"mixamorig:Spine" : "spine", | |
"mixamorig:Spine1" : "spine-1", | |
"mixamorig:Spine2" : "chest", | |
"mixamorig:Neck" : "neck", |
Please view the deleted tweet list in our main archive.
#!/usr/bin/env bash | |
# castanet.sh: Script to connect a chromecast to a WiFi network. | |
# | |
# Allows you to put your Chromecast on WiFi and do Chromecast initial setup | |
# without using the Google Home app at all, just using a normal Linux computer. | |
# | |
# You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi | |
# network with your PC, and you also need to find out its IP yourself with e.g. | |
# Wireshark. |
from functools import wraps | |
from .bounded_pool_executor import BoundedThreadPoolExecutor | |
from .bounded_pool_executor import BoundedProcessPoolExecutor | |
_DEFAULT_POOL = BoundedThreadPoolExecutor(max_workers=5) | |
_PROCESS_POOL = BoundedProcessPoolExecutor(max_workers=5) | |
def threadpool(f, executor=None): | |
@wraps(f) | |
def wrap(*args, **kwargs): |
import multiprocessing | |
import concurrent.futures | |
import threading | |
name = 'bounded_pool_executor' | |
class _BoundedPoolExecutor: | |
semaphore = None |