Skip to content

Instantly share code, notes, and snippets.

iOS Keyboard Shortcuts and E D I T O R I A L G I T , BITCH!

David Blue extratone

iOS Keyboard Shortcuts and E D I T O R I A L G I T , BITCH!
View GitHub Profile
extratone /
Created May 28, 2023 00:10 — forked from gtallen1187/
talk given by John Ousterhout about sustaining relationships

"Scar Tissues Make Relationships Wear Out"

04/26/2103. From a lecture by Professor John Ousterhout at Stanford, class CS142.

This is my most touchy-feely thought for the weekend. Here’s the basic idea: It’s really hard to build relationships that last for a long time. If you haven’t discovered this, you will discover this sooner or later. And it's hard both for personal relationships and for business relationships. And to me, it's pretty amazing that two people can stay married for 25 years without killing each other.


> But honestly, most professional relationships don't last anywhere near that long. The best bands always seem to break up after 2 or 3 years. And business partnerships fall apart, and there's all these problems in these relationships that just don't last. So, why is that? Well, in my view, it’s relationships don't fail because there some single catastrophic event to destroy them, although often there is a single catastrophic event around the the end of the relation

extratone / Search my
Created May 24, 2023 02:03 — forked from santisbon/Search my
How to #search gists
View Search my

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.

Find all gists with a .yml extension.

Find all gists with HTML files.

View importjson.js
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();
extratone /
Created May 2, 2023 08:04 — forked from simonbs/
Generates documentation with Apple's DocC for a target that supports both iOS and macOS.
# Generates documentation for a target, for example a Swift package,
# that supports both iOS and macOS.
# The script is designed to be placed in the root of a Swift package.
# Change the paths as needed if your project structure is different.
# In order for DocC to annotate all symbols with the platforms
extratone / download-youtube-subtitles.js
Created April 30, 2023 20:51 — forked from kugland/download-youtube-subtitles.js
Download YouTube subtitles (GreaseMonkey/TamperMonkey script)
View download-youtube-subtitles.js
// ==UserScript==
// @name Download YouTube subtitles
// @namespace
// @version 0.1
// @description Now you can download YouTube subtitles
// @author André Kugland
// @match http*://**
// @grant none
// @require
// ==/UserScript==
extratone /
Created April 28, 2023 08:40 — forked from apparentlymart/
HTML Social Network

HTML Social Network

Back in July of 2008 I started thinking about HTML microformats for linking together and discovering social objects on the web.

I later discussed this with folks at the Internet Identity Workshop and after a few rounds of discussion we ended up working on Activity Streams instead, which shifted the focus to machine-readable descriptions of actions on social objects. However, the social object research here was the initial basis of what went on to become the "Object Types" in Activity Base Schema, after many iterations.

extratone / toot.rb
Created April 28, 2023 04:58 — forked from ttscoff/toot.rb
Scans RSS feed for latest post and creates Mastodon toot
View toot.rb
#!/usr/bin/env ruby -W1
# frozen_string_literal: true
# This script scans an RSS feed for the latest post, and if
# it hasn't already been posted to Mastodon, creates a new
# toot with a link to it.
require 'json'
require 'optparse'
require 'rss'
extratone / arena-random-image-widget.js
Created April 27, 2023 18:05 — forked from jacopocolo/arena-random-image-widget.js
Scriptable widget that load a random image from an channel
View arena-random-image-widget.js
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: black; icon-glyph: user-md;
// just replace the url below with the url if the channel you want to use
// image channels only, doesnt supoort text or anything else
const channel = ''
const url = ''+channel.substring(channel.lastIndexOf('/') + 1)+'/contents';
const req = new Request(url)
extratone / Add from Gist.wkflw
Created April 19, 2023 10:08 — forked from omz/Add from Gist.wkflw
Imports a workflow or script from a Gist URL in the clipboard into the commands menu.
View Add from Gist.wkflw
This gist contains a workflow for Editorial, an app for
writing plain text and markdown on iOS.
To import the workflow, copy the *entire* text of the gist,
then open Editorial and create a new workflow.
------------ BEGIN WORKFLOW ------------
"actions" : [
extratone /
Created April 19, 2023 10:01 — forked from omz/
import ui
# Mapping based on
CHARMAP = {'!': '\xc2\xa1', '"': ',,',
"'": ',', '&': '\xe2\x85\x8b',
')': '(', '(': ')', ',': "'",
'.': '\xcb\x99',
'1': '\xc6\x96',
'0': '0', '3': '\xc6\x90',
'2': '\xe1\x84\x85',