Skip to content

Instantly share code, notes, and snippets.

View extratone's full-sized avatar
🗿
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
This file has been truncated, but you can view the full file.
{
"modelRequests": [
{
"timestamp": 1727018499.945852,
"identifier": "D940DCB7-DD7C-4C1C-AA4D-EEA5B0CF3512",
@extratone
extratone / POI_ENRICHMENT.csv
Last active September 22, 2024 12:17
Real example of Apple Maps user contribution data.
Field Value
User Input Language en-US
Device Hardware Model iPad13,9
Device OS Version 16.1.20B5050f
Device OS Name iPhone OS
Device Country Code US
Device Display Language en-US
Device Keyboard Language en-US
Hour of the Day Submission Created 9
Day of Week Submission Created 4
[
{
"name": "Auphonic",
"url": "https://mastodon.social/@auphonic",
"avatar": "https://micro.blog/photos/200/https%3A%2F%2Ffiles.mastodon.social%2Faccounts%2Favatars%2F111%2F042%2F455%2F831%2F223%2F744%2Foriginal%2F21667b6af2fb86fc.png",
"username": "auphonic@mastodon.social",
"is_following": true,
"is_you": false
},
{
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@extratone
extratone / a-wotd-custom-word-list.md
Created September 20, 2024 09:17 — forked from jsomers/a-wotd-custom-word-list.md
How to use a custom word list with OS X's "Word of the Day" screensaver

OS X's "Word of the Day" screensaver is a great way to passively learn words:

But I've always thought that its word list kind of stunk—it was full of obscure words that I could never really see myself using. I'd prefer something like Norman Schur's 1000 Most Important Words. What if you could plug your own word list into the screensaver?

On a rather obscure comment thread, someone explained where you might find the word list that Apple uses to power the screensaver. It is at /System/Library/Graphics/Quartz\ Composer\ Plug-Ins/WOTD.plugin/Contents/Resources/NOAD_wotd_list.txt. The file looks like this:

m_en_us1282510	quinsy
{{Infobox
|name = Infobox
|title = Reiner Martin
|headerstyle = background:#d53a00
|header3 = Internet
|label12 = LinkedIn
|data12 = [http://www.linkedin.com/in/reinermartin]
|label13 = Xing
|data13 = [http://www.xing.com/profile/Reiner_Martin]
|label14 = Facebook
{
"modelRequests": [
{
"timestamp": 1726262714.035695,
"identifier": "5B3758AD-2A7C-4EA9-9F46-0CD5CE723FB1",
"prompt": "PromptTemplateInfo(templateID: \"com.apple.SummarizationKit.freeText.synopsis\", variableBindings: [\"context\": \"\", \"doc\": \"<n>Emily F. Gorcenski<n>Bio+CV Writing Math+Tech Talks Media Photos<n>To Forget is an Ethical Act<n>On and off for the last several years I’ve been manually curating my roughly 40,000 lifetime tweets. I recently finished, and in the process embarked on an unexpected journey of self-discovery.<n>In Regarding the Pain of Others, Susan Sonntag concludes with an observation that remembrance is an act with ethical weight and, as a corollary, that in the prevention of future suffering it is also sometimes necessary to choose to forget. The internet is disjointly fragile: some things last forever, and other things break suddenly and permanently. As I enter my middle ages, I’ve been contemplating what I leave behind, how I want to be seen, and how
@extratone
extratone / PocketCastsx.md
Created September 16, 2024 13:48
PocketCasts for iOS' URL Scheme reference.

Pocket Casts supports the following URL schemes that you can use with third party apps like Workflow and Launch Center:

Open Pocket Casts

pktc://open

Play the podcast episode that is currently paused in Pocket Casts

pktc://play

@extratone
extratone / script.sh
Created September 15, 2024 18:17 — forked from vielhuber/script.sh
ffmpeg: Video convert m2ts to mp4, mp4 to webm, mp4 to ogv #tools
MP4 TO MP4 (MEDIUM)
ffmpeg -i input.mp4 -b 1000000 output.mp4
M2TS TO MP4
ffmpeg -i input.m2ts -vcodec libx264 -crf 20 -acodec ac3 -vf "yadif" output.mp4
MP4 TO WEBM (HIGH)
ffmpeg -i input.mp4 -aq 5 -ac 2 -qmax 25 -threads 2 output.webm
ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libopus output.webm
@extratone
extratone / dBm.csv
Created September 15, 2024 04:49
Rudimentary point of reference for cell signal value rates which I can never seem to remember. [Source](https://www.wilsonamplifiers.com/blog/how-to-read-cell-phone-signal-strength-the-right-way)
Signal Strength General Results
-50 to -79 dBm Considered great signal (4 to 5 bars)
-80 to -89 dBm Considered good signal (3 to 4 bars)
-90 to -99 dBm Considered average signal (2 to 3 bars)
-100 to -109 dBm Considered poor signal (1 to 2 bars)
-110 to -120 dBm Considered very poor signal (0 to 1 bar)