Skip to content

Instantly share code, notes, and snippets.

View Mearman's full-sized avatar

Joseph Mearman Mearman

View GitHub Profile
@ryancdavison
ryancdavison / iPad-Pro-Magic-Keyboard-Portrait-Mode-DIY-Smart-Connector-Cable.md
Last active October 6, 2025 15:37
iPad Pro 12.9 (2020) Magic Keyboard Portrait Mode DIY Smart Connector Cable

iPad Pro 12.9" (2020) Magic Keyboard Portrait Mode DIY Smart Connector Cable

I wanted my iPad Pro to be able to use the Magic Keyboard in portrait mode, but the current Smart Connector configuration does not allow this. With too much time on my hands, I made a short jumper cable using a section of USB cable, 5-pin POGO connectors (the 5-pin works using pins 1, 3, and 5, and removing pins 2 and 4), a small electrical project box, 3mm N52 magnets, and some epoxy and Sugru to pack everything into place. My cable and connections orientation had more to do with the boxes I found to encase the connector (with holes on the small end) than anything else. Obviously, there will be many ways to do this.

WARNING: Getting any of these steps wrong will probably ruin your iPad.

Note: These measurements are for the 12.9" (2020) model. The magnets did not line up and the polarity was different for my wife's iPad Pro 11" (2021).

![iPad-Pro-MmagicKeyboard-Jumper-Cable-min](https://user-images.githubusercontent.c

@lguenth
lguenth / Zotero Highlights Template Without Templater.md
Last active March 2, 2024 09:02
Zotero Integration Templates
created modified
{"importDate|format(\"YYYY-MM-DD\")" => nil}
{"importDate|format(\"YYYY-MM-DD\")" => nil}

{{shortTitle|replace(":", " –")}}

Quelle: [[@{{citekey}}]]

{% if annotations.length > 0 -%} Hinzugefügt am [[{{importDate | format("YYYY-MM")}}#{{importDate | format("YYYY-MM-DD")}}]]

@Pustelto
Pustelto / .gitlab-ci.yml
Created February 15, 2022 11:18
GitLab CI to deploy CRA with react router
workflow:
rules:
- if: $CI_COMMIT_BRANCH == "main"
image: node
pages:
variables:
# Replace this variable with your own path. Just copy everything right behind the domain gitlab.io. Don't forget to add
# the slash at the beginnig.
@etiennetremel
etiennetremel / github-get-graphql-packages-by-size-csv.sh
Created November 11, 2021 08:29
Report all packages size for a given Github organization as CSV
#!/usr/bin/env bash
# The following script get all packages from a given organization and generate
# a CSV file reporting package size
# Usage:
# bash github-get-graphql-packages-by-size-csv.sh MyGithubOrganization
set -e
echo "repository,package,version,file,size"
gh api graphql -F organization=$1 --paginate -f query='
@0x0a0d
0x0a0d / README.md
Created September 29, 2021 17:55
`Lerna link` and `patch-package`

For anyone who stuck after run lerna link, patch-package will not be executed at lerna bootstrap

  1. At root path (same location with lerna.json), edit package.json as below
// ...
  "devDependencies": {
    "@lerna/child-process": "^4.0.0",
    "@lerna/project": "^4.0.0",
    // ...
 },
@candideu
candideu / Open Source AI Scribe, Auto-Transcriber, Speech-to-text Transcriptions, Captions & Subtitles Exporter, Interactive Transcripts, Alternative to Otter.ai, Descript, Sonix.ai.md
Last active July 12, 2025 03:17
Open Source AI Scribe / Auto-Transcriber / Speech-to-text Transcriptions / Captions & Subtitles Exporter / Interactive Transcripts / Alternative to Otter.ai, Descript, Sonix.ai

Hello world!

As a video editor, researcher, digital media enthusiast, and lover of all things FLOSS, I've been on the hunt for an open source alternative to proprietary services like Otter.ai, Sonix, and Descript. I've pitched my idead on open-source-ideas, but I wanted to create a dedicated post for it so that it can reach as many people as possible.

Project description

The idea

A simple, easy-to-use application where users can dictate or upload audio or video files, and an automated transcript is generated. This transcript is synced to the audio track, clickable, and editable, so that users can skip to certain passages and refine the transcript accordingly.

The revised transcript can then be exported as plain text, .srt caption file (and other subtitle formats), .pdf, shareable web page, etc. for further processing.

@bennewton999
bennewton999 / dailyNoteTemplate.txt
Last active October 22, 2025 05:41
My current Daily Note Template in Obsidian utilizing Templater and DataView Plugins
---
creation date: <% tp.file.creation_date() %>
tags: DailyNote <% tp.file.title.split('-')[0] %>
---
modification date: <%+ tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm:ss") %> // This doesn't currently work in front matter, hoping that gets fixed.
# <% tp.file.title %>
<< [[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %>]] | [[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>]]>>
@bpsib
bpsib / BBC-Radio-HLS.m3u
Last active December 15, 2025 19:08 — forked from stengland/BBC-Radio.m3u
BBC Radio Streams
#EXTM3U
#EXTINF:-1,BBC - Radio 1
http://as-hls-ww-live.akamaized.net/pool_01505109/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_radio_one-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1Xtra
http://as-hls-ww-live.akamaized.net/pool_92079267/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1Dance
http://as-hls-ww-live.akamaized.net/pool_62063831/live/ww/bbc_radio_one_dance/bbc_radio_one_dance.isml/bbc_radio_one_dance-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1 Anthems (UK Only)
http://as-hls-uk-live.akamaized.net/pool_11351741/live/uk/bbc_radio_one_anthems/bbc_radio_one_anthems.isml/bbc_radio_one_anthems-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 2
@ThePredators
ThePredators / readme-mde.md
Last active November 9, 2025 02:55
Setup Mobile Development Environment

⭐ Setup Mobile Development Environment

⚠️ The following configuration has been tested on Intel, M1 & M2 Ships ⚠️

Pre-requisit :

If you have any issues with macOS, or need anything related to it check this documentation

Install Xcode Command Line tools :

@sbyx
sbyx / low-battery-level-detection-notification-for-all-battery-sensors.yaml
Last active December 8, 2025 08:06
Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Low battery level detection & notification for all battery sensors
description: Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold and if so execute an action.
domain: automation
input:
threshold:
name: Battery warning level threshold
description: Battery sensors below threshold are assumed to be low-battery (as
well as binary battery sensors with value 'on').