Recent Notes

Displaying notes 101 - 110
Created by nogeek on November 17, 2011 14:30:28    Last update: November 17, 2011 14:30:28
CATALINA_HOME is the root directory where Tomcat is installed. CATALINA_BASE is the same as CATALINA_HOME for single instance Tomcat configuration. For multiple instance configurations CATALINA_BASE is the root of that instance. The startup script prints out the values of CATALINA_HOME and CATALINA_BASE at startup: Using CATALINA_BASE: "C:\Apps\tomcat-7.0.22" ...
Created by magnum on November 17, 2011 08:54:48    Last update: November 17, 2011 08:54:48
I always used two steps to extract a gzip tar file: gzip -d somefile.tar.gz tar -xvf somefile.tar Today I learned to do that in one step: tar -zxvf somefile.tar.gz
Created by nogeek on November 16, 2011 20:47:33    Last update: November 16, 2011 20:47:33
VMWare Tools must be installed in the guest OS for shared folders to work. Configure the shared folder: Virtual Machine -> Virtual Machine Settings -> Options -> Shared Folders . Click the Add button to add a share. The share maps a host path to a name in the guest. If the guest system is Linux, the shared folder is available under /mnt/hgfs . If the guest system is Windows, the shared folder is available as \\.host\Shared Folders\<share_name>
Created by James on September 23, 2010 20:30:55    Last update: November 16, 2011 14:51:23
jQuery button set where one button can be pressed "down" at a time. <!DOCTYPE html> <html> <head> <title>jQu...
Created by RSM on November 16, 2011 12:50:29    Last update: November 16, 2011 12:50:29
Nov 15 15:03:51 reality modem-manager[835]: <info> ModemManager (version 0.4) starting... Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin AnyData Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin Option Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin X22X Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin Nokia Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin ZTE Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin Linktop Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin Generic Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin Sierra Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin Option High-Speed Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin Ericsson MBM Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin Huawei Nov 15 15:03:51 reality modem-manager[835]: <info> Loaded plugin SimTech Nov 15 15:03:51 reality modem-manager[835]:...
Created by voodoo on July 14, 2010 23:37:46    Last update: November 16, 2011 12:00:33
Run gpedit.msc Find Administrative Templates -> Windows Components -> Terminal Services -> Limit Maximum color depth. Right click on "Limit maximum color depth", click "Properties", then select "Client Compatible". Update: for Windows 7 the color depth policy was moved to Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment
Created by nogeek on November 16, 2011 10:16:15    Last update: November 16, 2011 10:16:15
Bring up the Control Panel system page (shortcut: Win+Pause, Win+Fn+Insert/Pause for laptop): Click "Remote settings" on the left Check "Remote Desktop" -> "Allow connection..."
Created by Fang on November 14, 2011 20:14:35    Last update: November 14, 2011 20:14:35
Using the c:forEach tag in JSF: <c:forEach var="person" value="#{myBean.people}"> ... failed with OutOfMemoryError : java.lang.OutOfMemoryError: Java heap space at... The problem? The c:forEach tag gets the iteration collection from the item attribute, not the value attribute (as ui:repeat does). But still, OutOfMemoryError for using a wrong attribute is gross!
Created by Fang on November 14, 2011 11:01:55    Last update: November 14, 2011 11:01:55
This is the best in my opinion: http://search.maven.org/ . It is not the first result by Google search, but I hope it will be there soon. Others are confusing...
Created by balu on November 14, 2011 10:47:22    Last update: November 14, 2011 10:47:22
I found this a good source to search for open source Java source code: http://www.docjar.com/
Previous  6 7 8 9 10 11 12 13 14 15 Next