Skip to content

Instantly share code, notes, and snippets.

@o-o-o-o-o
o-o-o-o-o / a-portal-into-my-phone.js
Last active April 15, 2022 18:57
Use with scriptable.app & are.na to display a random image from a channel onto your phone
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: black; icon-glyph: user-md;
//🕳
// Based on https://gist.github.com/jacopocolo/0e28c4af2e28c9de058480da0c5d4582
// copy and paste into a scriptable widget
// replace the url below with the url if the channel you want to use
// Channel must be public
// uses only images in the channel, does not support text or anything else
@o-o-o-o-o
o-o-o-o-o / hi-dez.md
Last active December 20, 2021 04:44
Hi-Dez

Here's a start. Will add to if I think of anything else!

⚪️ Outside

It's gonna be hot in June - I would be mindful of the weather any keep any activity in the morning or early evening

Nice Hikes outside of the Park:

  • Whitewater Preserve (might have water)
  • Pioneertown Preserve
@o-o-o-o-o
o-o-o-o-o / docx2md.md
Created October 23, 2019 02:31 — forked from jesperronn/docx2md.md
Convert a Word Document into MD

Converting a Word Document to Markdown in One Move

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

Installing Pandoc

On a mac you can use homebrew by running the command brew install pandoc.

The Solution

@o-o-o-o-o
o-o-o-o-o / showImages.js
Last active March 24, 2021 02:59
Bookmarklet to show images from a webpage
javascript: function wrap(image, href) {
var img = document.createElement('img');
var div = document.createElement('div');
img.src = image.src;
var node = image.parentNode;
if (!href) {
div.appendChild(img);
} else {
var a = document.createElement('a');
a.href = href;

Keybase proof

I hereby claim:

  • I am o-o-o-o-o on github.
  • I am n_d (https://keybase.io/n_d) on keybase.
  • I have a public key ASARUKyDj1zEgp4A4ew5lvtLC4U_UCPd5NYIoTDnHzhRMQo

To claim this, I am signing this object: