tag:blogger.com,1999:blog-273994042024-02-19T09:03:13.389-06:00Jimbo's LinksUseful links. Java, Javascript, Eclipse, and Linux links.Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.comBlogger64125tag:blogger.com,1999:blog-27399404.post-15949414708441743852014-07-22T07:29:00.002-05:002014-07-22T09:49:19.077-05:00Create Google Drive new document or spreadsheet in an existing drive folder<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">I have been searching for a way to create a new google document in an existing folder for some time now. I typically use a shortcut on my browser bar to create a new </span><a href="https://docs.google.com/" style="text-decoration: none;"><span style="background-color: transparent; color: #1155cc; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">Google document</span></a><span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">, the only problem is that it gets created at the root of my drive folder, then I must immediately change the folder location for the document to be in the correct folder.</span></div>
<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">After doing some more research today I was able to find a way to make this work. Using the option folder=<drive folder="" name=""> in the URL is the answer. The only issue is that the drive folder name is not the name that you gave it when you created it, it is a big long string of characters that you must find. </drive></span></div>
<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">When in </span><a href="https://drive.google.com/" style="text-decoration: none;"><span style="background-color: transparent; color: #1155cc; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">Google Drive</span></a><span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> go to the folder you want to create a new document under. Then in the URL for that folder grab the string after the &folder= portion of the URL, this is the Google Drive folder name that you must use in the new URL that you will create.</span></div>
<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Once you have the new string build the URLs that you need to create a new document based on the templates below:</span></div>
<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: #1155cc; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">https://docs.google.com/document/create?hl=en&folder=</span><span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b>Google Drive Folder Name</b></span></div>
<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">https://docs.google.com/spreadsheets/create?folder=</span><span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b>Google Drive Folder Name</b></span></div>
<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">https://docs.google.com/presentation/create?hl=en&folder=</span><span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b>Google Drive Folder Name</b></span></div>
<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">https://docs.google.com/drawings/create?hl=en&folder=</span><span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b>Google Drive Folder Name</b></span></div>
<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Replace </span><span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b>Google Drive Folder Name</b></span><span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> with the string found in the previous step. </span></div>
<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">An example </span><a href="https://drive.google.com/" style="text-decoration: none;"><span style="background-color: transparent; color: #1155cc; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">Google Drive</span></a><span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> folder string is below. Make sure to find the folder name after the last forward slash in the string, that will be the Drive folder you want.</span></div>
<div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">0B-VdA6SYAYt1kMGZmNDg3Mi00NWI0LWFjNjctNzRlZkYjB</span></div>
<span id="docs-internal-guid-02bd956e-5e0a-33bf-ca3c-5820717c83af"><br /></span>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com1tag:blogger.com,1999:blog-27399404.post-40854623494716261572013-06-17T19:31:00.001-05:002013-06-17T19:31:16.589-05:00OSX Installer to PL2303 Serial-USB on OSX Lion - For programming Baofeng radios<div>
<span id="docs-internal-guid-7a18608c-54af-9446-bbed-c7a1ba0cf60e"><div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">While trying to get the programming cable for my </span><a href="http://www.amazon.com/gp/product/B007UMQUPA/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B007UMQUPA&linkCode=as2&tag=hattipandtrif-20" style="text-decoration: none;"><span style="color: #1155cc; font-family: Calibri; font-size: 15px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">Baofeng UV-3R+ </span></a><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">I found the site below. I tried the </span><a href="http://prolificusa.com/pl-2303hx-drivers/" style="text-decoration: none;"><span style="color: #1155cc; font-family: Calibri; font-size: 15px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">Prolific drivers</span></a><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">, but they did not work properly on my system. I also tried several other drives with no success. The odd thing is that I could see the driver detecting the device from System Information:</span><img height="308px;" src="https://lh6.googleusercontent.com/z6YXyQuzS0xKK_iz22eXSncEYpmrVXvi4RLPfBayjI-CJy9oWBT_suP01KkznOi3uqfFEVlWu9MVo9nOg-KwpzwXakiMXaukyYSLiiC_YS91IC24COQcbkdu" width="427px;" /><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 11pt; margin-right: 11pt; margin-top: 0pt;">
<span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 11pt; margin-right: 11pt; margin-top: 0pt;">
<span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Once the drivers were installed and the system rebooted I was able to see the serial device under networking settings:</span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 11pt; margin-right: 11pt; margin-top: 0pt;">
<span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br class="kix-line-break" /></span><img height="376px;" src="https://lh4.googleusercontent.com/5xdbD04c2mfpaO737_VEKQw4zHmb0e91zAFkHNitH6Z2d6_7csP1gfoYU8xywz6KqgHcxoM-iyvaaiQM5lUz3RcaK_Xl9YavR4E47JvLbz4LI6x3XfHw4P4f" width="627px;" /><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 11pt; margin-right: 11pt; margin-top: 0pt;">
<span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
<div dir="ltr" style="line-height: 1.15; margin-bottom: 11pt; margin-right: 11pt; margin-top: 0pt;">
<span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Now </span><a href="http://chirp.danplanet.com/projects/chirp/wiki/Home" style="text-decoration: none;"><span style="color: #1155cc; font-family: Calibri; font-size: 15px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">CHIRP</span></a><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"> is happy and able to detect the serial port where my radio is located:</span><img height="423px;" src="https://lh5.googleusercontent.com/tPChHjMV92vsQGaUGfv-B5iMwUbomYeRXe_BFft4kxEgNLtWjsMdG4qTbArcWhRTzFWyjx_5_cEu9WFxqi7lM7lmSPHyftEf0d2qvtXnhLffcounwkKR4Aco" width="485px;" /><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"><br class="kix-line-break" /></span></div>
<br /><a href="https://dl.dropboxusercontent.com/u/813317/PL2303_Serial-USB_on_OSX_Lion.pkg" style="text-decoration: none;"><span style="color: #1155cc; font-family: Calibri; font-size: 15px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"></span></a><br /><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.15; margin-bottom: 11pt; margin-right: 11pt; margin-top: 0pt;">
<a href="http://changux.co/osx-installer-to-pl2303-serial-usb-on-osx-lio/" style="text-decoration: none;"><span style="color: #1155cc; font-family: Calibri; font-size: 15px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">Web link to page with the drivers PL-2303</span></a><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"> </span></div>
<br /><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span><div dir="ltr" style="line-height: 1.1500000000000001; margin-bottom: 10pt; margin-top: 0pt;">
<a href="https://dl.dropboxusercontent.com/u/813317/PL2303_Serial-USB_on_OSX_Lion.pkg" style="text-decoration: none;"><span style="color: #1155cc; font-family: Calibri; font-size: 15px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">Direct link to PL2303 OSX Lion Driver</span></a></div>
<br /><a href="https://dl.dropboxusercontent.com/u/813317/PL2303_Serial-USB_on_OSX_Lion.pkg" style="text-decoration: none;"><span style="color: #1155cc; font-family: Calibri; font-size: 15px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"></span></a><br /><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"></span></span></div>
Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-26744593225910526992011-11-03T10:17:00.000-05:002011-11-03T10:17:33.458-05:00How to stop Datanucleus Enhancer Console Output from stealing focus in Eclipse<br />
<div style="background-color: transparent;">
<span id="internal-source-marker_0.9028176961001009" style="background-color: transparent; color: #17365d; font-family: 'Times New Roman'; font-size: 26pt; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">How to stop Datanucleus Enhancer Console Output from stealing focus in Eclipse</span><br /><hr />
<span style="background-color: transparent; color: #17365d; font-size: 26pt; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><span style="background-color: transparent; font-size: 12pt; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">You might find that when using the Datanucleus Enhancer that every time you make a change to your project that requires a build to occur that the Datanucleus Enhancer will run. When this happens Eclipse will change focus to the console window (which can be annoying if you already have another tab selected like ‘Development Mode’).</span></span><img height="55px;" src="https://lh3.googleusercontent.com/JiUvOjuQVv5Mjehy4fl_Arp-F1u-D89c6cKZ9CVNL-nVmkwJ-2qMLBTmSmmF59f9Uu-3crwv4-hp1TcSiwXOtdK9RBsX7JCnIJcQO56OIKH2-_HvqSU" width="576px;" /><br /><h1 dir="ltr">
<span style="background-color: transparent; color: #345a8a; font-size: 16pt; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">To change this setting you only need to go into Eclipse Preferences and make a couple of changes.</span></span></h1>
<h2 dir="ltr">
<span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span style="background-color: transparent; color: #4f81bd; font-size: 13pt; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Open Eclipse Preferences and search for ‘Console’:</span><img height="317px;" src="https://lh6.googleusercontent.com/gJMQyN4aBXvDPAKKMg7lPlPql1MkCiDa3i-dLRkCUSHs8tFDAfeK-J-vzhJOM2QHcm06JEFEkbRI7-Ik3CHF4JqCJeT9fGsCOoqtVfrWBs3b2tn9874" width="576px;" /></span></h2>
<span style="background-color: transparent; font-size: 12pt; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">Uncheck the option ‘Show when program writes to standard out’. You can also choose to not allow the Eclipse console from stealing focus when errors are written to the console by unchecking the ‘Show when program writes to standard error’ if you choose.</span></span></div>
<div style="background-color: transparent;">
<span style="background-color: transparent; font-size: 12pt; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br /></span></span></div>
<div style="background-color: transparent;">
<span style="background-color: transparent; font-size: 12pt; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">References:</span></span></div>
<div style="background-color: transparent;">
<span style="background-color: transparent; vertical-align: baseline; white-space: pre-wrap;"><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=108597"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">Bug 108597 - Console view keeps stealing the focus</span></a></span></div>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-70698695987431795342011-09-01T08:44:00.000-05:002011-09-01T08:44:16.975-05:00Tomcat 6 availability issue in Hyperic<div>I have recently started using Hyperic to monitor services on several servers and ran into a problem with two different servers where I needed to monitor Tomcat 6.0 availability on a Windows 2003 platform. Turns out the problem was the service query to find the process in Windows was not able to find the Tomcat process like it should have. Thanks to the support forum question and answer below I was able to fix my problem. Basically I had to change the process.query in Hyperic for the Tomcat service to be Pid.Service.eq=Service name (in this case Tomcat6).<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR3QR64CyNYHEO61OCLXEo_mjB3goPFZGoK1rn3a4stTsy0wZhyNgG9aTvcnwlhd-PxYJOd50rTpMgKRQJwi9nW-J8Jgg9Ic7_-XhPSVLyhmtG23Igstg5m0mAXBwp2nU0FbJgpw/s1600/Screen+shot+2011-09-01+at+8.39.10+AM.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR3QR64CyNYHEO61OCLXEo_mjB3goPFZGoK1rn3a4stTsy0wZhyNgG9aTvcnwlhd-PxYJOd50rTpMgKRQJwi9nW-J8Jgg9Ic7_-XhPSVLyhmtG23Igstg5m0mAXBwp2nU0FbJgpw/s1600/Screen+shot+2011-09-01+at+8.39.10+AM.png" /></a></div><br />
</div><br />
<br />
<br />
<br />
<br />
<a href="http://forums.hyperic.com/jiveforums/message.jspa?messageID=19167">Support Forums : Tomcat 6 availability issue ...</a>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-15249686247046862612011-08-25T11:35:00.003-05:002011-08-25T13:43:04.644-05:00How to Modify eclipse.ini settings in Mac OS X<div style="background-color: transparent;"><h2 dir="ltr" id="internal-source-marker_0.04749730648472905"><span class="Apple-style-span" style="font-size: small; font-weight: normal;"><div style="background-color: transparent;"><h2 dir="ltr" id="internal-source-marker_0.04749730648472905"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 18pt; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">How to Modify eclipse.ini settings in Mac OS X</span></h2><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Right click on your Eclipse icon and choose the option ‘Show Package Contents’</span><img height="156" src="https://lh3.googleusercontent.com/mmOLSTD8-kr5NDLQDF_R8bClqAbe1sUcTFVMvIo5P0ba3NpFxIPP4Wr4KUCyOpA57w_Cymj-2HGH_MUA5_nO-o2s92xnsYyHdEjQkDFBjpmWg3Ef7P4" width="400" /><br />
<br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Open ‘Contents’ and then ‘MacOS’. Then you should be able to select eclipse.ini and open it with your favorite text editor.</span><br />
<img height="145" src="https://lh4.googleusercontent.com/5QjmHvTk4w5dNpoutXY2fl701mlBJpHs_7l3SDEBRFHfg7qb7SZxRdE6Rmc5RBKTSq_qX5RlEmB8NZfLgcI3ZDro2ahMvLRSYIW3aZEJ2n0e9MbOzoM" width="400" /><br />
<br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">You can then edit things like the JVM version and your memory settings</span><img height="128px;" src="https://lh4.googleusercontent.com/TQaQwaTHzUEqqUdbeJb4RkTNlT4rg67gYHfZcuKQ418bGU190OipXt7g4wCdkq77WfwjrcOByIRH3JWN5L4dgAIdXa0AsEtfUCLHZppZIzDQuXw4_ww" width="329px;" /><br />
<br />
<a href="http://www.ibm.com/developerworks/opensource/library/os-eclipse-osxjava/"><span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">Here is a link with more ideas on making Eclipse run great on OS X</span></a><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> </span></div></span></h2></div>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com3tag:blogger.com,1999:blog-27399404.post-15968457757379144912011-08-25T11:25:00.001-05:002011-08-25T13:43:19.606-05:00How to setup open JDK on Mac OS X in Eclipse<div style="background-color: transparent;"><h1 dir="ltr" id="internal-source-marker_0.9357851527165622"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 24pt; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">How to setup open JDK on Mac OS X in Eclipse</span></h1><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Open Eclipse preferences and go to the installed JREs</span><img height="219px;" src="https://lh5.googleusercontent.com/8geuHlgslu713j8Q7J7eIE0QBKeFF1swpySNwh-2Qb_2JPc8U_G2Eu4LAmuUKhJPsQF6sEmyJYIYmgSuZ2Vg-J3Xvg3Lcx18C-WuE54dfvUtTY5fThU" width="458px;" /><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Click the ‘Add...’ a new one, and browse to the base of the JDK, in this example /Library/Java/JavaVirtualMachines. You will see an error message that you have not selected a target that is a JDK root.</span></div><div style="background-color: transparent;"><img height="389px;" src="https://lh3.googleusercontent.com/U3-ZviVc5v6A6jIM4wmLQMSu0WK-QAkKPKi8N5tdikZX1V2m5Tb3UjLl_Nj468P-VizO-VZPJyecChC3-I0H0isYTMGA8iXlni-HoHYwoD9vpmivPxs" width="378px;" /></div><div><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Manually type in the last part of the JRE home (/1.7.0.jdk/Contents/home).</span><br />
<span style="background-color: yellow; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">How do you know the final part of the path? The 1.7.0.jdk is the file name of the JDK. The rest of the path can be found by right clicking on the 1.7.0.jdk in finder and select ‘Show package Contents’ then go find the home folder</span><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> </span><span class="Apple-style-span" style="background-color: transparent;"><img height="149px;" src="https://lh4.googleusercontent.com/Lp0QblgfPYKXOjx4sxjhuoGOSN6nLH3B2tc2DRf9LwgTWMPwDnppyaR0rG0BbDg1EK3Fv7o-1WOz2KGNNVgGzB4tvLL75AOiOitrt42ufikUPuuKcSs" width="290px;" /></span><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">You should probably see something like this when you Show the Package Contents:</span><span class="Apple-style-span" style="background-color: transparent;"><img height="163px;" src="https://lh3.googleusercontent.com/MGgPmSViRL1D-HPZq91eQjGheLP4N_G9DvpPjD9TgY6nYdEpeTZCJYHQBZ3up8qy4UiWMxPuTDqAggl6VP-VuKDOS6hMvGolvRZDKQILu-qsf9yBZjo" width="526px;" /></span><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Finally You should be able to give you JDK a name and click the ‘Finish’ button</span><span class="Apple-style-span" style="background-color: transparent;"><img height="307px;" src="https://lh5.googleusercontent.com/mMXcWmycZaIFv3TzwcVgIyuUq6EdK6ooooZYqTJJH9HbW2X8DwluaOqfWdoI7hwBAXwXiyHzXmROC70ofwSJ7M5QFyN-015GBM9_UNRbPudPM-YQ1Qc" width="516px;" /></span></div>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-78324645647602407382010-11-30T14:16:00.000-06:002010-11-30T14:16:15.884-06:00Running Apache Tomcat on Mac OSX<span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><a href="http://neilang.com/entries/how-to-install-tomcat-on-mac-os-x/">Here is a great link for getting Apache Tomcat setup to run easily on Mac OSX</a>.</span><br />
<div><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">Once you <a href="http://tomcat.apache.org/">download Tomcat</a> and extract the files from the zip there are a couple of things you need to do from a terminal in the tomcat/bin folder:</span></div><div><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br />
</span></div><div><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span class="Apple-style-span" style="color: #333333; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', HelveticaNeue, 'Helvetica Neue', Helvetica, Calibri, sans-serif; font-size: 16px; line-height: 28px;"><code>chmod 755 *.sh </code></span></span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span class="Apple-style-span" style="color: #333333; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', HelveticaNeue, 'Helvetica Neue', Helvetica, Calibri, sans-serif; font-size: 16px; line-height: 28px;"><code><br />
</code></span></span></div><div><span class="Apple-style-span" style="color: #333333; font-size: 16px; line-height: 28px;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">You might also want to delete the *.bat files because you cannot use them anyway:</span></span></div><div><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span class="Apple-style-span" style="color: #333333; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', HelveticaNeue, 'Helvetica Neue', Helvetica, Calibri, sans-serif; font-size: 16px; line-height: 28px;"><code>rm *.bat</code></span></span></div><div><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span class="Apple-style-span" style="color: #333333; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', HelveticaNeue, 'Helvetica Neue', Helvetica, Calibri, sans-serif; font-size: 16px; line-height: 28px;"><br />
</span></span></div><div><span class="Apple-style-span" style="color: #333333; font-size: 16px; line-height: 28px;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">There is also a nice shell script in the link above that will let you start and stop tomcat by typing in 'tomcat start' or 'tomcat stop' from a terminal window.</span></span></div><div><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span class="Apple-style-span" style="color: #333333; font-family: HelveticaNeue-Light, 'Helvetica Neue Light', HelveticaNeue, 'Helvetica Neue', Helvetica, Calibri, sans-serif; font-size: 16px; line-height: 28px;"><br />
</span></span></div>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-54897801688198512122010-11-30T14:08:00.000-06:002010-11-30T14:08:49.647-06:00Setup environment variables in Mac OS when using Eclipse<span class="Apple-style-span" style="font-family: Verdana, sans-serif;">While trying to get Eclipse Ant builds working on Mac OS I found that I needed to setup environment variables. Normally in Linux and Windows I knew how to do this, however things are a little different on the Mac.</span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif;">Using <a href="http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x">help from this link</a> I was able to add the appropriate variables that I needed to run my Ant builds in Eclipse.</span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif;">Basically from a terminal you would use the following command:</span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px;">sudo vi /etc/launchd.conf</span></span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px;"><br />
</span></span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px;">Then add add entries as necessary:</span></span><br />
<span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px;"><span class="Apple-style-span" style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;"></span></span></span><br />
<pre style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><span class="Apple-style-span" style="background-color: white;">setenv <span class="Apple-style-span" style="white-space: normal;">GWT_HOME /Users/hathaway3/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.2.1.0_2.1.0.v201010280102/gwt-2.1.0</span></span></span></pre><br />
<span class="Apple-style-span" style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: medium;"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 18px;"><span class="Apple-style-span" style="white-space: pre;"><span class="Apple-style-span" style="background-color: white;">setenv </span></span><span class="Apple-style-span" style="background-color: white;">GWT_INCUBATOR /Users/hathaway3/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.2.1.0_2.1.0.v201010280102/gwt-2.1.0</span></span></span><br />
<span class="Apple-style-span" style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: medium;"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 18px;"><br />
</span></span><br />
<span class="Apple-style-span" style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: medium;"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 18px;">The only bad thing is that you must reboot after making these changes.</span></span>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-34620208300749174092009-07-31T13:47:00.001-05:002009-07-31T13:49:32.700-05:00Changing windows proxy to be either system or user basedToday I was trying to figure out how to change windows to use the proxy setting on a machine basis rather then by user. This registry key setting is supposed to be the 'key'.<div><br /></div><div><div>System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\</div><div>Internet Settings]</div><div>Value Name: ProxySettingsPerUser</div><div>Data Type: REG_DWORD (DWORD Value)</div><div>Value Data: (0 = whole machine, 1 = per user)</div><div><br /></div><div><br /></div></div>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-54302941680316915322009-07-20T09:56:00.002-05:002009-07-20T10:08:32.585-05:00Windows Schedule Jobs won't run if path has special characters - solvedWhile trying to trouble shoot an issue with a scheduled task on a Windows 2003 server I found a few interesting things to keep in mind.<div><br /></div><div>1. Windows XP machines have the windows scheduler log file located under c:\windows\SchedLgU.Txt - This is not the case with Windows 2003 server. To view the log file on a Windows 2003 server run the following command %SystemRoot%\Tasks\SchedLgU.txt</div><div>2. If you attempt to call a batch file from your scheduled job that is under a path name that includes a special character like the ampersand (&) it will not run. You will need to move your batch file into a folder that does not have the ampersand anywhere in the path.</div><div><br /></div><div>Here is an example:</div><div>c:\a&b\batch-file.bat - this file will work if you double click the file in Windows explorer, but it will not work as a scheduled task.</div><div>move the file to a folder without an &:</div><div>c:\batch-file.bat - This file will now execute properly as a scheduled task.</div><div><br /></div><div><a href="http://powershellcommunity.org/Forums/tabid/54/aff/1/aft/3888/afv/topic/Default.aspx">According to this link</a> the reason is that a windows cmd will process as a separation of two commands. So the scheduled task trys to run '<span class="Apple-style-span" style="font-family:arial;">c:\a'</span> and also 'b\batch-file.bat'. Neither of these files exist, so the scheduled job will not run.</div><div><br /></div>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com1tag:blogger.com,1999:blog-27399404.post-66907503064299693982009-05-15T09:58:00.001-05:002009-05-15T09:58:32.121-05:00Search and replace text in multiple files quickly<p class="mobile-photo"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihPcU5jbDOtA94f2OZSVw4mfRqjuuiA9RWMYoCB8kg5MfWqz6bSJUlVMz4pnlen16Bg4TpjCF0pKL7Sjx89_uMtn7Ff8YLAcmMcxkBmToutRRPZXxLmMCxTkQJgWOanzOe90N8eA/s1600-h/SNAG-001-712122.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihPcU5jbDOtA94f2OZSVw4mfRqjuuiA9RWMYoCB8kg5MfWqz6bSJUlVMz4pnlen16Bg4TpjCF0pKL7Sjx89_uMtn7Ff8YLAcmMcxkBmToutRRPZXxLmMCxTkQJgWOanzOe90N8eA/s320/SNAG-001-712122.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5336065273383080994" /></a></p>I had the need to quickly update the same string within several HTML files. Rather then open each file and do a global search and replace on the string I decided to see if there were any tools on the internet that could speed this process. After a little googling I found a tool called <a href="http://www.digitalvolcano.co.uk/textcrawler.html">TextCrawler</a>. <br> <br>I had a list of over 30 strings to find and replace in 8 different files. I was able to make the changes quickly using this tool.<br><br><b>Text Crawler is freeware, so <a href="http://www.digitalvolcano.co.uk/textcrawler.html">download it</a> and give it a try.</b><div> <br> </div> Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-24769339413576061772009-05-15T09:34:00.001-05:002009-05-15T09:34:29.945-05:00How to move files between vmware ESXi serversToday I had to move files between two ESXi servers.<div><div><br>I was looking for a simple tool that could copy from one server to another. At first I thought the only way move the files would be to use VMware Infrastructure Client to copy the files to my PC and then move the files from my PC back to the other VMware server. Using <a href="http://www.veeam.com/vmware-esxi-fastscp.html">Veeam Backup and FastSCP</a> I was able to move the files between servers without actually copying them locally to my PC. Their tool is free to download and use.</div> <div><br> </div></div> Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-39725123939625524962008-09-21T22:08:00.003-05:002008-09-23T22:34:45.004-05:00<div xmlns="http://www.w3.org/1999/xhtml">I decided to Google 'filter rss feeds' today. <a href="http://www.readwriteweb.com/archives/6_ways_to_filter_your_rss_feeds.php">Seems there are several tools out there to do the task.</a> The one that really caught my eye is <a href="http://pipes.yahoo.com/">Yahoo pipes</a>. I had seen pipes before, but never really thought about what it could do for me. I played around some with Pipes to filter a feed. Next up - combining feeds with Yahoo Pipes.<br /></div>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-59415488286002580522008-08-31T17:37:00.000-05:002008-08-31T17:37:00.097-05:00Wordpress plugin for social bookmarking<div xmlns='http://www.w3.org/1999/xhtml'>I found a Blog today that used <a href='http://www.wordpress.org'>Wordpress</a> with some neat features. I liked the fact that it offers social bookmarking sites. I have been using <a href='http://www.feedburner.com/'>Feedburner</a> with <a href='http://www.blogger.com'>Blogger</a> to accomplish this on most of my blogs. The thing I was unsure of is how to make this happen with Wordpress. <a href='http://yoast.com/wordpress/sociable/'>This plugin Sociable looks really slick</a>.<br/></div>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-83508980171314776132008-08-31T17:28:00.003-05:002008-08-31T17:28:53.512-05:00How to get the best rankings on your blog<div xmlns='http://www.w3.org/1999/xhtml'><a href='http://yoast.com/articles/wordpress-seo/'>This was an interesting article on how to get the highest rankings in your blog.</a> It is specific to wordpress blogs, but the same techniques can be used on any blogging platform.<br/></div>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-35871997055412554042008-08-31T17:25:00.001-05:002008-08-31T17:25:50.915-05:00Share a post - find content to post to a blog<div xmlns='http://www.w3.org/1999/xhtml'>I stumbled across a site today called <a href='http://shareapost.com/'>sharepost.com</a> that has content that you can grab and post to a blog. I think it would be more interesting to actually write you own content to post to your blog, but hey it is something I had never heard about before.<br/></div>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-3727485855937144122007-11-20T08:19:00.000-06:002007-11-20T08:19:27.169-06:00Google AJAX Search API Wizards - Google AJAX Search API - Google Code<a href="http://code.google.com/apis/ajaxsearch/wizards.html">Google AJAX Search API Wizards - Google AJAX Search API - Google Code</a>: "Google AJAX Search API Wizards"<br />I found this today while searching around. There is a wizard that allows you to create an AJAX news bar and place it on your web site. I am sure there will be more wizards to come in the future.Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-66115659108974563852007-11-14T18:52:00.001-06:002008-12-17T23:06:37.455-06:00If you own a Linksys WRT54G3G and you are having problems then please keep reading. I have worked for a couple of months now to figure out why my router and my Pantech PX-500 card would not work properly together. I was already running Linksys 2.00.9 firmware and my Pantech card also had the most recent firmware. My router would not stay connected, would not auto connect all the time, and just overall was very unreliable. After upgrading my router with OpenWRT Firmware I was able to finally have a reliable internet connection. <br />Please see this thread below for information on where to find the OpenWRT firmware and how to install the new firmware on your router.<br /><br /><a href="http://www.evdoforums.com/thread6621.html">OpenWRT Firmware for WRT54G3G- New Aug. 25th : EVDOforums.com</a><br /><br />Update: 12/16/2008<br />If you are looking to purchase one of these great routers I would check eBay. I just purchased one shipped for under $60<br /><br /><script language="JavaScript" src="http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=mvtrwvr%7F%60%23%2B&bdrcolor=FFCC00&catid=44995&cid=0&eksize=5&encode=UTF-8&endcolor=FF0000&endtime=y&fbgcolor=FFFFFF&fntcolor=000000&fs=0&hdrcolor=FFFFCC&hdrimage=1&hdrsrch=n&img=y&lnkcolor=0000FF&logo=3&num=25&numbid=y&paypal=n&popup=n&prvd=9&query=WRT54G3G+linksys&r0=4&sacategoryin=44995&shipcost=n&siteid=0&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=n&tbgcolor=FFFFFF&tlecolor=FFCE63&tlefs=0&tlfcolor=000000&toolid=10004&track=5336081198&width=570"></script>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-405235789095749322007-09-15T10:10:00.000-05:002007-09-15T10:45:01.118-05:00After purchasing a Sprint broadband card I wanted to see if there was a way to make it work with Ubuntu Linux. After lots of searching I found a <a href="http://www4.sprint.com/pcsbusiness/downloads/Sprint_Mobile_Broadband_Setup_Guide.pdf">document on Sprints web site</a> that details the steps required to get their broadband cards working. The card I purchased was the Pantech PX-500. I am using Ubuntu 7.04, so the instructions were a little different. I had no need to configure the modem for graphical access, I just wanted a simple script I could run to share broadband using my old Linux laptop.<br />Here are the steps I followed to get the card working:<br /><ol><li>Follow the steps on pages 21-22 of the Sprint guide.</li><li>Setup masquerading on your Linux box. I used the command "sudo iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o ppp0 -j MASQUERADE". This will be different depending on your network configuration.<br /></li><li>And the final step that was somewhat hard to figure out was to setup IP forwarding. This was the magic trick to completing the whole setup "sudo sysctl -w net.ipv4.ip_forward=1". There appears to be several ways to make this work, but using sysctl was the only way I could make it work with my specific configuration.</li><li>Bring up your connection with "sudo wvdial" and enjoy!</li></ol>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-43381965325678063002007-09-06T22:08:00.000-05:002007-09-06T22:08:11.109-05:00LucidDB Home Page<a href="http://www.luciddb.org/">LucidDB Home Page</a><br /><br />Column type databases are a very interesting idea. LucidDB is an open source database that claims to be much faster than a row based database.Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-80406713471781557782007-08-10T08:58:00.001-05:002007-08-10T08:58:33.981-05:00opencsv - an open source csv parser for Java<a href="http://opencsv.sourceforge.net/">opencsv - an open source csv parser for Java</a>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-38036473725336638882007-08-10T08:58:00.000-05:002007-08-10T08:58:21.040-05:00Processing JDBC ResultSet<a href="http://jxls.sourceforge.net/samples/resultsetsample.html">Processing JDBC ResultSet </a><br />Save results from a JDBC query into an excel file.Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-61301412919921890292007-08-10T08:57:00.000-05:002007-08-10T08:57:46.683-05:00Handle Excel files - Real's Java How-to<a href="http://www.rgagnon.com/javadetails/java-0516.html">Handle Excel files - Real's Java How-to</a>Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-55851114280595355672007-08-07T13:13:00.000-05:002007-08-07T13:13:17.914-05:00Subversion - Community Ubuntu Documentation<a href="https://help.ubuntu.com/community/Subversion">Subversion - Community Ubuntu Documentation</a>:Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com0tag:blogger.com,1999:blog-27399404.post-59189439393245895922007-07-19T21:28:00.000-05:002007-07-19T21:28:38.324-05:00Setup tomcat server under IIS steps - Google Docs & Spreadsheets<a href="http://docs.google.com/Doc?id=dhbh6swv_55fwbssk">Setup tomcat server under IIS steps - Google Docs & Spreadsheets</a><br />This will take you through a step by step process of setting up Tomcat on a windows 2003 or windows xp machine and deploying a GWT packaged as a .WAR file.Jimhttp://www.blogger.com/profile/06526750126342570761noreply@blogger.com2