👨👩👦
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
# If you call these increment calls, the version numbers and build numbers should be avaiable in the Actions.lane_context | |
Actions.lane_context[Actions::SharedValues::BUILD_NUMBER] | |
Actions.lane_context[Actions::SharedValues::VERSION_NUMBER] |
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
brew install ffmpeg | |
brew install gifsicle | |
mkdir pngs | |
mkdir gifs | |
ffmpeg -i exportation-edited.mov -r 10 ./pngs/out%04d.png | |
cd pngs | |
for i in *.png; do sips --resampleWidth 640 $i; done | |
for i in *.png; do sips -s format gif $i --out ../gifs/$i.gif;done | |
cd ../gifs | |
gifsicle ./*.gif --optimize=3 --delay=3 --loopcount --colors 256 > ../animation.gif |
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
#define IS_NIL(thing) ((thing == nil) || (thing == [NSNull null])) |
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
// | |
// FloorModel.h | |
// | |
// Created by Josh Holtz on 3/4/15. | |
// Copyright (c) 2015 RokkinCat. All rights reserved. | |
// | |
#import "RLMObject.h" | |
@interface FloorModel : RLMObject |
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
# General ENV stuff used for all environments (brands) | |
WORKSPACE=YouApp.xcworkspace |
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
/* | |
* The reason I am looking for this as an RLMResults so I can query Realm before my request to get new data comes back. | |
* I want both the local querying and the creating/updating to return in the same format (RLMResults) | |
* | |
* I am new to Realm so please tell me if I should be going about this a different way. | |
*/ | |
+ (RLMResults*)saveResponse:(NSArray*)response { | |
// Gets real and creates set of ids that were added/updated |
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
// | |
// JSONKit.m | |
// http://github.com/johnezang/JSONKit | |
// Dual licensed under either the terms of the BSD License, or alternatively | |
// under the terms of the Apache License, Version 2.0, as specified below. | |
// | |
/* | |
Copyright (c) 2011, John Engelhart | |
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
# Had to use Fastfile.rb ^^ so that Github would keep it Ruby highlighted :( | |
# S3 Directory Structurer | |
# | |
# - fastlane-test-bucket | |
# - tehetehe.html | |
# - v0.9.0_b20 | |
# - SnapifeyePro.app.dSYM.zip | |
# - SnapifeyePro.ipa | |
# - SnapifeyePro.plist |
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
thing_1 = Project.Thing.create( %{ value: 3 } ) | |
thing_2 = Project.Thing.create( %{ value: "3.2" } ) | |
thing_3 = Project.Thing.create( %{ value: 3.2 } ) |
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
#import "SnapshotHelper.js" | |
var target = UIATarget.localTarget(); | |
var app = target.frontMostApp(); | |
var window = app.mainWindow(); | |
target.setDeviceOrientation(UIA_DEVICE_ORIENTATION_LANDSCAPELEFT); | |
target.delay(3) |