Skip to content

Instantly share code, notes, and snippets.

@gruber
gruber / AppleNewsURLRedirect.pl
Last active March 5, 2024 16:33
Given an Apple News URL, prints the original URL for the story.
#!/usr/bin/perl
# Given an Apple News URL, prints the original URL for the story.
#
# Usage:
# % AppleNewsURLRedirect.pl 'https://apple.news/Ae78KIEmMOHCVXD4VA7ysKw'
# or
# % echo 'https://apple.news/Ae78KIEmMOHCVXD4VA7ysKw' | AppleNewsURLRedirect.pl
#
# Author: John Gruber <https://daringfireball.net/>
{
"title": "Bumblebee Shortcut",
"description": "JSON file used to check for updates for the Bumblebee Shortcut",
"latestVersion": "1.0.1",
"releaseDate": "20190812",
"latestUrl": "https://www.icloud.com/shortcuts/0fc0941b738740dfabcc7c7f2334ac7e",
"documentationUrl": "",
"authorReddit": "/u/marcgordon",
"authorTwitter": "@4txt",
"updates": [
@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active April 17, 2025 04:40
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@zats
zats / ↔️.js
Created February 11, 2018 22:00
Bookmarklets for fullscreen, entering picture-in-picture, switching between fast and normal playback
javascript:document.getElementsByTagName('video')%5B0%5D.webkitEnterFullscreen()
@levigroker
levigroker / URLEncode.sh
Last active August 14, 2024 22:21
A BBEdit Text Filter script to take textual input and produce URL encoded text of the same.
#!/bin/bash
#
# URL Encode
# https://gist.github.com/levigroker/36525010ba0bce15450c89fe6a5f36b1
#
# A BBEdit Text Filter script to take textual input and produce URL encoded text of the same.
# See https://www.bbeditextras.org/text-filters/
# Levi Brown
# @levigroker
# [email protected]
@levigroker
levigroker / URLDecode.sh
Last active June 27, 2023 21:40
A BBEdit Text Filter script to take textual input and produce URL decoded text of the same.
#!/bin/bash
#
# URL Decode
# https://gist.github.com/levigroker/892fd435d701b4e8f56bfcec819d5ef2
#
# A BBEdit Text Filter script to take textual input and produce URL decoded text of the same.
# See https://www.bbeditextras.org/text-filters/
# Levi Brown
# @levigroker
# [email protected]
{
"title": "Email Multiple Apps Workflow",
"description": "JSON file used to check for updates for the Email Multiple Apps Workflow",
"latestVersion": "1.0.0",
"releaseDate": "20171218",
"latestUrl": "",
"redditUrl": "",
"authorReddit": "/u/marcgordon",
"authorTwitter": "@4txt",
"updates": [
{
"title": "Email App Workflow",
"description": "JSON file used to check for updates for the Email App Workflow",
"latestVersion": "1.0.0",
"releaseDate": "20171218",
"latestUrl": "https://workflow.is/workflows/bb0b5bb5bf4b4c2591a18d078704b8ed",
"redditUrl": "",
"authorReddit": "/u/marcgordon",
"authorTwitter": "@4txt",
"updates": [
@fieldingtron
fieldingtron / bitport to dropbox mover script
Created August 17, 2017 16:12
Move BITPORT files to Dropbox Bash script
#!/usr/bin/env bash
# NEED TO configure
##uses dropbox_uploader script on github
BITPORT_USERNAME=email_address
BITPORT_PASSWORD=password
DROPBOX_FOLDER=foldername
URL=$1