Skip to content

Instantly share code, notes, and snippets.

alphazero[1]:~$ cd Code/
alphazero[2]:Code$ mkdir temp
alphazero[3]:temp$ git clone git://github.com/alphazero/jredis.git
Initialized empty Git repository in /Users/alphazero/Code/temp/jredis/.git/
remote: Counting objects: 3383, done.
remote: Compressing objects: 100% (944/944), done.
remote: Total 3383 (delta 1678), reused 2882 (delta 1341)
Receiving objects: 100% (3383/3383), 4.09 MiB | 1142 KiB/s, done.
Resolving deltas: 100% (1678/1678), done.
alphazero[4]:temp$ cd jredis/
alphazero[252]:redis-1.2.5$ ./redis-server ./redis.conf
26 Mar 06:53:02 - Server started, Redis version 1.2.5
26 Mar 06:53:02 - DB loaded from disk
26 Mar 06:53:02 - The server is now ready to accept connections on port 6379
26 Mar 06:53:02 . DB 10: 1 keys (0 volatile) in 4 slots HT.
26 Mar 06:53:02 . 0 clients connected (0 slaves), 294976 bytes in use, 0 shared objects
...
alphazero[22]:jredis$ git branch
* 1.2.n
master
alphazero[23]:jredis$ mvn test
...
...
...
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
/* -- BEGIN NOTICE --
*
* This class uses in parts extant and/or modified code from net.spy.memcached.HashAlgorithm
* by Dustin Sallings. See this module's 3rd party license folder for license details.
*
* -- END NOTICE --
*
* Copyright 2009-2010 Joubin Houshyar
*
* Licensed under the Apache License, Version 2.0 (the "License");
/*
* Copyright 2009 Joubin Houshyar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/*
* Copyright 2009 Joubin Houshyar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/*
* Copyright 2009-2010 Joubin Houshyar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/*
* Copyright 2010 Joubin Houshyar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/*
* Copyright 2010 Joubin Houshyar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
/*
* Copyright 2010 Joubin Houshyar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software