Skip to content

Instantly share code, notes, and snippets.

@punassuming
punassuming / obsidian-web-clipper.js
Created April 21, 2023 14:22 — 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/" */
@punassuming
punassuming / 0_reuse_code.js
Last active August 29, 2015 14:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@punassuming
punassuming / gist:1093101
Created July 19, 2011 17:07
FVWM Pager
###############################
# Compiz like pager for FVWM
###############################
# FEATURES
# Slide between pages
# Autohide pager after switch
Style FvwmPager NoTitle, !Handles, Borders, Sticky, StaysOnTop, Iconifiable, PositionPlacement center
@punassuming
punassuming / Presentation CSL.xml
Created November 19, 2010 21:48
A bastardized citation style based on the Chicago Style provided by default with zotero. Has modifications to improve the look when using the "speech" type, used for presentations.
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >
<info>
<title>Chicago Manual of Style (Author-Date format)</title>
<id>http://www.zotero.org/styles/chicago-author-date</id>
<link href="http://www.zotero.org/styles/chicago-author-date"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</author>