replyr 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +14 -0
- data/MIT-LICENSE +20 -0
- data/README.md +94 -0
- data/Rakefile +32 -0
- data/lib/email_reply_parser/LICENSE +22 -0
- data/lib/email_reply_parser/email_reply_parser.rb +475 -0
- data/lib/generators/replyr/install_generator.rb +15 -0
- data/lib/generators/replyr/templates/mailman_daemon +12 -0
- data/lib/generators/replyr/templates/mailman_server +50 -0
- data/lib/generators/replyr/templates/replyr.rb.erb +8 -0
- data/lib/replyr/config.rb +22 -0
- data/lib/replyr/engine.rb +14 -0
- data/lib/replyr/handle_reply.rb +36 -0
- data/lib/replyr/reply_address.rb +111 -0
- data/lib/replyr/reply_email.rb +50 -0
- data/lib/replyr/version.rb +3 -0
- data/lib/replyr.rb +26 -0
- data/lib/tasks/replyr_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/comment.rb +7 -0
- data/test/dummy/app/models/user.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +8 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/replyr.rb +2 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -0
- data/test/dummy/log/test.log +12557 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/email_reply_parser/email_reply_parser_test.rb +488 -0
- data/test/email_reply_parser/emails/correct_sig.txt +4 -0
- data/test/email_reply_parser/emails/email_1_1.txt +13 -0
- data/test/email_reply_parser/emails/email_1_2.txt +51 -0
- data/test/email_reply_parser/emails/email_1_3.txt +55 -0
- data/test/email_reply_parser/emails/email_1_4.txt +5 -0
- data/test/email_reply_parser/emails/email_1_5.txt +15 -0
- data/test/email_reply_parser/emails/email_1_6.txt +15 -0
- data/test/email_reply_parser/emails/email_1_7.txt +12 -0
- data/test/email_reply_parser/emails/email_1_8.txt +6 -0
- data/test/email_reply_parser/emails/email_1_9.txt +9 -0
- data/test/email_reply_parser/emails/email_2_1.txt +25 -0
- data/test/email_reply_parser/emails/email_2_2.txt +10 -0
- data/test/email_reply_parser/emails/email_2_3.txt +14 -0
- data/test/email_reply_parser/emails/email_2_4.txt +14 -0
- data/test/email_reply_parser/emails/email_2_5.txt +15 -0
- data/test/email_reply_parser/emails/email_2_6.txt +11 -0
- data/test/email_reply_parser/emails/email_2_7.txt +5 -0
- data/test/email_reply_parser/emails/email_2_7_1.txt +5 -0
- data/test/email_reply_parser/emails/email_2_7_de.txt +5 -0
- data/test/email_reply_parser/emails/email_2_8.txt +3 -0
- data/test/email_reply_parser/emails/email_2_9.txt +9 -0
- data/test/email_reply_parser/emails/email_2nd_paragraph_starting_with_on.txt +12 -0
- data/test/email_reply_parser/emails/email_BlackBerry.txt +3 -0
- data/test/email_reply_parser/emails/email_bullets.txt +22 -0
- data/test/email_reply_parser/emails/email_from_address_in_quote_header.txt +12 -0
- data/test/email_reply_parser/emails/email_from_name_in_quote_header.txt +12 -0
- data/test/email_reply_parser/emails/email_hyphens.txt +5 -0
- data/test/email_reply_parser/emails/email_iPhone.txt +3 -0
- data/test/email_reply_parser/emails/email_iPhone_de.txt +3 -0
- data/test/email_reply_parser/emails/email_iPhone_de_2.txt +3 -0
- data/test/email_reply_parser/emails/email_mentions_own_email_address.txt +6 -0
- data/test/email_reply_parser/emails/email_mentions_own_name.txt +6 -0
- data/test/email_reply_parser/emails/email_multi_word_sent_from_my_mobile_device.txt +3 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_de_mx.txt +8 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_es_mx.txt +8 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_fr.txt +8 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_from_first.txt +11 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_from_replyto_date_to_subject.txt +12 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_from_to_date_subject.txt +11 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_none.txt +11 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_pt_br.txt +8 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_with_asterisks.txt +21 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_with_cc.txt +9 -0
- data/test/email_reply_parser/emails/email_multiline_quote_header_with_multiline_headers.txt +14 -0
- data/test/email_reply_parser/emails/email_no_signature_deliminator.txt +7 -0
- data/test/email_reply_parser/emails/email_no_signature_deliminator_adds_a_middle_initial.txt +7 -0
- data/test/email_reply_parser/emails/email_one_is_not_on.txt +10 -0
- data/test/email_reply_parser/emails/email_sent_from_my_not_signature.txt +3 -0
- data/test/email_reply_parser/emails/email_was_showing_as_nothing_visible.txt +13 -0
- data/test/email_reply_parser/emails/new_content/email_1_2.txt +28 -0
- data/test/replyr/handle_reply_test.rb +46 -0
- data/test/replyr/reply_address_test.rb +77 -0
- data/test/replyr/reply_email_test.rb +19 -0
- data/test/replyr_test.rb +7 -0
- data/test/support/emails/reply_multipart.eml +35 -0
- data/test/support/emails/reply_plain.eml +11 -0
- data/test/support/emails/reply_with_attachment.eml +466 -0
- data/test/test_helper.rb +23 -0
- metadata +228 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
Hi,
|
2
|
+
On Tue, 2011-03-01 at 18:02 +0530, Abhishek Kona wrote:
|
3
|
+
> Hi folks
|
4
|
+
>
|
5
|
+
> What is the best way to clear a Riak bucket of all key, values after
|
6
|
+
> running a test?
|
7
|
+
> I am currently using the Java HTTP API.
|
8
|
+
|
9
|
+
You can list the keys for the bucket and call delete for each. Or if you
|
10
|
+
put the keys (and kept track of them in your test) you can delete them
|
11
|
+
one at a time (without incurring the cost of calling list first.)
|
12
|
+
|
13
|
+
Something like:
|
14
|
+
|
15
|
+
String bucket = "my_bucket";
|
16
|
+
BucketResponse bucketResponse = riakClient.listBucket(bucket);
|
17
|
+
RiakBucketInfo bucketInfo = bucketResponse.getBucketInfo();
|
18
|
+
|
19
|
+
for(String key : bucketInfo.getKeys()) {
|
20
|
+
riakClient.delete(bucket, key);
|
21
|
+
}
|
22
|
+
|
23
|
+
|
24
|
+
would do it.
|
25
|
+
|
26
|
+
See also
|
27
|
+
|
28
|
+
http://wiki.basho.com/REST-API.html#Bucket-operations
|
29
|
+
|
30
|
+
which says
|
31
|
+
|
32
|
+
"At the moment there is no straightforward way to delete an entire
|
33
|
+
Bucket. There is, however, an open ticket for the feature. To delete all
|
34
|
+
the keys in a bucket, you'll need to delete them all individually."
|
35
|
+
|
36
|
+
>
|
37
|
+
> -Abhishek Kona
|
38
|
+
>
|
39
|
+
>
|
40
|
+
> _______________________________________________
|
41
|
+
> riak-users mailing list
|
42
|
+
> riak-users@lists.basho.com
|
43
|
+
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
_______________________________________________
|
49
|
+
riak-users mailing list
|
50
|
+
riak-users@lists.basho.com
|
51
|
+
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
|
@@ -0,0 +1,55 @@
|
|
1
|
+
Oh thanks.
|
2
|
+
|
3
|
+
Having the function would be great.
|
4
|
+
|
5
|
+
-Abhishek Kona
|
6
|
+
|
7
|
+
On 01/03/11 7:07 PM, Russell Brown wrote:
|
8
|
+
> Hi,
|
9
|
+
> On Tue, 2011-03-01 at 18:02 +0530, Abhishek Kona wrote:
|
10
|
+
>> Hi folks
|
11
|
+
>>
|
12
|
+
>> What is the best way to clear a Riak bucket of all key, values after
|
13
|
+
>> running a test?
|
14
|
+
>> I am currently using the Java HTTP API.
|
15
|
+
> You can list the keys for the bucket and call delete for each. Or if you
|
16
|
+
> put the keys (and kept track of them in your test) you can delete them
|
17
|
+
> one at a time (without incurring the cost of calling list first.)
|
18
|
+
>
|
19
|
+
> Something like:
|
20
|
+
>
|
21
|
+
> String bucket = "my_bucket";
|
22
|
+
> BucketResponse bucketResponse = riakClient.listBucket(bucket);
|
23
|
+
> RiakBucketInfo bucketInfo = bucketResponse.getBucketInfo();
|
24
|
+
>
|
25
|
+
> for(String key : bucketInfo.getKeys()) {
|
26
|
+
> riakClient.delete(bucket, key);
|
27
|
+
> }
|
28
|
+
>
|
29
|
+
>
|
30
|
+
> would do it.
|
31
|
+
>
|
32
|
+
> See also
|
33
|
+
>
|
34
|
+
> http://wiki.basho.com/REST-API.html#Bucket-operations
|
35
|
+
>
|
36
|
+
> which says
|
37
|
+
>
|
38
|
+
> "At the moment there is no straightforward way to delete an entire
|
39
|
+
> Bucket. There is, however, an open ticket for the feature. To delete all
|
40
|
+
> the keys in a bucket, you’ll need to delete them all individually."
|
41
|
+
>
|
42
|
+
>> -Abhishek Kona
|
43
|
+
>>
|
44
|
+
>>
|
45
|
+
>> _______________________________________________
|
46
|
+
>> riak-users mailing list
|
47
|
+
>> riak-users@lists.basho.com
|
48
|
+
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
|
49
|
+
>
|
50
|
+
|
51
|
+
|
52
|
+
_______________________________________________
|
53
|
+
riak-users mailing list
|
54
|
+
riak-users@lists.basho.com
|
55
|
+
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
|
@@ -0,0 +1,15 @@
|
|
1
|
+
One: Here's what I've got.
|
2
|
+
|
3
|
+
- This would be the first bullet point that wraps to the second line
|
4
|
+
to the next
|
5
|
+
- This is the second bullet point and it doesn't wrap
|
6
|
+
- This is the third bullet point and I'm having trouble coming up with enough
|
7
|
+
to say
|
8
|
+
- This is the fourth bullet point
|
9
|
+
|
10
|
+
Two:
|
11
|
+
- Here is another bullet point
|
12
|
+
- And another one
|
13
|
+
|
14
|
+
This is a paragraph that talks about a bunch of stuff. It goes on and on
|
15
|
+
for a while.
|
@@ -0,0 +1,15 @@
|
|
1
|
+
I get proper rendering as well.
|
2
|
+
|
3
|
+
Sent from a magnificent torch of pixels
|
4
|
+
|
5
|
+
On Dec 16, 2011, at 12:47 PM, Corey Donohoe
|
6
|
+
<reply@reply.github.com>
|
7
|
+
wrote:
|
8
|
+
|
9
|
+
> Was this caching related or fixed already? I get proper rendering here.
|
10
|
+
>
|
11
|
+
> ![](https://img.skitch.com/20111216-m9munqjsy112yqap5cjee5wr6c.jpg)
|
12
|
+
>
|
13
|
+
> ---
|
14
|
+
> Reply to this email directly or view it on GitHub:
|
15
|
+
> https://github.com/github/github/issues/2278#issuecomment-3182418
|
@@ -0,0 +1,12 @@
|
|
1
|
+
:+1:
|
2
|
+
|
3
|
+
On Tue, Sep 25, 2012 at 8:59 AM, Chris Wanstrath
|
4
|
+
<notifications@github.com>wrote:
|
5
|
+
|
6
|
+
> Steps 0-2 are in prod. Gonna let them sit for a bit then start cleaning up
|
7
|
+
> the old code with 3 & 4.
|
8
|
+
>
|
9
|
+
>
|
10
|
+
> Reply to this email directly or view it on GitHub.
|
11
|
+
>
|
12
|
+
>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
Outlook with a reply
|
2
|
+
|
3
|
+
|
4
|
+
------------------------------
|
5
|
+
|
6
|
+
*From:* Google Apps Sync Team [mailto:mail-noreply@google.com]
|
7
|
+
*Sent:* Thursday, February 09, 2012 1:36 PM
|
8
|
+
*To:* jow@xxxx.com
|
9
|
+
*Subject:* Google Apps Sync was updated!
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
Dear Google Apps Sync user,
|
14
|
+
|
15
|
+
Google Apps Sync for Microsoft Outlook® was recently updated. Your computer
|
16
|
+
now has the latest version (version 2.5). This release includes bug fixes
|
17
|
+
to improve product reliability. For more information about these and other
|
18
|
+
changes, please see the help article here:
|
19
|
+
|
20
|
+
http://www.google.com/support/a/bin/answer.py?answer=153463
|
21
|
+
|
22
|
+
Sincerely,
|
23
|
+
|
24
|
+
The Google Apps Sync Team.
|
25
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
Outlook with a reply directly above line
|
2
|
+
________________________________________
|
3
|
+
From: CRM Comments [crm-comment@example.com]
|
4
|
+
Sent: Friday, 23 March 2012 5:08 p.m.
|
5
|
+
To: John S. Greene
|
6
|
+
Subject: [contact:106] John Greene
|
7
|
+
|
8
|
+
A new comment has been added to the Contact named 'John Greene':
|
9
|
+
|
10
|
+
I am replying to a comment.
|
@@ -0,0 +1,14 @@
|
|
1
|
+
This one is from Windows 8 Mail (preview).
|
2
|
+
|
3
|
+
Sent from my Windows 8 PC <http://windows.microsoft.com/consumer-preview>
|
4
|
+
|
5
|
+
*From:* Lord Nelson <bignelly@theadmiralty.com>
|
6
|
+
*Sent:* Monday, August 20, 2012 5:08:34 PM
|
7
|
+
*To:* boo@example.com
|
8
|
+
*Subject:* The Royal Navy=92s Ships are like women
|
9
|
+
|
10
|
+
|
11
|
+
My dreams are haunting with visions of lithe ships dancing over the waves,
|
12
|
+
beckoning me to lie with them.
|
13
|
+
|
14
|
+
=93MAKE IT STOP!=94
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Here's one from Outlook 2007.
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
From: bigboo@example.com [mailto:bigboo@example.com]
|
6
|
+
Sent: Monday, August 20, 2012 8:46 PM
|
7
|
+
To: lilboo@example.com
|
8
|
+
Subject: Somebody’s got the hoots
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
I am going to include some emoji here because, well, that's what people do.
|
13
|
+
|
14
|
+
“🐶”
|
@@ -0,0 +1,15 @@
|
|
1
|
+
One from Outlook 2013?
|
2
|
+
|
3
|
+
|
4
|
+
From: Gmail Team [mailto:gmail-noreply@google.com]
|
5
|
+
Sent: None
|
6
|
+
To: Mickey Bonk
|
7
|
+
Subject: Gmail is different. Here's what you need to know.
|
8
|
+
|
9
|
+
Didn't have the patience to wait for Outlook 2013 to sync my Gmail, but
|
10
|
+
above is a reply to a different message.
|
11
|
+
|
12
|
+
First off, welcome. And thanks for agreeing to help us test Gmail. By now
|
13
|
+
you probably know the key ways in which Gmail differs from traditional
|
14
|
+
webmail services. Searching instead of filing. A free gigabyte of storage.
|
15
|
+
Messages displayed in context as conversations.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
Reply from the hottest mail.
|
2
|
+
|
3
|
+
Date: Wed, 15 Aug 2012 17:46:32 -0700
|
4
|
+
From: mork@example.com
|
5
|
+
To: mindy@hotmail.com
|
6
|
+
Subject: Here's a long subject line that will likely be broken at some point
|
7
|
+
and wrap to the next line.
|
8
|
+
|
9
|
+
I'm moving into the master bedroom.
|
10
|
+
|
11
|
+
Deal with it.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
This emails tests that multiline header fix isn't catching things it shouldn't.
|
2
|
+
|
3
|
+
On friday when I tried it didn't work as expect.
|
4
|
+
|
5
|
+
This line would have been considered part of the header line.
|
6
|
+
|
7
|
+
On Wed, Apr 4, 2012 at 9:32 AM, Bob Jones <bjones@gmail.com> wrote:
|
8
|
+
> We are still very interested in achievements you’ve had from participating
|
9
|
+
> in our initiative. When you have a chance, please reply to this
|
10
|
+
> email and describe what you have done.
|
11
|
+
>
|
12
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
test 2 this should list second
|
2
|
+
|
3
|
+
and have spaces
|
4
|
+
|
5
|
+
and retain this formatting
|
6
|
+
|
7
|
+
|
8
|
+
- how about bullets
|
9
|
+
- and another
|
10
|
+
|
11
|
+
|
12
|
+
On Fri, Feb 24, 2012 at 10:19 AM, <examples@email.goalengine.com> wrote:
|
13
|
+
|
14
|
+
> Give us an example of how you applied what they learned to achieve
|
15
|
+
> something in your organization
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
--
|
21
|
+
|
22
|
+
*Joe Smith | Director, Product Management*
|
@@ -0,0 +1,12 @@
|
|
1
|
+
I have gained valuable experience from working with students from other cultures. They bring a significantly different perspective to the work we do. I have also had the opportunity to practice making myself very clear in discussion, so that everyone understands. I've also seen how different our culture is to them, in their reactions to what I think is a normal approach to assignments, and to life in general.
|
2
|
+
|
3
|
+
|
4
|
+
Date: Tue, 2 Oct 2012 02:35:10 +0000
|
5
|
+
From: john@example.com
|
6
|
+
To: shelly@example.com
|
7
|
+
Subject: Tell us what you learned.
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
Thank you for recently participating in our class. We're interested in feedback. Please reply to this email.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
I have gained valuable experience from working with students from other cultures. They bring a significantly different perspective to the work we do. I have also had the opportunity to practice making myself very clear in discussion, so that everyone understands. I've also seen how different our culture is to them, in their reactions to what I think is a normal approach to assignments, and to life in general.
|
2
|
+
|
3
|
+
|
4
|
+
Date: Tue, 2 Oct 2012 02:35:10 +0000
|
5
|
+
From: john@example.com
|
6
|
+
To: Smith, Shelly
|
7
|
+
Subject: Tell us what you learned.
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
Thank you for recently participating in our class. We're interested in feedback. Please reply to this email.
|
@@ -0,0 +1,5 @@
|
|
1
|
+
Keep in mind that while scientific meetings of large medical societies allow for researchers and doctors to gather in one place to discuss hundreds, if not thousands, of new findings, what’s often presented may not pass muster for publication in prestigious medical journals, where they first undergo rigorous peer review. Addendum --
|
2
|
+
|
3
|
+
A Danish study drawing a lot of attention, but which has not yet published in a peer-reviewed journal, suggested that common signs of aging can predict a person’s heart disease risk. The researchers analyzed data from nearly 11,000 participants over age 40 in the Copenhagen Heart Study and found that those who had three to four aging signs at the beginning of the study -- such as a receding hairline, baldness at the top of the head, creases in the earlobes, and fatty deposits around the eye -- had a 57 percent increased risk of having a heart attack and a 39 percent increased risk of being diagnosed with heart disease during the 35-year study compared with those who had none of them.
|
4
|
+
|
5
|
+
“The visible signs of aging reflect physiologic or biological age, not chronological age,” the study’s senior author, Dr. Anne Tybjaerg--Hansen at the University of Copenhagen, said in a statement on the Heart Association’s website. She went on to recommend that doctors check for these aging signs as a “routine part” of their physical exam.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
I have gained valuable experience from working with students from other cultures. They bring a significantly different perspective to the work we do. I have also had the opportunity to practice making myself very clear in discussion, so that everyone understands. I've also seen how different our culture is to them, in their reactions to what I think is a normal approach to assignments, and to life in general.
|
2
|
+
|
3
|
+
From: john@example.com
|
4
|
+
Sent: Tue, 2 Oct 2012 02:35:10 +0000
|
5
|
+
To: shelly@example.com
|
6
|
+
Subject: Tell us what you learned.
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
Thank you for recently participating in our class. We're interested in feedback. Please reply to this email.
|
data/test/email_reply_parser/emails/email_multiline_quote_header_from_replyto_date_to_subject.txt
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
Foo!
|
2
|
+
|
3
|
+
From: john@example.com
|
4
|
+
Reply-To: john@example.com
|
5
|
+
Sent: Tue, 2 Oct 2012 02:35:10 +0000
|
6
|
+
To: shelly@example.com
|
7
|
+
Subject: Tell us what you learned.
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
Thank you for recently participating in our class. We're interested in feedback. Please reply to this email.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
Outlook with a reply
|
2
|
+
|
3
|
+
*From:* Google Apps Sync Team [mailto:mail-noreply@google.com]
|
4
|
+
*Sent:* Thursday, February 09, 2012 1:36 PM
|
5
|
+
*To:* jow@xxxx.com
|
6
|
+
*Subject:* Google Apps Sync was updated!
|
7
|
+
|
8
|
+
|
9
|
+
Dear Google Apps Sync user,
|
10
|
+
|
11
|
+
Google Apps Sync for Microsoft Outlook® was recently updated. Your computer
|
12
|
+
now has the latest version (version 2.5). This release includes bug fixes
|
13
|
+
to improve product reliability. For more information about these and other
|
14
|
+
changes, please see the help article here:
|
15
|
+
|
16
|
+
http://www.google.com/support/a/bin/answer.py?answer=153463
|
17
|
+
|
18
|
+
Sincerely,
|
19
|
+
|
20
|
+
The Google Apps Sync Team.
|
21
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Foo
|
2
|
+
|
3
|
+
Subject: [ERROR] Example unavailable:
|
4
|
+
(ExampleClassName::SomeError) "Etiam dignissim imperdiet metus.
|
5
|
+
error, unexpected $duh near 't'"
|
6
|
+
Date: Fri, 01 Feb 2013 07:50:06 +0000
|
7
|
+
cc: esther@example.com
|
8
|
+
mathias@example.com
|
9
|
+
ok@example.com
|
10
|
+
From: Application Error <noreply@example.com>
|
11
|
+
Reply-To: Example <noreply@example.com>
|
12
|
+
To: alert@example.com
|
13
|
+
|
14
|
+
Thank you for recently participating in our class. We're interested in feedback. Please reply to this email.
|
@@ -0,0 +1,13 @@
|
|
1
|
+
On Friday, one achievement I had was learning a new technology that allows us
|
2
|
+
to keep UI elements and events separated from the software on the
|
3
|
+
server side, which should allow for more flexible UI code and
|
4
|
+
decreased chances of code becoming a swarm of angry hornets. I've
|
5
|
+
been transparent about the initial increased development time while
|
6
|
+
learning the technology.
|
7
|
+
|
8
|
+
On Wed, Apr 4, 2012 at 9:32 AM, Bob Jones <bjones@gmail.com> wrote:
|
9
|
+
> We are still very interested in achievements you’ve had from participating
|
10
|
+
> in our initiative. When you have a chance, please reply to this
|
11
|
+
> email and describe what you have done.
|
12
|
+
>
|
13
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
Hi,
|
2
|
+
|
3
|
+
You can list the keys for the bucket and call delete for each. Or if you
|
4
|
+
put the keys (and kept track of them in your test) you can delete them
|
5
|
+
one at a time (without incurring the cost of calling list first.)
|
6
|
+
|
7
|
+
Something like:
|
8
|
+
|
9
|
+
String bucket = "my_bucket";
|
10
|
+
BucketResponse bucketResponse = riakClient.listBucket(bucket);
|
11
|
+
RiakBucketInfo bucketInfo = bucketResponse.getBucketInfo();
|
12
|
+
|
13
|
+
for(String key : bucketInfo.getKeys()) {
|
14
|
+
riakClient.delete(bucket, key);
|
15
|
+
}
|
16
|
+
|
17
|
+
|
18
|
+
would do it.
|
19
|
+
|
20
|
+
See also
|
21
|
+
|
22
|
+
http://wiki.basho.com/REST-API.html#Bucket-operations
|
23
|
+
|
24
|
+
which says
|
25
|
+
|
26
|
+
"At the moment there is no straightforward way to delete an entire
|
27
|
+
Bucket. There is, however, an open ticket for the feature. To delete all
|
28
|
+
the keys in a bucket, you'll need to delete them all individually."
|