Skip to content

Instantly share code, notes, and snippets.

View joeross's full-sized avatar

Joe Ross joeross

View GitHub Profile
@BenWard
BenWard / pinboard-full.js
Created January 29, 2011 07:47
A smarter bookmarklet for Pinboard.in; wraps selected text in <blockquote> tags, keeps variables out of the global scope, supports filling tags from rel="tag" markup in the page, and titles from hAtom entry titles.
(function() {
// Change `silent` to true to invoke the promptless, self-closing
// version of the bookmarklet.
var silent = false;
var url = location.href;
var title = document.title;
// Look for a single hAtom entry on the page, and iff one is found, extract
// the entry-title in place of the document title:
@derek-watson
derek-watson / tumblr.rb
Created March 12, 2011 18:47
Tumblr to Jekyll migration
#!/usr/bin/env ruby
# Script to import tumblr posts into local markdown posts ready to be consumed by Jekyll.
# Inspired by New Bamboo's post http://blog.new-bamboo.co.uk/2009/2/20/migrating-from-mephisto-to-jekyll
# Supports post types: regular, quote, link, photo, video and audio
# Saves local copies of images
require 'rubygems'
require 'open-uri'
require 'nokogiri'
@bmann
bmann / tumblr.rb
Created January 18, 2012 08:56 — forked from derek-watson/tumblr.rb
Tumblr to Jekyll migration (Octopress / link blog edition)
#!/usr/bin/env ruby
# Script to import tumblr posts into local markdown posts ready to be consumed by Jekyll.
# Inspired by New Bamboo's post http://blog.new-bamboo.co.uk/2009/2/20/migrating-from-mephisto-to-jekyll
# Supports post types: regular, quote, link, photo, video and audio
# Saves local copies of images
# via gist at https://gist.github.com/867468
require 'rubygems'
require 'open-uri'
@beh
beh / gist:3549933
Created August 31, 2012 07:40
Add bookmark to pinbord.in with predefined tag, without user intervention
javascript:q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://pinboard.in/add?later=yes&noui=yes&jump=close&tags=TAGS GO HERE&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=100,height=100'));
// Copy and paste the above into a new bookmark. Replace "TAGS GO HERE" with your tags. Presto!
@John07
John07 / Wunderlist 2 sqlite Export.sh
Last active December 11, 2015 08:28
Wunderlist 2 drops the email and print export features and also creates a new database. It's still a sqlite database that you can look at with something like http://sqlitebrowser.sourceforge.net/. You can export data by running commands like the example below (make a local copy of the database to your desktop before if you're not familiar with s…
# location of the Wunderlist 2 database (App Store version)
~/Library/Containers/com.wunderkinder.wunderlistdesktop/Data/Library/Application Support/Wunderlist/WKModel.sqlite
# example
# get title of all tasks in list 400
sqlite3 WKModel.sqlite "SELECT rowid, ZTITLE FROM ZRESOURCE WHERE ZTASKLIST = 400 ORDER BY rowid;"
@bastsoft
bastsoft / Readme.md
Last active March 30, 2021 17:52
pomodoro for wunderlist task
// ==UserScript==
// @name        wunderlist
// @namespace   wunderlist
// @include     https://www.wunderlist.com/*
// @require		https://cdn.rawgit.com/bastsoft/btr/0ee9bf4911824ce5797f54f790f1fcc4405b1e02/btr.js
// @version     1
// @grant       none
// ==/UserScript==
@joeross
joeross / joerosspublickey
Created May 2, 2015 20:53
My public key
—–BEGIN PGP PUBLIC KEY BLOCK—– Version: BCPG C# v1.6.1.0
mQENBFVFNm8BCACRakgrzsj22906S0kBxUf/45Qjh6f42HJjwCkBx7JfNIsPcSHD KRgwQJPuOdmxK3tMz5UsKgbXzjNd034ncROsLRPp8SnRVjmbpWsrUg2ju4f3f0Mn S45x/zEQlwaUaTxo+D0HLHNGf8Ya02DLeAB8gpAs+zZKJmOWO5r40EjamzA2Y3vj Sq3kcdyGFYm/z3TzBfZU4ZXspEDWRXNcqKokJdtET+7zTa0ovLek9xPHApVLbzmf zafsfA0pfal32uw17GuKuI+Mg5KUpwDLedVEDBW/wiLMoBn1pxk2KZ4XZSW8/Eig iAcvd6TfJgIgmcM6uTGbjjnZHNqrmOx8NNi7ABEBAAG0E2F0am9lcm9zc0BnbWFp bC5jb22JARwEEAECAAYFAlVFNm8ACgkQoVslr0R8tntODwf7BkApxdZ9xN77eQUY ST9WPlrh5O/YUt8qgEX2YyoqbljRzCjwjPX2e9RcB0GKj1K1pU/NUoKOmn8gcaou d3BrbbsMTCEMXFMyr8rXbOTYU03xYK/lth19SeMW+9EfvmLmbjXQMn5PAb0SUZgZ tU+3ZA8eUmtpQ4HOeEA4x7BhBDgsvBosNbrqpqs5WzqVZOuTvJiFnV+2BgLc9Eae XRL5udFa60NMpn2CKQDIHSQO+RqpAdo4auXFoYZtB0sfAptAweM4+qS+goOl2vpK /DrszFqeR3pGC1Ih5x4XdVN4YjpYfZ0WAaKxZA7knammFY5RbvbIZCw9xkUr6Uw+ 1SxajA== =IGnt —–END PGP PUBLIC KEY BLOCK—–
@bryanph
bryanph / wunderlist2workflowy.py
Last active June 18, 2019 20:18
Wunderlist to Workflowy export. Go to Wunderlist web interface, backup data (JSON file), use this script and paste the output into Workflowy.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
usage:
python wunderlist2workflowy.py >> wunderlist.txt
Go to Wunderlist web interface, backup data (JSON file), use this script and paste the output into Workflowy.
"""
import json
@kepano
kepano / obsidian-web-clipper.js
Last active July 22, 2024 07:29
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/" */
@merlinmann
merlinmann / wisdom.md
Last active April 17, 2024 21:52
Merlin's Wisdom Project (Draft)

Merlin's Wisdom Project

Or: “Everybody likes being given a glass of water.”

By Merlin Mann.

It's only advice for you because it had to be advice for me.