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
;; MELPA setup from | |
;; http://melpa.org/#/getting-started | |
(require 'package) ;; You might already have this line | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.org/packages/") t) | |
(when (< emacs-major-version 24) | |
;; For important compatibility libraries like cl-lib | |
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) | |
(package-initialize) ;; You might already have this line |
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
{ "inputs" : "customers" , | |
"query" : [{"reduce" : {"language" : "javascript", | |
"source" : "function(values, arg) { return [values.reduce( function(acc, value) { return [acc + 1];}, 0)]; }", | |
"keep" : true}}], | |
"timeout" : 900000} |
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,1,1,{"not_found":{"bucket":"customers","key":"user32","keydata":"undefined"}},{"not_found":{"bucket":"customers","key":"user87","keydata":"undefined"}},1,1,{"not_found":{"bucket":"customers","key":"user61","keydata":"undefined"}},1,1,1,{"not_found":{"bucket":"customers","key":"user85","keydata":"undefined"}},1,1,{"not_found":{"bucket":"customers","key":"user27","keydata":"undefined"}},{"not_found":{"bucket":"customers","key":"user66","keydata":"undefined"}},{"not_found":{"bucket":"customers","key":"user23","keydata":"undefined"}},{"not_found":{"bucket":"customers","key":"user78","keydata":"undefined"}},1,1,{"not_found":{"bucket":"customers","key":"user25","keydata":"undefined"}},1,{"not_found":{"bucket":"customers","key":"user6","keydata":"undefined"}},{"not_found":{"bucket":"customers","key":"user28","keydata":"undefined"}},{"not_found":{"bucket":"customers","key":"user90","keydata":"undefined"}},1,1,1,1,1,{"not_found":{"bucket":"customers","key":"user13","keydata":"undefined"}},{"not_found":{"bucket":"cu |
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
{ "inputs" : "customers" , | |
"query" : [{"map" : {"language" : "javascript", | |
"source" : "function(values, keyData, arg) { return [1]; }", | |
"keep" : false}}, | |
{"reduce" : {"language" : "javascript", | |
"source" : "Riak.reduceSum", | |
"keep" : true }}], | |
"timeout" : 900000} |
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
=ERROR REPORT==== 14-Feb-2011::00:54:34 === | |
** Generic server etorrent_fast_resume terminating | |
** Last message in was persist | |
** When Server state == {state} | |
** Reason for termination == | |
** {{badmatch,{error,eaccess}}, | |
[{etorrent_fast_resume,persist_to_disk,0}, | |
{etorrent_fast_resume,handle_info,2}, | |
{gen_server,handle_msg,5}, | |
{proc_lib,init_p_do_apply,3}]} |
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
/* test.c - Playing around with snappy by mulander <netprobe@gmail.com> | |
* | |
* The purpose of this snippet is just to try the snappy C bindings and get the hang of the API | |
* place in the snappy-1.0.2 directory and compile with: | |
* | |
* gcc -o t test.c -lstdc++ -I./ ./snappy-c.o ./snappy.o ./snappy-stubs-internal.o ./snappy-sinksource.o | |
* | |
* if you have a system wide snappy installation you can use (tested on a system with ld.so.cache) | |
* | |
* gcc -o tc test-sys.c -lsnappy |
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/configure.ac b/configure.ac | |
index b160366..6aa0ce3 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -78,6 +78,9 @@ fi | |
AC_ARG_WITH(included-popt, | |
AC_HELP_STRING([--with-included-popt], [use bundled popt library, not from system])) | |
+AC_ARG_WITH(snappy-compress, | |
+ AC_HELP_STRING([--with-snappy-compress], [http://code.google.com/p/snappy/ faster than zlib but worse compression])) |
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/options.c b/options.c | |
index a8c5b49..228cdf8 100644 | |
--- a/options.c | |
+++ b/options.c | |
@@ -75,6 +75,7 @@ int protocol_version = PROTOCOL_VERSION; | |
int sparse_files = 0; | |
int preallocate_files = 0; | |
int do_compression = 0; | |
+int do_snappy_compression = 0; | |
int def_compress_level = Z_DEFAULT_COMPRESSION; |
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/rsync.h b/rsync.h | |
index 84d1287..d279945 100644 | |
--- a/rsync.h | |
+++ b/rsync.h | |
@@ -665,6 +665,10 @@ struct ht_int64_node { | |
#define ACLS_NEED_MASK 1 | |
#endif | |
+#if defined HAVE_SNAPPY_C && defined SUPPORT_SNAPPY_COMPRESSION | |
+#include <snappy-c.h> |
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
* Task 1 | |
CLOCK: [2011-05-30 Pn 21:15]--[2011-05-30 Pn 22:15] => 1:00 | |
CLOCK: [2011-05-30 Pn 21:15]--[2011-05-31 Wt 00:15] => 3:00 | |
:PROPERTIES: | |
:ORDERED: t | |
:END: | |
** Sub-task 1 | |
CLOCK: [2011-05-30 Pn 21:15]--[2011-05-30 Pn 21:25] => 0:10 | |
** Sub-task 2 | |
CLOCK: [2011-05-30 Pn 21:15]--[2011-05-30 Pn 21:30] => 0:15 |
OlderNewer