Skip to content

Instantly share code, notes, and snippets.

View josmithua's full-sized avatar
👨‍💻

Joshua josmithua

👨‍💻
View GitHub Profile
@jpudysz
jpudysz / live-activity-intents.js
Created February 1, 2024 17:48
Add target to any file in Xcode with Expo config plugin
const { withXcodeProject } = require('@expo/config-plugins')
const findFileReferenceByName = (xcodeProject, fileName) => {
const fileReferences = xcodeProject.hash.project.objects['PBXFileReference']
return Object.fromEntries(
Object
.entries(fileReferences)
.filter(([key, value]) => value.name === `"${fileName}"`)
)
@chickencoder
chickencoder / bible.txt
Last active October 25, 2025 06:15
Plain text list of all the books of the bible. Line separated and capitalised.
Genesis
Exodus
Leviticus
Numbers
Deuteronomy
Joshua
Judges
Ruth
1 Samuel
2 Samuel
@mp035
mp035 / tk_scroll_demo.py
Last active March 2, 2025 09:02
A simple scrollable frame class for tkinter, including example usage.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
import tkinter as tk
import platform
# ************************
# Scrollable Frame Class
# ************************