• 2014-12-18

    iOS RSA encrypt with public key

    Views: 3685 | No Comments

    See this post:

    Posted by ideawu at 2014-12-18 22:11:50
  • 2014-12-18

    Get SecKeyRef from RSA public key string in iOS and Cocoa

    Views: 4036 | No Comments

    See this post:

    Posted by ideawu at 22:11:22
  • 2014-12-12

    Pure JavaScript Swipe Event Plugin for PC and Mobile Web

    Views: 9194 | No Comments

    I tried many JavaScript Swipe event plugins, such as the jQuery mobile swipe plugin, and the jQuery.event.swipe by stephband, and many others. Unfortunately, none of them works for me. Many weakness of those code that I made decision not using them:

    The demos provided are so poor, they are not interesting.

    The swipe event is fired only after the touch ends(your finger lift off the screen, or release the mouse button), so your event handler is so delayed to the user, that’s why the UI is not smooth. There must be move events before the swipe event fires.

    Treats swipe event as a serial of move events. In this way, you provide only one event handler just like you provide for Mac’s trackpad scroll events. The Mac trackpad hardware driver gurantees to generate smooth small scroll events.

    So, with my JavaScript swipe event plugin, your code would be as simple as:

    guesture.onmove = function(e){
    	layer.x += e.dx;
    	layer.y += e.dy;

    Check out the exciting demo online! With PC chrome browser, or with your iPhone Safari, it is PC and Mobile compatible.

    Posted by ideawu at 2014-12-12 16:55:56 Tags:
  • 2014-10-25


    Views: 8562 | 1 Comment

    • New features:
      • export(ssdb-cli) command supports -i(interactive) option(2014-10-16)
      • ssdb-cli performance improved(2014-10-11)
      • Add export, import commands in ssdb-cli(2014-10-11)
      • Add qtrim_front, qtrim_back commands(2014-10-11)
      • ssdb-dump support auth(2014-10-10)
      • Add max_open_files config, default is 100(2014-10-08)
      • Add auth command(2014-09-20)
      • Enable qpop multi elements at a time(2014-09-16)
    • Incompatible changes:
      • Rewrite hexmem, this affects log messages(2014-10-10)

    SSDB official website: http://ssdb.io/

    Posted by ideawu at 2014-10-25 23:44:22
  • 2014-06-30

    SSDB working with Twemproxy

    Views: 17766 | No Comments

    Twemproxy is a fast and lightweight proxy for memcached and redis protocol, developped by twitter. It was primarily built to reduce the connection count on the backend caching servers. You can use twemproxy + Redis for load balance, hight availability, etc.

    SSDB database supports Redis protocol, so you can use Twemproxy + SSDB as Twemproxy + Redis, or even Twemproxy + SSDB + Redis.

    Twemproxy + SSDB are already work online for production environment.

    Twemproxy: https://github.com/twitter/twemproxy

    Posted by ideawu at 2014-06-30 15:11:38 Tags: ,
|<<<123456789>>>| 4/19 Pages, 91 Results.