Skip to content

Instantly share code, notes, and snippets.


César Pinto Castillo JagCesar

Block or report user

Report or block JagCesar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
JagCesar / .travis.yml
Last active Apr 29, 2016 — forked from johanneswuerbach/.travis.yml
Deploy to Testflight using Travis-CI
View .travis.yml
language: objective-c
- chmod +x scripts/travis/
- chmod +x scripts/travis/
- chmod +x scripts/travis/
- ./scripts/travis/
script: xctool -workspace [Workspace name].xcworkspace -scheme '[Scheme to use]' -configuration [Build configuration name] -sdk iphoneos7.1 CONFIGURATION_BUILD_DIR='~/build/' build
- ./scripts/travis/
JagCesar / Fastfile
Created Dec 29, 2016
Cookin Fastfile
View Fastfile
# Customise this file, documentation can be found here:
# All available actions:
# can also be listed using the `fastlane actions` command
# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`
# If you want to automatically update fastlane if a new version is available:
# update_fastlane
View .git-commit-template
JagCesar /
Created May 16, 2017
Push Me bash script
curl -so \
- --data "title=$message&token=[token-here]" \
JagCesar / Tag each beta
Created Dec 14, 2018
Tag each uploaded beta with version and current build number. It's pretty sweet.
View Tag each beta
lane :beta do
latestBuildNumber = bump_build_number
# Git tag must not already exist. If it does, check if we forgot to bump version or
# delete previous tag on remote.
git_tag_name = "v#{version}(#{latestBuildNumber})"
UI.crash!("Git tag #{git_tag_name} already exists.") if git_tag_exists(tag: git_tag_name)
build_app(scheme: "Volante")
JagCesar / protocolExtension.swift
Created Dec 20, 2019
Example of protocol extensions functionality
View protocolExtension.swift
protocol Nameable {
/// This func is required by anyone who conforms to this protocol
func lastName() -> String
extension Nameable {
/// This will be the default implementation if the conforming class doesn't override this implementation.
func firstname() -> String {
return "John Appleseed"
You can’t perform that action at this time.