Recent Notes
Displaying keyword search results 1 - 10
Created by James on April 24, 2012 14:01:39
Last update: April 24, 2012 14:01:39
This is the Mathias Bynens placeholder plugin with several bug fixes of my own.
/*! http://mths.be/placeholder v2.0.7 by @mathias ...
Created by woolf on February 17, 2012 13:08:52
Last update: February 17, 2012 13:08:52
The steps:
Click File , then Info
Click M anage Rules & Alerts
Click New Rule in Rules and Alerts
To block a sender, select "Move messages from someone to a folder"
Created by voodoo on February 17, 2012 10:40:43
Last update: February 17, 2012 10:40:43
When a certificate is "untrusted" by IE (such as a self-signed certificate), it displays a "Certificate error" icon next to the address bar. It used to be that you can click on that icon, "View certificates", then install it.
On Windows 7, because of UAC , the "Install Certificate..." button is no longer displayed. In order to see the button, you have to start IE9 with administrator privileges: right click on the IE9 shortcut icon and select " Run as administrator... ".
To save the certificate to a file, click the Details tab on the Certificate dialog, then click " Copy to File... ".
Created by meiu on February 09, 2012 09:55:26
Last update: February 09, 2012 09:55:26
In the package explorer pane:
Right click on the folder
Move mouse to Build Path
Select Use as Source Folder
To revert a source folder selection: mouse over Build Path and select Remove from Build Path .
Created by Dr. Xi on February 06, 2012 12:14:11
Last update: February 07, 2012 15:39:35
Oracle sqlplus command line tools does not support command line editing out-of-the-box. But on Linux there's a handy utility that enables command line editing with any command line tool: rlwrap - readline wrapper.
Install rlwrap:
$ sudo apt-get install rlwrap
Create a keywords file .sql.dict (optional, but convenient):
false null true
access add as asc begin by chec...
It would be nice to add the tables names also.
Create an alias for sqlplus (put it in .bashrc ):
alias sqlplus='rlwrap -f $HOME/.sql.dict sqlplus'
Created by James on February 02, 2012 09:20:22
Last update: February 02, 2012 09:20:22
This example came from the jQuery validation documentation. The required rule can be used to validate a required selection box when you set the value of the first option to empty.
<!DOCTYPE HTML>
<html>
<head>
<scrip...
The error message is the title since no error message is specified. A more fully defined validation check would look like this:
$('#my-form').validate({
errorElement: "p",
...
Created by James on January 26, 2012 14:26:23
Last update: January 26, 2012 14:26:23
To get the value:
$('#idOfTheSelectDropdown :selected').val();
To get the text:
$('#idOfTheSelectDropdown :selected').text()
Created by zhidao on January 02, 2012 15:17:43
Last update: January 03, 2012 07:18:15
SCIM is needed to input Chinese in Ubuntu.
Install the needed packages:
$ sudo apt-get install scim-qtimm im-switch scim-p...
Goto "System Settings": click the "gear" icon at top right corner and select "System Settings..."
Click "Language Support"
Select scim for "Keyboard input method system"
Log out and log back in.
Switch between input methods with CTRL+Space
A list of available input methods is available from: http://www.scim-im.org/projects/imengines
Created by James on November 27, 2011 12:43:24
Last update: November 27, 2011 12:59:01
An easy to digest stylesheet example for XSLT for Atom. Simply list entry titles and summary:
<?xml version="1.0" encoding="utf-8"?>
<xsl:sty...
To show the first 3 items in atom feed:
<?xml version="1.0" encoding="utf-8"?>
<xsl:sty...
Created by James on November 23, 2011 13:57:51
Last update: November 23, 2011 13:57:51
An easy to digest stylesheet example for XSLT for RSS. Simply list item titles descriptions:
<?xml version="1.0" encoding="utf-8"?>
<xsl:sty...
URL for Google news feed: http://news.google.com/news?ned=us&topic=h&output=rss