• 2013-04-02

    Tovi – The JavaScript image gallery and HTML slider

    Views: 7698 | No Comments

    + Features

    Images and HTML code snippets

    Both images and images and HTML code snippets can be played.

    Dynamic image sizing

    Center and resize images on the fly to suit the slider’s size, regardless of the image source. Images can be scaled by mouse wheel and trackpad, and can be dragged to place at any position of the slider window.

    Swipe and mouse drag to navigate

    Slides can be navigated by trackpad swipe or mouse drag and drop, just like iPhone panel.

    Continue reading »

    Posted by ideawu at 2013-04-02 22:09:02
  • 2013-03-01

    TextMate disable auto matching parentheses, braces, quotes

    Views: 9620 | No Comments

    TextMate is a great text editor, by default, it has a Auto Matching(Auto-Paired Characters) feature, that TextMate will automatically insert ), }, ", ' when you type in (, }, ", '. Someone may not like this feature, here is a way to disable TextMate’s Auto Matching parentheses, braces, quotes.

    Open Bundle Editor [Bundles -> Edit Bundles]
    Create a new bundle. [Command-N, select bundle]
    Create a new setting in that bundle. [Command-N, select setting]
    Set the Scope Selector to *, that matches everywhere.
    Set the smart typing pairs to an empty list. [Paste the below snippet into textview]

         smartTypingPairs = ();

    Save [Command-S]

    Copy from: http://pastie.org/private/cq4osggyikwtd2jy68ya

    Posted by ideawu at 2013-03-01 11:10:02
  • 2013-02-21

    Mac lock screen shortcut

    Views: 7027 | No Comments

    On a Windows PC, we use Windows + L keyboard shortcut to lock screen, but what is the shortcut on Mac OS to lock screen(desktop)?

    Write a script? Create a service? Keychain… all nonsense!

    The Mac lock screen shortcut is: CTRL + SHIFT + Power(Eject)!

    Posted by ideawu at 2013-02-21 22:49:05
  • 2013-01-28

    Connect to SSDB server with telnet

    Views: 9796 | 2 Comments

    SSDB’s network protocol is very simple, you can connect to a SSDB server with telnet and interact with commands:

    $ telnet 8888
    Connected to
    Escape character is '^]'.
    Posted by ideawu at 2013-01-28 12:20:29 Tags:
  • 2013-01-23

    SSDB Java client is released

    Views: 6821 | No Comments

    SSDB Java client is released since version 1.2.5, here’s a simple example:

    SSDB ssdb = new SSDB("", 8888);
    ssdb.set("a", "123");
    byte[] val = ssdb.get("a");

    The SSDB Java client API doc: http://www.ideawu.com/ssdb/java-doc/

    Posted by ideawu at 2013-01-23 22:48:30 Tags:
|<<<8910111213141516>>>| 12/19 Pages, 91 Results.