get session from pool
get customer input (departure, destination, dates, passengers count)
# search for recommendations conforming to customer input
do Fare_TravelBoardSearch
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
// QNTestingAppDelegate.h | |
@interface QNTestingAppDelegate : UIResponder | |
@property (nonatomic, strong) UIWindow *window; | |
@end |
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 "QNTestingAppDelegate.h" | |
@implementation QNTestingAppDelegate | |
@end |
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
2016-06-16 10:17:54.528 QNChat[90242:8483681] Unable to simultaneously satisfy constraints. | |
Probably at least one of the constraints in the following list is one you don't want. | |
Try this: | |
(1) look at each constraint and try to figure out which you don't expect; | |
(2) find the code that added the unwanted constraint or constraints and fix it. | |
( | |
"<NSLayoutConstraint:0x7fb2451f8d70 V:|-(33)-[cell_contentLabel] (Names: cell_contentLabel:0x7fb24530e6b0, cell_box:0x7fb242d0ff10, '|':cell_box:0x7fb242d0ff10 )>", | |
"<NSLayoutConstraint:0x7fb2453001a0 V:[cell_contentLabel]-(29)-| (Names: cell_box:0x7fb242d0ff10, cell_contentLabel:0x7fb24530e6b0, '|':cell_box:0x7fb242d0ff10 )>", | |
"<NSLayoutConstraint:0x7fb24507d2e0 UITableViewCellContentView:0x7fb242e604d0.topMargin == cell_box.top (Names: cell_box:0x7fb242d0ff10 )>", | |
"<NSLayoutConstraint:0x7fb245089e90 UITableViewCellContentView:0x7fb242e604d0.bottomMargin == cell_box.bottom (Names: cell_box:0x7fb242d0ff10 )>", |
I hereby claim:
- I am yeradis on github.
- I am yeradis (https://keybase.io/yeradis) on keybase.
- I have a public key ASChrCQXLhmC4fuj8ahlsxhDZ3a7gWGQtKfSJBr-K02m1Qo
To claim this, I am signing this object:
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
source ~/.bash_profile | |
cd ${SRCROOT} | |
xcodebuild clean | |
xcodebuild | tee xcodebuild.log | xcpretty -r json-compilation-database -o compile_commands.json | |
maxPriority=15000 | |
oclint-json-compilation-database -- -report-type xcode -max-priority-1=$maxPriority -max-priority-2=$maxPriority -max-priority-3=$maxPriority |
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
#ifdef __OBJC__ | |
#define DISABLE_NULL_WARNING \ | |
_Pragma("clang diagnostic push") \ | |
_Pragma("clang diagnostic ignored \"-Wnonnull\"") | |
#define ENABLE_NULL_WARNING \ | |
_Pragma("clang diagnostic pop") | |
I know this is an old question and probably you got a solution(or decided to use another library)
but just in case for future references
THIS WORKS ON MacOS for other systems you need to check your available tools
find
,sed
you can comment that line with something like this at your Podfile
post_install do |installer|
app_target = "your_target_goes_here"
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
/** | |
* Adds a custom menu to the active spreadsheet, containing a single menu item | |
* for invoking the exportJSON() function specified above. | |
* The onOpen() function, when defined, is automatically invoked whenever the | |
* spreadsheet is opened. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function onOpen() { | |
var sheet = SpreadsheetApp.getActiveSpreadsheet(); |
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
function convertSheet2Json(sheet) { | |
// first line(title) | |
var firstRange = sheet.getRange(1, 1, 1, sheet.getLastColumn()); | |
var firstRowValues = firstRange.getValues(); | |
var titleColumns = firstRowValues[0]; | |
// after the second line(data) | |
var lastRow = sheet.getLastRow(); | |
var rowValues = []; | |
for(var rowIndex=2; rowIndex<=lastRow; rowIndex++) { |