I hereby claim:
- I am paristote on github.
- I am philippebb (https://keybase.io/philippebb) on keybase.
- I have a public key ASDpFv7QaTvNREybk2JPhl01wakiKJh9b6go47lhqX6bzwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
8933bad161af4178b1185d1a37fbf41ea5269c55 |
Load a properties file in the build
Properties props = new Properties()
try {
props.load(file('file.properties').newDataInputStream())
} catch (Exception ex) {
throw new GradleException("Missing file.properties file.");
}
https://github.com/twitter/digits-android/blob/master/.travis.yml
language: android
jdk: oraclejdk7
android:
components:
- build-tools-23.0.1
- android-22
#!/bin/bash | |
WORKSPACE="" | |
SCHEME="" | |
DESTINATION="" | |
PROV_PROFILE="" | |
usage(){ | |
echo "Usage: "`basename "$PRG"`" [options]" | |
echo "" |
-(void)testPerfOfConversionToNaturalName | |
{ | |
File * file = [[File alloc] init]; | |
file.name = @".spaces.exo.platform.home."; | |
NSDate * now = [NSDate date]; | |
double beginTime = now.timeIntervalSince1970; | |
NSLog(@"Begin at %f", beginTime); | |
for (int i=0; i<1000000; i++) { | |
[file convertToNaturalName]; | |
} |