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
/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. |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'twitter' | |
help_message = <<HELP_MESSAGE | |
Create a twitter client script that retrieves all the unique http links in the | |
last 100 most recent tweets using a hashtag parameter. The application should | |
be executable from the command line and should print the results to STDOUT. |
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
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 = { |
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
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)' |
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
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 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
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 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
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 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
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 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
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 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
1. 82 | |
2. 82 | |
3. 80 | |
4. 79 | |
5. 84 | |
6. 89 | |
7. 69 | |
8. 76 | |
9. 89 | |
10. 75 |