Skip to content

Instantly share code, notes, and snippets.

View mess110's full-sized avatar

Cristian Mircea Messel mess110

View GitHub Profile
1 /(
2 ([#])
3 ([$])
4 ([!])
5 ([%])
6 ([*])
7 ([]])
8 ([[])
9 ([<])
10 ([>])
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
1. 82
2. 82
3. 80
4. 79
5. 84
6. 89
7. 69
8. 76
9. 89
10. 75
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
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");
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)'
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 = {