127.0.0.1:6379> HINCRBY cart:12345 item:4321 1
(integer) 1
127.0.0.1:6379> HINCRBY cart:12345 item:4321 1
(integer) 2
127.0.0.1:6379> HINCRBY cart:12345 item:4345 1
(integer) 1
127.0.0.1:6379> HINCRBY cart:12345 item:4345 1
(integer) 2
127.0.0.1:6379> HINCRBY cart:12345 item:3456 1
(integer) 1
127.0.0.1:6379> HINCRBY cart:12345 item:4321 1
(integer) 3
127.0.0.1:6379> HGETALL cart:12345
1) "item:4321"
2) "3"
3) "item:4345"
4) "2"
5) "item:3456"
6) "1"
127.0.0.1:6379> HINCRBY cart:12345 item:4321 4
(integer) 7
127.0.0.1:6379> HGETALL cart:12345
1) "item:4321"
2) "7"
3) "item:4345"
4) "2"
5) "item:3456"
6) "1"
127.0.0.1:6379>
127.0.0.1:6379> SADD doc:1234 "uid:1234"
(integer) 1
127.0.0.1:6379> SADD doc:1234 "uid:1235"
(integer) 1
127.0.0.1:6379> SADD doc:1234 "uid:1237"
(integer) 1
127.0.0.1:6379> SMEMBERS doc:1234
1) "uid:1237"
2) "uid:1235"
3) "uid:1234"
127.0.0.1:6379>
127.0.0.1:6379> EXPIRE doc:1234 1036800
(integer) 1
127.0.0.1:6379> ttl doc:1234
(integer) 1036789
127.0.0.1:6379> ttl doc:1234
(integer) 1036786
127.0.0.1:6379> ttl doc:1234
(integer) 1036784
127.0.0.1:6379>
$ java org.apache.derby.tools.ij
ij> connect 'jdbc:derby:MyDbTest';
$('#lightSlider').lightSlider({
gallery: true,
item: 1,
loop: true,
slideMargin: 0,
thumbItem: 9
});
$('#lightSlider img').click(function(){
$('#fullimage').html("<img src='"+$(this).attr("src")+"'>").show();
$("#myslider").hide();
});
$('#fullimage').click(function(){
$("#myslider").show();
$(this).hide();
});
$response = $redisClient -> get('filmID:714888');
if($response == FALSE) {
....
$response = curl_exec($ch);
$redisObj->setex('filmID:714888', 900, $response);
curl_close($ch);
}
$querys = json_decode($response);
.....