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
{https://m.facebook.com}/pages/launchpoint/admin_invites/
{https://m.facebook.com}/pages/launchpoint/liked_pages/
{https://m.facebook.com}/pages/launchpoint/owned_pages/
{https://m.facebook.com}/pages/launchpoint/pending_invites/
fb-service://limit_friend_requests
fb://about
fb://account/recovery
fb://account_settings
@extratone
extratone / tmux-cheatsheet.markdown
Created May 5, 2022 17:38 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@extratone
extratone / random-quote.js
Created April 20, 2022 23:16 — forked from blacksector/random-quote.js
Pulls quotes from an API and displays it on a simple background
const QUOTES_API = 'https://quotes-api.netlify.app/.netlify/functions/get-quote';
const BG_COLOR = "#000000";
const BG_IMAGE = true;
let randomQuote = await loadQuote()
let img = null;
// no-background.js is needed from here if BG_IMAGE is set to true
// https://github.com/supermamon/scriptable-no-background
@extratone
extratone / open_here_in_shell_worksheet.applescript
Created April 14, 2022 07:25 — forked from rwilcox/open_here_in_shell_worksheet.applescript
BBEdit Script to Open Here In Shell Worksheet
tell application "BBEdit" to set theFile to file of document 1
tell application "Finder" to set theFolder to (container of file theFile) as alias
set theUnixPath to POSIX path of theFolder
set output to return & "cd '" & theUnixPath & "'; pwd"
tell application "BBEdit"
set uws to Unix worksheet window
tell uws
select insertion point after last character
set selection to output
@extratone
extratone / run_selection_as_clipping.applescript
Created April 14, 2022 07:16 — forked from rwilcox/run_selection_as_clipping.applescript
Run the current selection as a BBEdit clipping
tell application "BBEdit"
set theScript to selection as text
set clippingFileRef to (path to temporary items as string) & "clipping_as_selection"
--close access clippingFileRef
set fileref to open for access file clippingFileRef with write permission
set eof of fileref to 0 -- clear the file
write theScript to fileref
close access fileref
@extratone
extratone / iphone_call_link.html
Created March 24, 2022 18:19 — forked from brianbroken/iphone_call_link.html
HTML: iPhone Calling and Texting Links
@extratone
extratone / gist:e4fdacf7c45ce3c9127631bee9566bc6
Created February 14, 2022 19:24 — forked from voidfiles/gist:2289046
Simplenotes new iOS URL scheme
Hey Alex, there aren't any docs yet. Here's the info:
simplenote://new?content=encodedContent&tag=encodedTag
The parameters are optional. If omitted, Simplenote will open to a new, blank note.
@extratone
extratone / docsify-markdown2pdf.sh
Created January 20, 2022 17:02 — forked from kernoeb/docsify-markdown2pdf.sh
Build a PDF file from Docsify structure (markdown)
# Install deps
# sudo apt-get install -y texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
# sudo apt-get install -y texlive-xetex
# sudo apt install -y ghostscript
# wget https://github.com/jgm/pandoc/releases/download/2.9.2.1/pandoc-2.9.2.1-1-amd64.deb
# sudo apt install -y ./pandoc-2.9.2.1-1-amd64.deb
# rm ./pandoc-2.9.2.1-1-amd64.deb
#cp fonts/*.ttf ~/.fonts # I use Google Fonts (Roboto -> please see line 8)
cd book # directory where markdown files can be found
@extratone
extratone / Safari - Open specific link on the webpage.applescript
Created January 18, 2022 07:57 — forked from logic2design/Safari - Open specific link on the webpage.applescript
This Applescript will open the first URL link on the page that matches a search value
@extratone
extratone / mdTableGenerator.js
Created January 17, 2022 22:44 — forked from njjerrysmith/mdTableGenerator.js
TextExpander Javascript Markdown Table Generator
var rows = Number(%filltext:name=bodyrows:default=2:width=5%); //body of table rows
var cols = Number(%filltext:name=cols:default=4:width=5%); //columns of table
var rows = rows + 2; //add a rows to account for header and seperator
var text = ''; //variable to store the output
for (rCount = 1; rCount <= rows; rCount++) {
for (cCount = 1; cCount <= cols; cCount++) {
if (rCount == 1) { // Header Row Output
if (cCount == 1) {
text += '**%|** |';