Skip to content

Instantly share code, notes, and snippets.

View joshdholtz's full-sized avatar
👨‍👩‍👦
Family first then OSS

Josh Holtz joshdholtz

👨‍👩‍👦
Family first then OSS
View GitHub Profile
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<opml version="2.0">
<body>
<outline title="Apps and Products">
<outline text="The GitHub Blog" title="The GitHub Blog" xmlUrl="https://github.blog/feed/" />
<outline text="Burpee Hero" title="Burpee Hero" xmlUrl="https://burpeehero.com/feed.xml" />
</outline>
<outline title="iOS Dev">
<outline text="steipete’s blog" title="steipete’s blog" xmlUrl="https://steipete.me/feed.xml" />
<outline text="iOS Goodies" title="iOS Goodies" xmlUrl="https://ios-goodies.com/rss" />
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<opml version="2.0">
<body>
<outline title="iOS Dev">
<outline text="steipete’s blog" title="steipete’s blog" xmlUrl="https://steipete.me/feed.xml" />
<outline text="iOS Goodies" title="iOS Goodies" xmlUrl="https://ios-goodies.com/rss" />
<outline text="iOS Dev Weekly" title="iOS Dev Weekly" xmlUrl="https://iosdevweekly.com/issues.rss" />
<outline text="iOS Dev Break with Evan K. Stone" title="iOS Dev Break with Evan K. Stone" xmlUrl="http://iosdevbreak.com/feed/" />
<outline text="Timac" title="Timac" xmlUrl="https://blog.timac.org/index.xml" />
<outline text="Tim Roesner’s Blog" title="Tim Roesner’s Blog" xmlUrl="https://blog.timroesner.com/feed.xml" />
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<opml version="2.0">
<body>
<outline title="iOS Dev">
<outline text="steipete’s blog" title="steipete’s blog" xmlUrl="https://steipete.me/feed.xml" />
<outline text="iOS Goodies" title="iOS Goodies" xmlUrl="https://ios-goodies.com/rss" />
<outline text="iOS Dev Weekly" title="iOS Dev Weekly" xmlUrl="https://iosdevweekly.com/issues.rss" />
<outline text="iOS Dev Break with Evan K. Stone" title="iOS Dev Break with Evan K. Stone" xmlUrl="http://iosdevbreak.com/feed/" />
<outline text="Timac" title="Timac" xmlUrl="https://blog.timac.org/index.xml" />
<outline text="Tim Roesner’s Blog" title="Tim Roesner’s Blog" xmlUrl="https://blog.timroesner.com/feed.xml" />
@joshdholtz
joshdholtz / joshs_feeds.opml
Created January 14, 2021 02:07
Josh’s OPML
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<opml version="2.0">
<body>
<outline title="Gaming">
<outline text="Wisdom Gaming" title="Wisdom Gaming" xmlUrl="https://wisdom-media.gg/feed/" />
</outline>
<outline title="Apps and Products">
<outline text="The GitHub Blog" title="The GitHub Blog" xmlUrl="https://github.blog/feed/" />
<outline text="Burpee Hero" title="Burpee Hero" xmlUrl="https://burpeehero.com/feed.xml" />
</outline>
@joshdholtz
joshdholtz / HealthyLivingWidget.js
Created December 8, 2020 04:04
Healthy Living Log - Scriptable and DataJar
const h=5
const w = new ListWidget()
w.backgroundColor=new Color("#222222")
// workout contents
const fileManager = FileManager.iCloud()
const dataPath = fileManager.documentsDirectory() + "/health_data.json"
@joshdholtz
joshdholtz / Fastfile
Last active February 23, 2022 18:33
Check if fastlane is building in Xcode run script
lane :build do
gym(
xcargs: "FASTLANE=true"
)
end
@joshdholtz
joshdholtz / Fastfile
Created May 28, 2020 15:57
fastlane - Get TestFlight Feedback
lane :connect_feedback do
fastlane_require 'spaceship'
Spaceship::Tunes.login
Spaceship::Tunes.select_team
# Gets app
app = Spaceship::ConnectAPI::App.find(ENV["TEST_APP_BUNDLE"])
# Gets feedback for an app (default includes screenshots and tester info)
Z_IS_IOS = NO
Z_IS_IOS[sdk=iphoneos*] = YES
@joshdholtz
joshdholtz / userLatestStatus.graphql
Last active March 26, 2020 16:16
graphql - get all users (order by email) with only the newest status
query UserLatestStatus {
users(order_by: {email: asc}) {
id
email
inserted_at
name
avatar_image_url
updated_at
statuses(limit: 1, order_by: {created_at: desc}) {
id
@joshdholtz
joshdholtz / .zshrc
Last active November 10, 2020 14:52
gh pr push <pr_number>
# Pushes to the remote that the PR was created from
# Useful for open source projects that allows maintainers to edit
# Requires "brew install jq"
# Requires "brew install github/gh/gh"
function pr_push {
ORG_AND_REPO=$(git remote get-url origin | sed 's/.*\/\([^ ]*\/[^.]*\).*/\1/')
REMOTE_URL=$(curl https://api.github.com/repos/$ORG_AND_REPO/pulls/${1:?"The PR number must be specified"} | jq .head.repo.clone_url | tr -d '"')
BRANCH=$(git rev-parse --abbrev-ref HEAD)