Skip to content

Instantly share code, notes, and snippets.

View mess110's full-sized avatar

Cristian Mircea Messel mess110

View GitHub Profile
/pr0n/ssc> rake1.9 rcov
(in /pr0n/ssc)
rm -r coverage
/usr/bin/ruby1.9 -Ilib:test -S rcov --text-report --exclude "gems/*" -o "coverage" "test/integration/test_appliance.rb" "test/integration/test_repository.rb" "test/integration/test_file.rb" "test/integration/test_package.rb" "test/unit/test_directory_manager.rb"
** WARNING: Ruby 1.9 Support is experimental at best. Don't expect correct results! **
Loaded suite /usr/lib64/ruby/gems/1.9.1/bin/rcov
Started
..........................................................
Finished in 0.567393 seconds.
diff --git a/README.md b/README.md
index d578a89..ea76518 100644
--- a/README.md
+++ b/README.md
@@ -41,9 +41,7 @@ It is written using [node.js][1], more precisely [Express][5] as a web framework
my_config.app = {
google_client_id: "GOOGLE_CLIENT_ID_TOKEN",
google_client_secret: "GOOGLE_CLIENT_SECRET_TOKEN"
- }
- my_config.calendar = {
config.app = {
google_client_id: "GOOGLE_CLIENT_ID",
google_client_secret: "GOOGLE_CLIENT_SECRET",
history_size: 20,
sio: {
log_level: 1,
transports: ['websocket', 'xhr-polling']
},
calendar: 'https://www.google.com/calendar/render?cid=<GOOGLE_CALENDAR_ID>',
defaultTitle: 'UbunTalk - chat for humans (and dancers)'
public static HttpResponse doPut(String url, JSONObject c) throws Exception
{
HttpClient httpclient = new DefaultHttpClient();
HttpPut request = new HttpPut(url);
StringEntity s = new StringEntity(c.toString());
s.setContentEncoding("UTF-8");
s.setContentType("application/json");
request.setEntity(s);
request.addHeader("accept", "application/json");
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 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
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 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
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 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
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 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
1. 82
2. 82
3. 80
4. 79
5. 84
6. 89
7. 69
8. 76
9. 89
10. 75