I hereby claim:
- I am fjcaetano on github.
- I am fjcaetano (https://keybase.io/fjcaetano) on keybase.
- I have a public key ASBPByTOBjczHP-AUH3vIlMW7Lq2bslvhRAJTTU63iW6ego
To claim this, I am signing this object:
#! /bin/sh | |
ARCHIVE_PATH="$1" | |
OUTPUT_PATH="$2" | |
if [ -z "${ARCHIVE_PATH}" ] || [ -z "${OUTPUT_PATH}" ]; then | |
echo "Usage: $0 [archive_path] [output_path]" | |
exit 1 | |
fi | |
TMP_PATH="/tmp/manual-archive" |
I hereby claim:
To claim this, I am signing this object:
import React from 'react'; | |
const withPure = <P extends any>( | |
WrappedComponent: React.ComponentType<P>, | |
): React.ComponentClass<P> => { | |
class Purified extends React.PureComponent<P> { | |
render() { | |
return <WrappedComponent {...this.props} />; | |
} | |
} |
import Dispatch | |
private var throttleWorkItems = [AnyHashable: DispatchWorkItem]() | |
private var lastDebounceCallTimes = [AnyHashable: DispatchTime]() | |
private let nilContext: AnyHashable = arc4random() | |
public extension DispatchQueue { | |
/** | |
- parameters: | |
- deadline: The timespan to delay a closure execution |
module Fastlane | |
module Actions | |
module SharedValues | |
IOS_SIMULATOR_CUSTOM_VALUE = :IOS_SIMULATOR_CUSTOM_VALUE | |
end | |
class IosSimulatorAction < Action | |
@@already_booted_code = 164 | |
def self.run(params) |
module Fastlane | |
module Actions | |
class CodecovAction < Action | |
def self.run(params) | |
ci_only = params[:ci_only] | |
cmd = ['curl -s https://codecov.io/bash | bash'] | |
cmd << "-s --" if params.all_keys.inject(false) { |p, k| p or params[k] } | |
cmd << "-X xcodeplist" if params[:use_xcodeplist] | |
cmd << "-J '#{params[:project_name]}'" if params[:project_name] |
// | |
// ChallengeViewController.swift | |
// WinninApp | |
// | |
// Created by Flávio Caetano on 9/26/16. | |
// Copyright © 2016 Winnin. All rights reserved. | |
// | |
import UIKit | |
import RxSwift |
echo "Printing Changelog" | |
git log $(git describe --abbrev=0)..HEAD --pretty=oneline --abbrev-commit | envman add --key GIT_CHANGELOG | |
echo $GIT_CHANGELOG |
bN=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
bN=$(($bN + 1)) | |
bN=$(printf "%d" $bN) | |
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $bN" "${PROJECT_DIR}/${INFOPLIST_FILE}" |
#!/bin/sh | |
exec > /tmp/${PROJECT_NAME}_archive.log 2>&1 | |
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal | |
if [ "true" == ${ALREADYINVOKED:-false} ] | |
then | |
echo "RECURSION: Detected, stopping" | |
else |