First of you need to install the following as a plugin in audacity:
;nyquist plug-in
;version 4
;type tool
;codetype lisp
;name "Labels to Chapters"
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
include("util.jl") | |
# First, do OpenBLAS64 vs. OpenBLAS32 testing (should be about the same) | |
BLAS.lbt_forward(OpenBLAS_jll.libopenblas_path; clear=true) | |
BLAS.lbt_forward(OpenBLAS32_jll.libopenblas_path) | |
config = BLAS.get_config() | |
@show gemm_test(3000, 64) | |
@show gemm_test(3000, 32) |
Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna! | |
([一-龯]) | |
Regex for matching Hirgana or Katakana | |
([ぁ-んァ-ン]) | |
Regex for matching Non-Hirgana or Non-Katakana | |
([^ぁ-んァ-ン]) | |
Regex for matching Hirgana or Katakana or basic punctuation (、。’) |
import re | |
f_nx = lambda x: x != "" | |
def rt_pattern(kanji, hira): | |
return f"<ruby> {kanji} <rt> {hira} </rt></ruby>" | |
def to_furigana(kanji, hira): | |
kana_range = "\u3040-\u30ff" | |
re_kanj = f"([^{kana_range}]*)" |
First of you need to install the following as a plugin in audacity:
;nyquist plug-in
;version 4
;type tool
;codetype lisp
;name "Labels to Chapters"
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# If file exists (likely) copy fragment below into existing script: | |
# If stdin is a terminal | |
if [ -t 0 ]; then | |
# Set GPG_TTY so gpg-agent knows where to prompt. See gpg-agent(1) | |
export GPG_TTY="$(tty)" | |
# Set PINENTRY_USER_DATA so pinentry-auto knows to present a text UI. | |
export PINENTRY_USER_DATA=USE_TTY=1 |
using StaticArrays | |
using Profile | |
using Juno | |
function g!(r,a,b,c,d) | |
@. r = a + 5 * b + 3 * c - d | |
end |
[ Info: 1st call | |
10-element Array{Float64,1}: | |
0.2972879845354616 | |
0.3823959677906078 | |
-0.5976344767282311 | |
-0.01044524463737564 | |
-0.839026854388764 | |
0.31111133849833383 | |
2.2950878238373105 | |
-2.2670863488005306 |
/Users/david/code/julia_mkl/julia/julia-1.3.0-rc5/lib | |
├── julia | |
│ ├── libamd.2.4.6.dylib | |
│ ├── libamd.2.dylib -> libamd.2.4.6.dylib | |
│ ├── libamd.dylib -> libamd.2.4.6.dylib | |
│ ├── libcamd.2.4.6.dylib | |
│ ├── libcamd.2.dylib -> libcamd.2.4.6.dylib | |
│ ├── libcamd.dylib -> libcamd.2.4.6.dylib | |
│ ├── libccalltest.dylib | |
│ ├── libccolamd.2.9.6.dylib |
> git checkout v1.2.0 -B release-1.2 05:55:14 PM | |
Switched to a new branch 'release-1.2' | |
05:55:20 PM | |
> make 05:55:26 PM | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 497 100 497 0 0 2218 0 --:--:-- --:--:-- --:--:-- 2218 | |
100 2005k 100 2005k 0 0 2340k 0 --:--:-- --:--:-- --:--:-- 2340k | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed |