Skip to content

Instantly share code, notes, and snippets.

View extratone's full-sized avatar
🗿
sudo exit

David Blue extratone

🗿
sudo exit
View GitHub Profile
@vibhavsinha
vibhavsinha / te-date.js
Last active September 17, 2022 02:27
Textexpander snippet for date formatting with configurable options. Made to run on both text-expander and as node cli for testing.
// Use tab keys to quickly go to OK button
let dateFormat = '%fillpopup:name=dateFormat:default=YYYY-MM-DD:MMM DD, YYYY:DD/MM/YY:MM/DD/YY:none%';
let timeFormat = '%fillpopup:name=timeFormat:HH MM:HH MM SS:default=HH MM ZONE:HH MM SS ZONE:none%';
let hour24 = '%fillpart:name=24 hour format:default=yes%hour24%fillpartend%';
let includeYear = '%fillpart:name=Include year:default=yes%includeYear%fillpartend%';
// keeping these at the top because TextExpander has to show the
// full function code every time.
// This is very long code. Use tab keys to quickly go to ok button.
// Time options have spaces instead of colons because I couldn't
@logic2design
logic2design / Safari - Open specific link on the webpage.applescript
Last active December 8, 2023 22:53
This Applescript will open the first URL link on the page that matches a search value
@extratone
extratone / zalgo.js
Created January 12, 2022 18:26 — forked from flanger001/zalgo.js
I stole a Zalgo text generator
/* <![CDATA[ */
//============================================================
// ZALGO text script by tchouky
//============================================================
// data set of leet unicode chars
//---------------------------------------------------
//those go UP
var zalgo_up = [
@jasonsnell
jasonsnell / podcast-noter.scpt
Last active November 13, 2025 09:19
Podcast Noter AppleScript
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
# Sample Keyboard Maestro macros at
# <https://sixcolors.com/wp-content/uploads/2022/01/Podcast-Noter-Macros.kmmacros.zip>
on run argv
try
set theNote to (item 1 of argv)
on error
@logic2design
logic2design / Get RSS Feed and create Markdown List.applescript
Last active March 9, 2025 03:19
Create a markdown or HTML list from a RSS feed.
#############################################
# Title: Get RSS feeds links and convert to Markdown
##############################################
# Iain Dunn
# Logic2Design
# www.logic2design.com
# logic2design@icloud.com
# Last update: 16 January 2022
@insidegui
insidegui / lsremovearchives.sh
Created December 21, 2021 18:28
Remove Xcode app archives from macOS LaunchServices database
#!/bin/bash
# Recursivelly removes all apps from your Xcode archives from the LaunchServices database, preventing them from being used for widgets, launch at login, etc.
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -R -f -u $HOME/Library/Developer/Xcode/Archives
@kepano
kepano / minimal-dev.css
Last active February 12, 2026 02:54
Minimal Line Width Dev Snippet
.mod-root .view-header:after {
display:flex;
align-items:flex-end;
content:"\00a0pane\00a0";
font-size:12px;
color:gray;
font-family:var(--font-monospace);
width:100%;
max-width:100%;
height:100vh;
/* RAINBOW INDENT COLORS */
:root {
/* default */
--font-use-default: var(--default-font);
--font-size-use-default: var(--editor-font-size);
--indent-use-default: 1.8ch;
/* ------- */
/* theme */
--font-use-theme: inherit;

You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Mastodon gGmbH. Except for the license granted herein to Mastodon gGmbH and recipients of software distributed by Mastodon gGmbH, You reserve all right, title, and interest in and to Your Contributions.

  • Definitions:

    "You" (or "Your") shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with Mastodon gGmbH. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

"Contribution" shall mean the code, d