Skip to content

Instantly share code, notes, and snippets.

View cjayb's full-sized avatar

Christopher J. Bailey cjayb

  • Norlys
  • Denmark
View GitHub Profile
@cjayb
cjayb / obsidian-web-clipper.js
Last active January 24, 2022 15:53 — 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/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@cjayb
cjayb / gist:35ba19f40cc3df47a824
Last active August 29, 2015 14:17 — forked from larsoner/gist:bbac101d50176611136b
Savizky-Golay example from Eric89GXL
# -*- coding: utf-8 -*-
"""
Examine if a 2x window length is appropriate for savgol filtering.
"""
from scipy.signal import savgol_filter
from scipy import fftpack
import numpy as np
import matplotlib.pyplot as plt
plt.ion()