Closed issues:
- How to update project to latest React Native version? #1050
$(window).scroll(function() { | |
if ($(document).scrollTop() < 60) { | |
$("#navigation").removeClass("navbar-open").addClass("navbar-close"); | |
} | |
else { | |
$("#navigation-top").removeClass("navbar-close").addClass("navbar-open"); | |
} | |
}); |
Closed issues:
var WithLabel = React.createClass({ | |
responder: PanResponder.create({ | |
onStartShouldSetResponderCapture: (evt) => true, | |
onStartShouldSetPanResponder: (evt) => true, | |
onMoveShouldSetPanResponder: (evt) => true, | |
onPanResponderGrant: this.handlePress, | |
onPanResponderMove: this.handlePress, | |
onPanResponderRelease: this.handlePress, | |
onPanResponderTerminate: this.handlePress, | |
}), |
/** | |
* Copyright (c) 2015-present, Facebook, Inc. | |
* All rights reserved. | |
* | |
* This source code is licensed under the BSD-style license found in the | |
* LICENSE file in the root directory of this source tree. An additional grant | |
* of patent rights can be found in the PATENTS file in the same directory. | |
*/ | |
#import <UIKit/UIKit.h> |
- (void)request:(SKRequest *)request didFailWithError:(NSError *)error { | |
NSLog(@"Failed to load list of products.%@", error); | |
} |
chirag@chirag-VPCEH24FX:~$ ab -r -n 100000 -c 1000 localhost:3000/stock/tcs | |
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking localhost (be patient) | |
Completed 10000 requests | |
Completed 20000 requests | |
Completed 30000 requests | |
Completed 40000 requests |
chirag@chirag-VPCEH24FX:/etc/haproxy$ ab -r -n 100000 -c 1000 localhost:3005/stock/tcs | |
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking localhost (be patient) | |
Completed 10000 requests | |
Completed 20000 requests | |
Completed 30000 requests | |
Completed 40000 requests |
http://blog.revathskumar.com/2013/10/setup-postgresql-on-ubuntu.html |
location ~/profile_picture(^.+\.(jpg|jpeg|gif|png)$) { | |
alias /home/chirag/Desktop/xyz/profile_pictures/$1; | |
expires -1; | |
} | |
location ~*(^.+\.(jpg|jpeg|gif|css|png|js|ico|eot|otf|svg|ttf|woff|hbs)$) { | |
alias /home/chirag/Desktop/xyz/static/$1; | |
expires -1; | |
} |