Skip to content

Instantly share code, notes, and snippets.

View daviehh's full-sized avatar
✍️

daviehh daviehh

✍️
View GitHub Profile
@daviehh
daviehh / regex-japanese.txt
Created July 16, 2021 23:53 — forked from terrancesnyder/regex-japanese.txt
Regex for Japanese
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 (、。’)
@daviehh
daviehh / blas.jl
Created November 30, 2021 00:14 — forked from staticfloat/blas.jl
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)
@daviehh
daviehh / obsidian-web-clipper.js
Created March 13, 2022 18:17 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
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/" */