Skip to content

Instantly share code, notes, and snippets.

View CarterBland's full-sized avatar
😁

Carter Johnson CarterBland

😁
  • Unsupervised
  • Joplin, Missouri
  • 10:28 (UTC -05:00)
View GitHub Profile
@CarterBland
CarterBland / codemagic.yaml
Created April 23, 2021 20:14
codemagic.yaml example
workflows:
react-native-android:
name: React Native Android
max_build_duration: 120
instance_type: mac_mini
environment:
vars:
GCLOUD_SERVICE_ACCOUNT_CREDENTIALS: # <-- Put encrypted CONTENTS of your Gloud crendentials file here
PACKAGE_NAME: # <-- Put your package name here e.g. com.domain.myapp
CM_KEYSTORE: # <-- Put your encrypted keystore file here
# [<tag>] (If applied, this commit will...) <subject> (Max 72 char)
# |<---- Preferably using up to 50 chars --->|<------------------->|
# Example:
# [feat] Implement automated commit messages
# (Optional) Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# (Optional) Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
# --- COMMIT END ---
# Tag can be
@CarterBland
CarterBland / PushTokenTrait.php
Created October 9, 2018 18:50
Push Token Trait for Laravel
<?php
namespace App\Traits;
use App\PushToken;
trait PushTokenTrait {
/**
* Notifies all
*
* @param String $title