👨👩👦
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import RevenueCat | |
struct Constants { | |
static let apiKey = "<your_api_key>" // Will look like: appl_bunchofotherstuffhere | |
static let entitlementName = "<your_entitlement_name>" // I use something like "pro" | |
} | |
@main | |
struct ATinySampleApp: App { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.zshrc | |
ZSH_DISABLE_COMPFIX=true | |
export ZSH="/Users/joshholtz/.oh-my-zsh" | |
# joshdholtz theme shows arch type in the prompt | |
ZSH_THEME="joshdholtz" | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
# M1 and Rosetta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
STUFF = this is some stuff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General ENV stuff used for all environments (brands) | |
WORKSPACE=YouApp.xcworkspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem "json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This is the offical Scriptable widget for Indie Dev Monday | |
* | |
* Indie Dev Monday (https://indiedevmonday.com) is a weekly newsletter | |
* spotlighting indie developers | |
* | |
* This script includes: | |
* | |
* Latest issue widget (no parameter) | |
* - shows latest issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SomeFragment extends Fragment { | |
MapView mapView; | |
GoogleMap map; | |
@Override | |
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
View v = inflater.inflate(R.layout.some_layout, container, false); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I dont want my table jumping/animation when appending new rows | |
// for an infinite scroll feel | |
// | |
// Some of this might not be needed but it works | |
// | |
// TODO: Possibly garbage | |
extension UITableView { | |
func reloadDataSmoothly() { | |
UIView.setAnimationsEnabled(false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub | |
FL_GITHUB_API_TOKEN= | |
FL_GITHUB_RELEASE_API_TOKEN= | |
APP_STORE_CONNECT_API_KEY_ISSUER_ID= | |
APP_STORE_CONNECT_API_KEY_KEY_ID= | |
APP_STORE_CONNECT_API_KEY_KEY_FILEPATH=fastlane/YOUR.p8 | |
FL_NOTARIZE_BUNDLE_ID= | |
FL_NOTARIZE_ASC_PROVIDER= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lane :build_and_upload do | |
# Build by allowing provisioning updates, auto version and build number management, | |
# and uploading directly to App Store Connect | |
# | |
# Requires: signed in with Apple ID in Xcode | |
# Radar for using App Store Connect API Key: FB9145847 | |
gym( | |
xcargs: "-allowProvisioningUpdates", | |
export_options: { | |
"destination": "upload", |
NewerOlder