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
@extratone
extratone / adaptations.txt
Created May 12, 2024 08:12
Raw formatted OBDEleven Adaptations export. (Trying to give up on cleaning up the data format atm.)
OBDeleven vehicle history log
Date: 2024-05-12 02:40:50
VIN: 3VW5T7AUXHM022312
Car: Volkswagen Golf
Year: 2017
Body type: UNKNOWN
Engine: CXCA kW ( hp) l
Mileage: 105181 mi
This file has been truncated, but you can view the full file.
{
"03312024164026": {
"average": 73.82139691604807,
"destination": "geo:39.1417788,-92.4622483",
"distance": 22.5351487798974,
"duration": 2035.971,
"origin": "geo:38.949881,-92.400019",
"route": {
"features": [
{
{
"has_more": true,
"object": "list",
"results": [
{
"id": "1734cd56-8c78-4c11-9194-85120e70346c",
"created_time": "2020-09-25T20:04:00.000Z",
"paragraph": {
"color": "gray",
"text": [
@extratone
extratone / cheatsheet.json
Created May 4, 2024 17:10
Working on a method of rebasing the user library in Cheatsheet for iOS/iPadOS.
{
"00DA7491-529B-4AAD-A340-3DEBBCA14C23": {
"created": 9252022040620,
"folder": "CLI",
"icon": "wine glass",
"modified": 9252022040636,
"text": "",
"title": "pip Update All (Windows)"
},
"01251600-5756-48E7-B88B-FA075FA11DE1": {
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@extratone
extratone / settings.json
Created May 3, 2024 07:34 — forked from 3nws/settings.json
Zed config
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run the `open default settings` command
// from the command palette or from `Zed` application menu.
{
"base_keymap": "VSCode",
@extratone
extratone / path.md
Created May 2, 2024 05:43 — forked from nex3/path.md

The PATH is an important concept when working on the command line. It's a list of directories that tell your operating system where to look for programs, so that you can just write script instead of /home/me/bin/script or C:\Users\Me\bin\script. But different operating systems have different ways to add a new directory to it:

Windows

  1. The first step depends which version of Windows you're using:
  • If you're using Windows 8 or 10, press the Windows key, then search for and
/*1714481796,,JIT Construction: v1013148623,en_US*/
/**
* Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
* copy, modify, and distribute this software in source code or binary form for use
* in connection with the web services and APIs provided by Facebook.
*
* As with any software that integrates with the Facebook platform, your use of
@extratone
extratone / 0dedict.py
Created April 28, 2024 14:07 — forked from josephg/0dedict.py
Apple dictionaries
# Thanks to commenters for providing the base of this much nicer implementation!
# Save and run with $ python 0dedict.py
# You may need to hunt down the dictionary files yourself and change the awful path string below.
# This works for me on MacOS 10.14 Mohave
from struct import unpack
from zlib import decompress
import re
filename = '/System/Library/Assets/com_apple_MobileAsset_DictionaryServices_dictionaryOSX/9f5862030e8f00af171924ebbc23ebfd6e91af78.asset/AssetData/Oxford Dictionary of English.dictionary/Contents/Resources/Body.data'
f = open(filename, 'rb')
[
{
"location": "141 AT 21, MM 27.1",
"x": -90.424496,
"y": 38.4623,
"rtmp": null,
"html": "https://sfs02-traveler.modot.mo.gov/rtplive/MODOT_CAM_209/playlist.m3u8"
},
{
"location": "141 AT 30, MM 23.2",