Skip to content

Instantly share code, notes, and snippets.

View zhgchgli0718's full-sized avatar
🍎

ZhgChgLi zhgchgli0718

🍎
View GitHub Profile
@zhgchgli0718
zhgchgli0718 / Fastfile
Created April 20, 2023 04:29
A simply extend the Fastlane Action to enable downloading the uploaded Universal APK from the Google Play Console.
lane :test do | options |
apk_downloader(json_key: "./xxx@xxx.iam.gserviceaccount.com.json", package_name: "m.zhgchg.li", version_code:1000, export_file_path: "./zhgchgli.apk")
end
@SergLam
SergLam / AppTypeDefinitions.swift
Last active March 18, 2024 09:09
Photo selection service class for iOS
typealias Localizable = R.string.localizable
typealias TypeClosure<T> = (T) -> Void
typealias VoidClosure = () -> Void
typealias VoidResult = Swift.Result<Void, Error>
typealias VoidResultClosure = (Swift.Result<Void, Error>) -> Void
typealias ImagePickerConfiguration = (source: UIImagePickerController.SourceType,
isLimited: Bool,
@prwhite
prwhite / Makefile
Last active May 2, 2024 18:02
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@jbroadway
jbroadway / Slimdown.md
Last active February 5, 2024 10:43
Slimdown - A simple regex-based Markdown parser.