Install TideSDK on Windows 7/Ubuntu/Mac OS X

What's TideSDK? TideSDK is the new standard for creating beautiful and unique desktop apps using your web development skills. You can build muti-platform desktop applications with HTML5, CSS3 and JavaScript in TideSDK. TideSDK can support Python, Ruby and PHP now. Download TideSDK and other software 1. TideSDK 1.3.1 Beta 2. TideSDK Developer 1.4.2 Install TideSDK 1. Extract TideSDK 1.3.1 to Windows 7/8/8.1: C:\ProgramData\TideSDK Windows XP: C:\Documents and Settings\All Users\Application Data\TideSDK Ubuntu: ~/.tidesdk Mac OS X: ~/Library/Application\ Support/TideSDK 2. Install TideSDK Developer 1.4.2 Start Using TideSDK with Hello World 1. Download the Hello World demo from the official website. 2. Import the project and build it. What's more? If you got this error message on Ubuntu: Missing libjpeg.so.62, Please try to install libjpeg62-dev.

Continue Reading

Install Microsoft’s Consolas Font on Mac OS X

With the introduction of Windows Vista and Office 2007 Microsoft included some new fonts, which became the defaults in Office. Their names all start with ‘C’ and they are quite attractive. In particular there is a monospaced font called Consolas that is nice to use as a text editor font and Terminal font. The problem is they aren’t technically free, although Microsoft does include them in a number of freely available updaters. What follows is how I went about installing the fonts on my Mac. Installation Download the Open XML File Format Converter for Mac. Double click the disk image if it wasn’t automatically mounted. You will see an Open XML File Format Converter meta package (.mpkg). Right click (or Control-click) the…

Continue Reading

Reset password of Windows 7 in Parallels Desktop

Please do as following steps: 1. Start your virtual machine. Then open terminal application(Finder > Applications > Utilities > Terminal) 2. Copy the following command, past it into Terminal window and press Return:     prlctl list --all     The output should look like the following:         UUID STATUS IP_ADDR NAME         {3e21f02b-9d52-4ebe-a079-675dc822d723} running - Windows 7 3. Copy the following, past it into Terminal window and add space, and copy the UUID from the output of the previous command (e21f02b-9d52-4ebe-a079-675dc822d723 in the example) and past it at the end of the "prlctl set" command (do not forget that there should be a space between "set" and UUID number), then add space, type the following and add…

Continue Reading

How To Convert Byte[] Array To String In Java

In some cases, we have to convert String variable into a Byte array format, for example, JCE encryption. However how do we convert a Byte[] array to String afterward? Simple toString() function like following code is not working property. It will not display the original text but byte value. In order to convert Byte array into String format correctly, we have to explicitly create a String object and assign the Byte array to it. And here's a sample code: Output

Continue Reading

How to Whitelist a Sender or Domain in Gmail

Sure, Gmail's spam filter is mighty and good. When you visit the Spam view, all you see is junk. All the mail you want to receive arrives in time. What, though, if you want to be sure — sure that messages from your peers, your friends or your family never end marked as spam by Gmail? That security is in a filter that's simple, effective and set up easily. Whitelist a Sender or Domain in Gmail To make sure Gmail never filters as spam mail from a certain contact or domain: Click the Show search options downward-pointing triangle in your Gmail's main search field. Type the desired email address under From. To whitelist an entire domain (all mail from an address ending in "infinitescript.com", for example),…

Continue Reading

Building Vim from Source

Compiling Vim from source is actually not that difficult. Here's what you should do: Install all the prerequisite libraries Remove vim if you have it already Compile source code Download source code You can get source code here: http://www.vim.org/sources.php Set Configuration Install Vim If you don't get gvim working (on ubuntu 12.04 LTS), try changing --enable-gui=gtk2 to --enable-gui=gnome2 These configure and make calls assume a Debian-like distro where Vim's runtime files directory is placed in /usr/share/vim/vim74/, which is not Vim's default. Same thing goes for --prefix=/usr in the configure call. Those values may need to be different with a Linux distro that is not based on Debian. In such a case, try to remove the --prefix variable in the configure call and the VIMRUNTIMEDIR in the make call (in other words, go with the defaults). Besides, if you can't use backspace…

Continue Reading
Contact Us
  • SenseTime Research, Shenzhen Bay Eco-Technology Park
  • cshzxie [at] gmail [dot] com