I hereby claim:
- I am joshdholtz on github.
- I am joshdholtz (https://keybase.io/joshdholtz) on keybase.
- I have a public key ASDSc6Oy31AQQMq1Fvzx1MJZhYbTN_2WRGDLZ9M5VHXFnwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| FASTLANE_TEAM_ID = <your team id> | |
| FASTLANE_USER = <your user email> | |
| PRODUCE_APP_IDENTIFIER = com.fastlanescreencast.FastlaneScreencast | |
| CERT_APP_IDENTIFIER = com.fastlanescreencast.FastlaneScreencast | |
| SIGH_APP_IDENTIFIER = com.fastlanescreencast.FastlaneScreencast | |
| ANDROID_KEYSTORE_KEYSTORE_NAME = FastlaneScreencast.keystore | |
| ANDROID_KEYSTORE_ALIAS_NAME = fastlanescreencast | |
| ANDROID_KEYSTORE_PASSWORD = supersecret |
| STUFF = this is some stuff |
| # Get provisioning profile and write to xcconfig for use with gym | |
| profile_uuid = sigh( | |
| app_identifier: bundle_identifier, | |
| adhoc: is_ad_hoc | |
| ) | |
| profile_config_path = File.absolute_path(File.join(path, "./CustomConfig.xcconfig")) | |
| profile_config_content = "PROVISIONING_PROFILE_SPECIFIER = #{profile_uuid} | |
| PRODUCT_BUNDLE_IDENTIFIER = #{bundle_identifier} | |
| DEVELOPMENT_TEAM = #{ENV['DELIVER_TEAM_ID']}" |
| // Differences from defaults | |
| // 1. Tab instead of backspace on left hand | |
| // 2. Control was taken off of Z | |
| // 3. LGui (CMD/Windows) on bottom left left hand | |
| // 4. AlfShf replaced with Alt on left hand (for hots) | |
| #include "ergodox_ez.h" | |
| #include "debug.h" | |
| #include "action_layer.h" |
| def ios_add_push_entitlements(project_path) | |
| entitlements_template_name = "app-template.entitlements" | |
| entitlements_template_path = File.absolute_path entitlements_template_name | |
| entitlements_template = File.read(entitlements_template_path) | |
| # Replacing entitlement template with debug info | |
| debug_file_name = "app-debug.entitlements" | |
| debug_file = File.new(, "w") | |
| debug_file.puts entitlements_template | |
| .gsub("REPLACE_ENVIRONMENT", "debug") |
| # fastlane do_task | |
| # fastlane do_task envs:"scheme_1,scheme_2" | |
| lane :do_task do |options| | |
| # Execute this lane for all schemes if no | |
| # 'SCHEME` environment variable | |
| if ENV['SCHEME'] == nil | |
| envs = options[:envs].to_s.split(",") | |
| execute_for_all_scheme_envs(envs) { do_task } | |
| next |
| # fastlane watch_and_dist | |
| # or | |
| # fastlane watch_and_dist username:"your@email.com" team_name:"Team Name" app_identifier:"com.your_app" version:"1.1" build_number:"239" groups:"Group1,Group2" | |
| lane :watch_and_dist do |options| | |
| # Set ENVs for Spaceship and Pilot | |
| ENV['FASTLANE_USER'] ||= options[:username] | |
| ENV['FASTLANE_ITC_TEAM_NAME'] ||= ENV['FASTLANE_TEAM_NAME'] = options[:team_name] | |
| # Prompt for needed app/build info | |
| app_identifier = options[:app_identifier] || UI.input("App Identifier") |
| // Once a weeek (or so) I won't be able to reload anything on Twitter (web) | |
| // There page reload gets stuck at about 30% | |
| // Twitter works in private browser instances and other browsers | |
| // There is some issue in the service worker that is preventing a refresh | |
| // The only solution is to run this in the open up the Javascript Console and run this | |
| navigator.serviceWorker.getRegistrations().then(function(registrations) { | |
| for(let registration of registrations) { | |
| registration.unregister() | |
| } }) |
| # 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) |