- Easy setup
- Multitude of different tools included by default
- Team Management
- Webhooks
- Extensible via clones
- Fast start on builds
This file contains hidden or 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
protocol Screenshottable { | |
func screenshot() -> UIImage? | |
} | |
extension UIView: Screenshottable { | |
func screenshot() -> UIImage? { | |
let renderer = UIGraphicsImageRenderer(bounds: bounds) | |
return renderer.image { _ in | |
drawHierarchy(in: self.bounds, afterScreenUpdates: false) |
This file contains hidden or 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 extension UIImage { | |
public var original: UIImage { return withRenderingMode(.alwaysOriginal) } | |
public var template: UIImage { return withRenderingMode(.alwaysTemplate) } | |
} |
This file contains hidden or 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
extension Optional { | |
public func map<T>(_ keyPath: KeyPath<Wrapped, T>) -> T? { | |
return map({ $0[keyPath: keyPath] }) | |
} | |
} |
This file contains hidden or 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
prefix operator ^ | |
prefix func ^<Root, Value>(keyPath: KeyPath<Root, Value>) -> (Root) -> Value { | |
return { $0[keyPath: keyPath] } | |
} |
This file contains hidden or 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
#!/usr/bin/env sh | |
#/ Usage: ch-init 123 | |
# Initializes the current branch to a ticket | |
if [ $# = "0" ]; then | |
printf 'usage: ch-init <ticket>\n' | |
exit 1 | |
fi | |
TICKET="$@" |
This file contains hidden or 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
#!/bin/bash | |
# git-sweep | |
# Cleans up branches on Origin and verifies that they have already been merged | |
# USAGE: git sweep | |
# This must be run from master | |
git checkout master | |
# Update our list of remotes | |
git fetch | |
git remote prune origin |
This file contains hidden or 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
box: node | |
build: | |
steps: | |
- script: | |
name: Setup Yarn Caching | |
code: export YARN_CACHE=$WERCKER_CACHE_DIR/yarn | |
- script: | |
name: Yarn Install | |
code: HOME=$YARN_CACHE yarn --no-progress | |
- script: |
I hereby claim:
- I am nanoxd on github.
- I am nanoxd (https://keybase.io/nanoxd) on keybase.
- I have a public key ASCyQEMSeoe49Rf__mhySgR6vtqbCMGKgYPikQt0ZLLC9go
To claim this, I am signing this object: