This file contains 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
- (void)requestDidFailed:(ASIHTTPRequest *)request { | |
// La création de compte a échoué. Afficher un message d'erreur | |
} | |
- (void)requestDidSucceed:(ASIHTTPRequest *)request { | |
NSData* data=[request.responseString dataUsingEncoding:NSUTF8StringEncoding]; | |
NSDictionary *json = [[CJSONDeserializer deserializer] deserialize:data error:NULL]; | |
// cacher la bulle d'attente | |
[webView stringByEvaluatingJavaScriptFromString:@"hideWaiting()"]; | |
NSDictionary *lastHTTPBody = request.userInfo; |
This file contains 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
cd ~ | |
sudo apt-get update | |
sudo apt-get install curl python-software-properties -y | |
sudo apt-get install openjdk-6-jre-headless | |
curl -L http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz | tar -xz | |
sudo mv elasticsearch-* /usr/local/share/elasticsearch | |
curl -L http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master | tar -xz | |
sudo mv *servicewrapper*/service /usr/local/share/elasticsearch/bin/ | |
rm -Rf *servicewrapper* |
This file contains 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
/* | |
For General Icons: <i class="general foundicon-[icon-name]"></i> | |
For Social Icons: <i class="social foundicon-[icon-name]"></i> | |
For Accessibility Icons: <i class="accessibility foundicon-[icon-name]"></i> | |
For General Enclosed Icons: <i class="enclosed foundicon-[icon-name]"></i> | |
*/ | |
/* global foundicon styles */ | |
[class*="foundicon-"] { |