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 |
Install yum
from AUR
$ yaourt -Sy yum
Add bootstrap repos to /etc/yum.d/boot.repo
[fedora]
name=fedora
baseurl=https://archives.fedoraproject.org/pub/fedora/linux/releases/23/Everything/x86_64/os/
enabled=1
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |