<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Doug Dalton</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/" />
    <link rel="self" type="application/atom+xml" href="http://www.netreveal.com/ddalton/atom.xml" />
    <id>tag:www.netreveal.com,2009-04-21:/ddalton/2</id>
    <updated>2009-11-08T23:22:50Z</updated>
    <subtitle>CTO :: Unix, PHP, Mysql, Smart phones and Random other topics</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.2rc2-en</generator>

<entry>
    <title>The Palm Pre Vs The Droid</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2009/11/the-palm-pre-vs-the-droid.html" />
    <id>tag:www.netreveal.com,2009:/ddalton//2.59</id>

    <published>2009-11-08T19:57:50Z</published>
    <updated>2009-11-08T23:22:50Z</updated>

    <summary>First off, let me say my primary phone for quite some time has been the HTC touch pro with a custom rom from sskusers.net. Not great by any means compared to other smart phones but I really am happy with...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="android" label="Android" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="palmpre" label="Palm pre" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="review" label="review" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>First off, let me say my primary phone for quite some time has been the HTC touch pro with a custom rom from sskusers.net.  Not great by any means compared to other smart phones but I really am happy with verizon, so I was waiting for a real smart phone by them.  I have been using the HTC with the palm pre (which was a gift)  for a few months,  and so my Pre review is an experienced review,  where as I have only had the droid two days.</p>

<p>Palm Pre (activated with Sprint) :</p>

<p>Cons :  <br />
The notifications,  all the notifications fill your hold screen and often take up valuable screen space,  instead of being icons they are large first and then go away when you dismiss them,  which isnt a problem with one application like mail, but if you use chat, twitter,  set an alarm and have your calendar reminders,  soon you have more reminders than screen.</p>

<p>The battery life:  this device will stay in standby quite some time,  but use it for calls and email heavily and it will be dead in less than a day.</p>

<p>The keyboard:  The keyboard on the bottom is nice,  but very tight,  I  cant type quickly..  and the copy and paste functions are challenging,  there are no directional keys so you have to use gestures to move across the screen which isnt very easy.</p>

<p><br />
Pros:  </p>

<p>The camera is fast,  it processes the photo in the background and takes bright quality pictures but it doesnt take any video,  which is a huge oversight. The camera has no features either,  like zoom,  but the speed and quality make of for that.</p>

<p>Task management:  The pre (webos)  uses a cool task card system which makes finding a task and killing a task very easy and so intuitive,  this is one of the nicest features of the operating system.</p>

<p>The form factor:  small and sleek,  this is a nice looking and relatively responsive phone.</p>

<p>Phone : the phone works well and is straight forward,  the downside is that if you click a notification to clear it for a missed call,  if immediately calls the person... this is really annoying.</p>

<p>Network:  viewing webpages and getting email with this phone is great,  I was surprised by sprints network.  </p>

<p>Messaging:  The email application on this phone is good and very easy to use.  The IM/SMS system is also very nice,  it has a combined contact,  so if you IM someone and text them,  it keeps them in the same thread.</p>

<p><br />
The Droid:</p>

<p>What Can I say,  I have only had this device two days and I am very pleased.</p>

<p>Cons: </p>

<p>The camera: This is a terrible camera,  my settings must be wrong, it takes very dark photos and takes quite some time to do that.  Its like an early era camera phone.  I am hoping there is a firmware or tweak I can do to resolve this.  video is equally dark. </p>

<p>Task management: There isnt a good task manager by default,  so you have to download one but there are plenty,  and plenty of good ones,  but task dont usually exit so you will need a task manager to help you clean up your memory.  </p>

<p>The keyboard:  this is a pro and a con,  its great to have one but this one is very tight to the top of the screen so it can be a little challenging to type,  but overall not as bad as other reviewers have made it seem.</p>

<p>Moving desktop icons around:  if you fill your desktop you have to trash an icon and then move icons around like one of those number puzzle games, or move the icon to another desktop but this isnt a huge problem unless you are moving icons often.</p>

<p>Pros:</p>

<p>Where to start</p>

<p>The Keyboard: it has one,  I hate when I use a iphone and half the screen goes away so I can type,  I cant see what I was working on which is a bit of a pain.  With the droid,  if you dont mind the half screen,  you can use the onscreen keyboard or you can use the real keyboard.</p>

<p>The screen:  It is high resolution and very nice to look at,  switching from landscape to horizontal has little or no delay,  this is another big plus.  The touchscreen is also very responsive,  a bit faster than the pre,  but does not support multitouch at this point. </p>

<p>The CPU:  many of these feature rich phones often are horribly underpowered,  but the droid really performs here it is fast and responsive.</p>

<p>GPS: Another thing I am impressed with is how fast the droid locates the GPS satellites and finds its location. The HTC touch pro took way to much time to do this.  Even better is with google navigation you dont need a tom tom or garmin,  it gives you great turn by turn directions.</p>

<p>Networking:  Verizon's network has always been fast but this device performs well on it.</p>

<p>Messaging: This also does the combined sms and IM thread that the pre does,  but not a seamlessly,  which i actually like,   it will only combine them when you sms that particular person.  Email is great for Gmail,  just like any google app,  it works incredibly well,  I have not tried this with non google mail.</p>

<p>Apps:  While not as many apps as the iphone, but more than the palm pre,  this has a great app catalog with such heavy hitters as facebook, pandora, imeem,  foursquare, and twitter,  I even found a great ssh terminal application. It also has desktop widgets which are great,  allowing you to see twitter et al updates from your desktop without launching the app.</p>

<p>Battery:  I bought a spare battery because the Droids slim form factor and my heavy use tends to render a phone dead in a half day,  but thus far,  it seem like the droid will actually last a full day without a charge and heavy use.  Again this is only after two days.</p>

<p>Summary</p>

<p>While I haven't had a iphone to compare the droid to,  the palm pre is the closest contender,   and while it does some things better (camera and task manager),  the droid is just a more robust and functional device and operating system.  It is the best smart phone I have used thus far.  I would definitely recommend it.  I will be keeping an eye out for a camera fix/update from Motorola,  but its not a deal breaker for me.</p>

<p><br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Palm Pre Review</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2009/06/palm-pre-review.html" />
    <id>tag:www.netreveal.com,2009:/ddalton//2.58</id>

    <published>2009-06-05T19:20:29Z</published>
    <updated>2009-06-05T20:32:11Z</updated>

    <summary>So after doing everything I could to get my hands on a palm pre, my friend Hooman came through an landed me this awesome device. My initial thoughts were around Sprint. This phone comes tethered to Sprint, which isnt a...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="palmpre" label="Palm pre" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="review" label="review" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>So after doing everything I could to get my hands on a palm pre,  my friend Hooman came through an landed me this awesome device.  My initial thoughts were around Sprint.  This phone comes tethered to Sprint,  which isnt a network that has the coverage I am used to.  I must say in the 2 days I have been using the device,  the voice quality is great and the network speeds are good. Back to the Pre,  its a nice feeling device,  it sits in your hand easily,  its very sleek,  but that will get old soon if it doesnt work well.  The speed of the UI is impressive.  I am a tough customer,  and this device doesnt take long to boot up apps, its very easy to shut them down as well.  Everything is just a gesture. </p>

<p>Phone</p>

<p>This is one of the coolest parts of the palm pre.  With most touch devices,  you "butt" dial or turn off features with your ear while talking,  the palm pre included a proximity feature that allows your phone to sense when its in your pocket or next to your face and turns off the screen,  eliminating accidental "touch" dialing or hanging up by ear.  The rest of the phone is pretty standard and works well.  It has a slide to unlock feature which is very good.</p>

<p>Messaging</p>

<p>Lets face it,  texting is a key feature for any phone,  and this phone does it very well.  It combines all of your account messagers into one thread,  so for example you can AIM someone then switch to sms and this all appears as one seamless thread,  very impressive.  I am a little disappointed with the configurations on this phone.  If I just want to display I have an SMS, Email or MMS it should say so,  but it shouldnt display all the info in the sms or email to prying eyes when my phone is laying around.  So you either turn you notifications off or have the contents exposed when then phone is locked,  there is no inbetween.</p>

<p>Web browser</p>

<p>No flash support but everything else works very well.  It uses multitouch to zoom in and out on pages and renders very quickly.   With Sprints 3g network there is almost no delay.  Not much more to say here. Sprint defaults to a bookmark page where all your favorites are listed,  which means it two keypresses to get to your default homepage but a nice interface.</p>

<p><br />
Camera</p>

<p>This is biggest oversight on this device or lacking feature.. no video.  I dont know why device designer skip this?  As for the camera,  the quality is good, 3.2 megapixels,  the flash is ok,  but no zoom..   overall not very much here in comparison to better phone implementations.</p>

<p>GPS<br />
This phone has a fast gps radio,  so location based apps work quickly, and a nice implementation</p>

<p>Applications</p>

<p>The app store is new,  and has only a few apps,  not much there.  I am not sure if you can add your own app but it doesnt look that way,  this is a big downfall.  I should be able to install an app on my device even if palm doesnt want it on the webstore.  </p>

<p>It does come with great apps like google maps and a youtube app and you can download where and pandora.</p>

<p>Keyboard</p>

<p>The palm pre has a slide down keyboard that is easy to use with both hands,  I have large fingers and have no problems using it.</p>

<p>Battery life</p>

<p>It seems like power users will drain their device in a day,  otherwise it should be fine for light users.  </p>

<p>Cables</p>

<p>It uses the less common Micro USB as apposed to the very common mini usb,  very lame choice, it might as well be a proprietary cable.  Mine came with an induction charger as well,  which is very cool.  just set it on the charger,  no cables.</p>

<p><br />
Summary</p>

<p>Pros<br />
For a pda that does your basic communicating,  this is a great device,  Its fast and easy to use and it has all the core features you would want.</p>

<p>Cons<br />
lacking notification options,  no video, no micro sd,  and no non palm store applications..  This phone is probably not for a power phone user at this point,  but with some os changes it could possibly be.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Simple cron script to watch a firefox kiosk</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2009/04/simple-cron-script-to-watch-a-1.html" />
    <id>tag:www.netreveal.com,2009:/ddalton//2.57</id>

    <published>2009-04-21T22:27:18Z</published>
    <updated>2009-04-21T22:30:38Z</updated>

    <summary>Put this in your crontab -e: * * * * * /user/cron.sh then in /user/cron.sh put #!/usr/bin/bash TEST=`ps ax | grep firefox | grep -v grep | grep -v /usr/bin/firefox | wc -l` if [ $TEST = 0 ] ;...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>Put this in your crontab -e:</p>

<p>* * * * * /user/cron.sh</p>

<p>then in /user/cron.sh put </p>

<p>#!/usr/bin/bash<br />
TEST=`ps ax | grep firefox | grep -v grep | grep -v /usr/bin/firefox | wc -l`<br />
if [ $TEST = 0 ] ; then<br />
        /usr/bin/firefox &<br />
fi</p>

<p><br />
and make sure it is set to chmod 755 /user/cron.sh</p>]]>
        
    </content>
</entry>

<entry>
    <title>How to set an auto update script for your  dynamic dns name for asterisk/freepbx</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2008/12/how-to-set-an-auto-update-scri.html" />
    <id>tag:www.netreveal.com,2008:/ddalton//2.55</id>

    <published>2008-12-03T14:03:48Z</published>
    <updated>2008-12-03T14:30:04Z</updated>

    <summary>If you have ever setup an asterisk box then you know some changes are in the configuration. One of those challenges is being behind a nat or router. The issue usually arises when you use the ivr and you dont...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Coding" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="System / Network Administration" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>If you have ever setup an asterisk box then you know some changes are in the configuration.  One of those challenges is being behind a nat or router.  The issue usually arises when you use the ivr and you dont receive DTMF tones to your ivr.  I use ViaTalk for service and their support staff clued me into the problem.  I had to externhost=my.dyndns.com in your sip_nat.conf does not solve this problem, or at least didnt for me so I had to write my own dynamic dns update script using php only because it was quick but you can do this is bash probably just as easily.</p>

<p><br />
</p>]]>
        <![CDATA[<p><textarea cols="40" name="text" rows="4" style="background-color:#D4DCC4"><button><br />
#!/usr/bin/php -q<br />
<?php<br />
// update the exterip of your asterisk/freepbx server<br />
// using dynamic dns<br />
// by: Doug Dalton<br />
// ddalton at shortbus.net<br />
// Documentation:<br />
// add a cron job :<br />
// * * * * * asterisk_extern_ip.sh <br />
//edit these variables<br />
$your_ddns_name="yourdynamicname.gotdns.com";<br />
$your_restart_command='/usr/sbin/rasterisk -rx "reload"';<br />
$your_sip_nat_conf="/etc/asterisk/sip_nat.conf";<br />
//Dont edit below this line</p>

<p>$ip = gethostbyname($your_ddns_name);<br />
$conf_file= file_get_contents($your_sip_nat_conf);</p>

<p>// Place each line of $userfile into array<br />
$lines = explode("\n",$conf_file);<br />
$found=false;<br />
$write=false;<br />
$conf_str="";<br />
   foreach ($lines as $line) {</p>

<p>      @list($attr, $var) = explode("=", $line);<br />
      $attr=strtolower(trim($attr));<br />
      $var=trim($var);<br />
      if ($attr=="externip")<br />
       {<br />
        $found=true;<br />
        if ($var!=$ip)<br />
         {<br />
          $write=true;<br />
          $conf_str.="externip=$ip\n";<br />
         }<br />
       }<br />
       else<br />
         $conf_str.=$line."\n";<br />
   }</p>

<p>if (!$found)<br />
 {<br />
  $write=true;<br />
  $conf_str.="externip=$ip";<br />
 }</p>

<p>if ($write)<br />
{<br />
if (is_writable($your_sip_nat_conf)) {<br />
    if (!$handle = fopen($your_sip_nat_conf, 'w')) {<br />
         echo "Cannot open file ($your_sip_nat_conf)";<br />
         exit;<br />
    }<br />
    if (fwrite($handle, $conf_str) === FALSE) {<br />
        echo "Cannot write to file ($your_sip_nat_conf)";<br />
        exit;<br />
    }<br />
    fclose($handle);</p>

<p>} else {<br />
    echo "The file $your_sip_nat_conf is not writable";<br />
}<br />
system($your_restart_command);<br />
}<br />
?><br />
   <br />
</button></textarea></p>]]>
    </content>
</entry>

<entry>
    <title>How to make your Dell m1210 into a Mac (dual boot with Vista)</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2008/06/how-to-make-your-dell-m1210-in.html" />
    <id>tag:www.netreveal.com,2008:/ddalton//2.54</id>

    <published>2008-06-05T21:18:07Z</published>
    <updated>2008-06-06T01:41:23Z</updated>

    <summary>First off, I take no responsibility for any damage done to your computer, I am just explaining a possible way to get mac osx running on a dell m1210, if you break your computer, dont cry to me. Also buy...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="1052" label="10.5.2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="1053" label="10.5.3" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dellm1210" label="Dell m1210" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dellm1210osx86" label="dell m1210 osx86" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="dualboot" label="dual boot" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="kalyway" label="Kalyway" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="osx86" label="osx86" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vista" label="vista" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[First off,  I take no responsibility for any damage done to your computer,  I am just explaining a possible way to get mac osx running on a dell m1210,  if you break your computer,  dont cry to me. Also buy osx,  if you are from apple,  make osx for regular pc's so I dont have to do this.<P>

First off you are going to need some things:<P>

-Utorrent <a href="http://www.utorrent.com> here</a><BR>
-Gparted Live CD  (if you dont have a free partition on your drive) <a href="http://gparted.sourceforge.net/livecd.php> here</a><BR>
-IMG burn <a href="http://www.imgburn.com/index.php?act=download"> here</a><BR>
-The OSX86 driver disk for the m1210 (only if you plan to upgrade to 10.5.3) <a href="http://www.netreveal.com/ddalton/OSX86.zip.torrent">Download file</a><BR>
-Kalyway OSX ISO 10.5.2 <a href="http://www.netreveal.com/ddalton/Kalyway_Leopard_10.5.2_DVD_Intel_Amd.torrent">Download file</a><BR>
-Kalyway Combo Update 10.5.3  (only if you plan to upgrade to 10.5.3) <a href="http://www.netreveal.com/ddalton/Mac_OS_X_Leopard_10.5.3_Kalyway_Combo_Update.torrent">Download file</a><BR>
-Your Vista install dvd <P>

Things you should know now before starting...  <BR>
-Scary things will happen (drives will have problems,  but hopefully this will walk  you through that) but you should be fairly os savvy before using this,  I dont go into a mass of detail but if you email me I will add more <BR>
-if you have the nvidia card,  your computer or monitor cant go into sleep mode,  it just wont work<BR>
Check this blog for update on Nvidia (<A href="http://scottdangel.com/blog/">Nvinstaller.com</A>)<BR>
-if you have the 1394 wifi card you will have to follow the iwidarwin project (<A HREF="http://code.google.com/p/iwidarwin/">iwidarwin</A>)  which had stopped as of the time I wrote this ,  I recommend the Dell 1390,  it works out of the box<BR>
- this process causes osx to load by default,  if you dont want that,  dont follow this ( I will work on a fix for this but I dont have one yet)><BR>
- Audio does not work without a different how to<BR>

]]>
        <![CDATA[Ok first burn all your ISO's and the pkg updates and osx drivers to a cd/dvd.<P>

With the Gparted ISO:<P>

If you are shrinking your drive,  first off find the drive that has your Vista install,  this is usually the largest.<P>

#1 If you have a spare 15-30gig partition skip to step #2<BR>
-Load Gparted and delete all the other partitions but the vista partition, (NOTE: I dont use the media direct,  if you do,  dont follow this, because this will delete media direct)<BR>
- move (using resize/move) the vista partition to the very front of the drive and allow for 15-30gigs at the end of the drive (for macos)   (this takes forever so get dinner and a movie)<BR>
#2 make your second partition (the empty one) a NTFS partition with the label "OSX"<BR>
#3 set the attributes to the partition to bootable or boot<P>

(now vista wont load but dont worry about that yet)<P>

With the Kalyway 10.5.2 ISO :<P>

Once the DVD boots it will ask you for the language, then tells you to agree to kalyways terms,  click agree, then their will be a bar at the top that says Utilities
<P>
-click utilities -> disk utility<BR>
-pick your "OSX partition"<BR>
-click Erase<BR>
  Choose volume format macos extended journaled<BR>
 label it OSX<BR>
- click Erase<BR>
-once completed close the window<BR>
-in the main window now it will ask you to choose and install location<BR>
 choose the osx partition<BR>
-next it will ask you to install (DONT)><BR>
-Click CUSTOMIZE<BR>
 under this use all the default settings<BR>
- Graphics<BR>
 if you want the computer to sleep correctly choose INTEL GMA<BR>
otherwise if you have the Nvidia card choose nvida<BR>
- Network Drivers->Network Cards<BR>
 Choose AppleBCM440xEthernet<BR>
Under Patches -> leave the SMBIOS all as the default<BR>
     and choose the rest (boot_with_cpus=1 is the most important)<P>

then Close and install <P>

OSX should boot and work fine<P>

next getting vista working<P>
- get your vista boot disk<BR>
- load the vista install<BR>
- click repair<BR>
- under repair it wont find anything<BR>
 -click next or whatever and it will show a page one option is cmd prompt<BR>
-click command prompt<BR>
-type the following<BR>
diskpart<BR>
select disk 0<BR>
list part<BR>
(usually osx is part 2)<BR>
select part 1<BR>
active<BR>
go back to the window with the utilities and hit repair<BR>
it will say your disk has been repaired<BR>
reboot<BR>
vista should now come up<BR>
after vista boots (it may need to boot twice to repair completely)<BR>
then go to command prompt<BR>
type the following <BR>
diskpart<BR>
select disk 0<BR>
select part 2<BR>
active<BR>
<P>
Now you are set... when you reboot your system,  the darwin boot loader will give you 5 seconds to stop the boot (by pressing any key)  <BR>
it will label OS *usually and OSX,  <BR>
choose OS for Vista <BR>
choose OSX for Mac OSX<BR>
<P>
to upgrade to 10.5.3<P>
boot into osx<BR>
place the drivers / 10.5.3 combo pkg update into the CD drive<BR>
-click and install  the combo package update (it will ask you to reboot at the end DONT!)<BR>
-click the kernel package (install both kernels)<BR>
-now reboot<BR>
-hit the F8 key in the boot loader<BR>
-type update -v<BR>
<P>
The system will boot and possibly reboot ... then you will need to reinstall the ApplceBCM440xEthernet driver<BR>
<P>
reboot into osx<BR>
place your OSX drivers CD back in the drive and
go to system/library/extensions/IONetworkingFamily.kext/contents/plugins and drag AppleBCM440xEthernet.kext  from the CD in there and replace
<P>
Open Applications->Utilities->terminal<BR>
(type the following)<P>
sudo -s<BR>
*give password*<BR>
cd /system/library/extensions<BR>
rm extensions.mkext extensions.kextcache<BR>
chown -r root:wheel *.kext<BR>
kextcache -k /system/library/extensions<BR>
exit<P>
Now reboot
<P>
Now everything should work fine again.<P>
<P>
Last but not least the clock fix  <BR>
boot into osx and unset the clock to update from apple automatically<BR>
then go into applications->utilities->terminal<BR>
1. Create new file /sbin/localtime-toggle with the following contents:<BR>
type vi  /sbin/localtime-toggle <BR>
type i<BR>

<textarea cols="40" name="text" rows="4" style="background-color:#D4DCC4">#!/bin/sh

to_utc() {
echo "localtime-toggle: Toggling to UTC."
date `date -u +%m%d%H%M%Y`
}

to_localtime() {
echo "localtime-toggle: Toggling to localtime."
date -u `date +%m%d%H%M%Y`
}

trap 'to_localtime; exit' term
to_utc
{ while true; do sleep 86400; done; } &
wait</textarea>
<P>
type ESC<BR> 
type :wq!<BR>
<P>
2. at the promple type:<BR>

chmod +x /sbin/localtime-toggle<BR>

3. Create new file :<BR>
at the prompt type
vi /System/Library/LaunchDaemons/org.osx86.localtime-toggle.plist <BR>
type i<BR>
<textarea cols="40" name="text" rows="4" style="background-color:#D4DCC4"><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>Label</key>
   <string>org.osx86.localtime-toggle</string>
   <key>Program</key>
   <string>/sbin/localtime-toggle</string>
   <key>KeepAlive</key>
   <true/>
   <key>RunAtLoad</key>
   <true/>
   <key>HopefullyExitsFirst</key>
   <true/>
</dict>
</plist></textarea>
<P>
type ESC <BR>
type :wq!<BR>
<P>
4. Reboot. <BR>


(set your clock to update automatically in windows)<P>

Please send me errors you run into or suggestions on how to make this better<BR>








]]>
    </content>
</entry>

<entry>
    <title>Simple Bulk rename : A Bash file rename script</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2008/03/simple-bulk-rename-a-bash-file.html" />
    <id>tag:www.netreveal.com,2008:/ddalton//2.53</id>

    <published>2008-03-08T00:04:52Z</published>
    <updated>2008-03-08T00:08:19Z</updated>

    <summary>often I have to rename a whole set of files that have not processed correctly, to do this I rename them with Bash, a simple script to do this is : for f in *_3; do mv &quot;$f&quot; &quot;${f/_3/_0}&quot;; done...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="System / Network Administration" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>often I have to rename a whole set of files that have not processed correctly,  to do this I rename them with Bash,  a simple script to do this is :</p>

<p>for f in *_3; do mv "$f" "${f/_3/_0}"; done</p>

<p>this renames all files ending in _3 to the same filename but now ending in _0 </p>]]>
        
    </content>
</entry>

<entry>
    <title>BakeOff - The Blackjack 2 vs Moto Q Global</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2008/02/bakeoff-the-blackjack-2-vs-mot.html" />
    <id>tag:www.netreveal.com,2008:/ddalton//2.52</id>

    <published>2008-02-28T22:16:03Z</published>
    <updated>2008-02-28T23:04:52Z</updated>

    <summary>I recently ended my contract with Verizon to get a new PDA phone from AT&amp;T. I wanted wifi and a touchscreen, but unless I wanted to carry a brick, I mean the tilt, i was SOL. I decided I would...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="backjack2vsmotoglobal" label="backjack 2 vs moto global" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="backjackiivsq9h" label="backjack ii vs q9h" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="blackjack" label="blackjack" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="motoq9h" label="moto q9h" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>I recently ended my contract with Verizon to get a new PDA phone from AT&T.  I wanted wifi and a touchscreen,  but unless I wanted to carry a brick,  I mean the tilt,  i was SOL.   I decided I would look at the Moto Q9h or Global vs the Backjack 2.  The blackjack 2 was the first I tried.  I am going to keep this simple:<br />
The are both 3g, no wifi, 2.0 megapixel cameras and bluetooh</p>]]>
        <![CDATA[<p>Pros:<br />
Form factor <br />
Size (fits well in the pocket)<br />
different message and text indicators<br />
led for charging and also email indication etc <br />
more windows mobile controls for look and feel<br />
better hot keys to lock and get to the task manager</p>

<p>Cons:<br />
SPEED,  the blackjack 2 is sluggish<br />
The dial wheel is unresponsive for at least one turn.<br />
Phonecalls are hard to hear</p>

<p>The moto Q9h</p>

<p>Pros:<br />
keyboard (much easier for me to type on)<br />
call quality - loud and clear,  easy to use<br />
camera flash-  it has a very bright camera flash that does its job in low light<br />
SPEED-while not noticeably faster than the blackjack 2 initially while running regularly it is substantially faster <br />
accessories- it comes with a usb to mini usb adapter,  opera browser,  a better IM client, documents to go, a headphone adapter and a 2nd battery for extended use!</p>

<p>Cons:<br />
if this guy had wifi and a touchscreen it would be perfect.<br />
the hotkeys are not very good.  <br />
The windows key is awkward.<br />
every once and a while the interface locks during heavy processing or heavy communication,  this doesnt happen in the blackjack ii</p>

<p><br />
I recommend the q9h over the blackjack 2,  I usually am not a moto fan,  but this is an good phone.</p>

<p> <br />
</p>]]>
    </content>
</entry>

<entry>
    <title>Freebsd PHP ports tree</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2008/01/freebsd-php-ports-tree.html" />
    <id>tag:www.netreveal.com,2008:/ddalton//2.51</id>

    <published>2008-01-16T07:59:34Z</published>
    <updated>2008-01-16T08:04:12Z</updated>

    <summary>So I have noticed that from time to time the /usr/ports/lang/php5-extensions versions get out of sync, to fix this its as simple as just removing the config (make rmconfig [only if you want to add more modules]) and rebuilding make...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="System / Network Administration" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>So I have noticed that from time to time the  /usr/ports/lang/php5-extensions versions get out of sync,  to fix this its as simple as just removing the config (make rmconfig [only if you want to add more modules]) and rebuilding make install -DFORCE_PKG_REGISTER</p>]]>
        
    </content>
</entry>

<entry>
    <title>Mythtv and Centos Gnome Autologin</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2007/11/mythtv-and-centos-gnome-autolo.html" />
    <id>tag:www.netreveal.com,2007:/ddalton//2.50</id>

    <published>2007-11-20T09:51:37Z</published>
    <updated>2007-11-20T20:00:41Z</updated>

    <summary>After a bit of time playing with Media portal, which is GREAT, I have gone back to mythtv, which is not quite as intuitive, and setting up a recording is the worst ui experience, I only hope it gets better,...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="centos" label="centos" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="gnome" label="gnome" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mythtv" label="mythtv" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>After a bit of time playing with Media portal,  which is GREAT,  I have gone back to mythtv,  which is not quite as intuitive,  and setting up a recording is the worst ui experience,  I only hope it gets better,  but step one for me is to get the autologin working on Centos 5 the howto is below</p>]]>
        <![CDATA[<p>Super simple way:</p>

<p>go to your mythtv user dir (~mythtv),  make sure that the mythtv user has a valid shell:</p>

<p>vipw<br />
in vipw "/mythtv"<br />
if it has /sbin/nologin as the shell change it to /bin/bash or your favorite shell</p>

<p>next edit your /etc/gdm/custom.conf</p>

<p>add:</p>

<p>[daemon]<br />
AutomaticLoginEnable=true<br />
AutomaticLogin=mythtv<br />
or<br />
TimedLoginEnable=true<br />
TimedLogin=mythtv<br />
TimedLoginDelay=20<br />
for a timer</p>

<p>then <br />
edit ~mythtv/.xsession</p>

<p>add the lines:<br />
#!/bin/bash<br />
metacity &<br />
i#xterm &<br />
mythwelcome<br />
chmod 755 ~mythtv/.xsession</p>]]>
    </content>
</entry>

<entry>
    <title>X11 Display on Vista with ssh</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2007/11/x11-display-on-vista-with-ssh.html" />
    <id>tag:www.netreveal.com,2007:/ddalton//2.49</id>

    <published>2007-11-01T21:10:34Z</published>
    <updated>2007-11-01T21:13:21Z</updated>

    <summary>Need an X11 interface that works quickly and for free... install Cygwin with X11 and openssh.... then make sure your ssh on your remote host has X11forwarding=yes. from your bash shell in cygwin type startx a x11 xterm will come...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="System / Network Administration" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>Need an X11 interface that works quickly and for free... install Cygwin with X11 and openssh.... then make sure your ssh on your remote host has X11forwarding=yes.</p>

<p>from your bash shell in cygwin type startx a x11 xterm will come up and type:</p>

<p>DISPLAY=localhost:0.0 ssh -Y remotehost</p>

<p><br />
you set... then any remote  x app will appear on your desktop</p>]]>
        
    </content>
</entry>

<entry>
    <title>Verizon LG Vx8600 Set your Search menu item to Google Mobile</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2007/07/verizon-lg-vx8600-set-your-sea.html" />
    <id>tag:www.netreveal.com,2007:/ddalton//2.48</id>

    <published>2007-07-30T07:53:42Z</published>
    <updated>2007-07-30T08:21:05Z</updated>

    <summary>Verizon usually cripples all the great functions on a phone and rarely lets you customize any options, especially the search page on the Mobile Web Browser, but here is how you do it if you have a Bluetooth link or...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="replace" label="replace" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="search" label="search" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="verizon" label="verizon" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>Verizon usually cripples all the great functions on a phone and rarely lets you customize any options,  especially the search page on the Mobile Web Browser,  but here is how you do it if you have a Bluetooth link or USB cable to your LG Vx8600</p>

<p>Download and Install <A HREF=http://bitpim.org>bitpim</a>  </p>

<p>Once setup, Run Bitpim,  under view,  check view filesystem.  </p>

<p>On the left filesystem will appear.  Click Filesystem and expand "/"</p>

<p>Download <a href="http://www.netreveal.com/ddalton/paramtable1.fil"> paramtable1.fil</a></p>

<p>(Do this at your own risk, I am not responsible for any damage to your phone)</p>

<p>Browse the filesystem,  under OWS (click OWS) right click paramtable1.fil,  click overwrite and select the version of paramtable1.fil that you just saved.</p>

<p>Then start the browser and select search from the menu (#3)  and it should be google moble replacing the lame VZW search.</p>

<p><br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Verizon LG Vx8600 Change your  WAP server</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2007/07/verizon-lg-vx8600-change-your.html" />
    <id>tag:www.netreveal.com,2007:/ddalton//2.47</id>

    <published>2007-07-30T05:33:24Z</published>
    <updated>2007-07-30T06:56:50Z</updated>

    <summary>There a hidden menu in your Vx8600, type ##PROGRAM8600 SEND (##77647268600 SEND) You can change your WAP server here as well as the get it now server. A confirmed open wap server is : Wap gateway An unconfirmed Open Wap...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Random" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>There a hidden menu in your Vx8600,  type ##PROGRAM8600 SEND (##77647268600 SEND) You can change your WAP server here as well as the get it now server. </p>

<p>A confirmed open wap server is :</p>

<p><A HREF=http://www.wap-gateway.com/> Wap gateway</A></p>

<p>An unconfirmed Open Wap server is:</p>

<p>Link1-IP1: 194.204.012.042<br />
Link1-Port1: 9201</p>

<p>This will save you the $5 a month charge to verzion but still cost you airtime<br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Verizon LG Vx8600</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2007/07/verizon-lg-vx8600.html" />
    <id>tag:www.netreveal.com,2007:/ddalton//2.46</id>

    <published>2007-07-26T21:00:37Z</published>
    <updated>2007-07-30T05:33:10Z</updated>

    <summary>How do you get you save your phone book with LG verizon vx8600? one way is to spend a bunch of more money with verizon and buy their sync kit, but I suggest another option using BitPIM. This is a...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Random" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="bitpim" label="bitpim" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="lg" label="lg" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="verizon" label="verizon" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vx8600" label="vx8600" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>How do you get you save your phone book with LG verizon vx8600? </p>

<p>one way is to spend a bunch of more money with verizon and buy their sync kit, but I suggest another option using <A href=http://bitpim.org>BitPIM</A>.  This is a great opensource package that works with most verizon phones.  For the Vx8600 you will need to get the development version if you get the "provider blocked: unable to access filesystem " message,  here is the version as of this article <a href=http://sourceforge.net/project/downloading.php?group_id=75211&use_mirror=superb-east&filename=bitpim-1.0.1.20070703-setup.exe&98410499>Development Windows install</A></p>

<p><br />
</p>]]>
        
    </content>
</entry>

<entry>
    <title>WAMP the solution for Vista</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2007/04/wamp-the-solution-for-vista.html" />
    <id>tag:www.netreveal.com,2007:/ddalton//2.44</id>

    <published>2007-04-25T03:03:09Z</published>
    <updated>2007-04-25T03:08:36Z</updated>

    <summary>I needed to install PHP, PhpMyAdmin and MySql on Vista. This was taking forever, Apache 2.2 kept crashing, Pear wouldnt install ... so I looked up apache, mysql, php and windows and came across WAMP (Website). This is a GREAT...</summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Coding" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="apache" label="Apache" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mysql" label="Mysql" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="php" label="PHP" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vista" label="vista" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="windows" label="windows" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p>I needed to install PHP, PhpMyAdmin and MySql on Vista.  This was taking forever,  Apache 2.2 kept crashing,  Pear wouldnt install ... so I looked up  apache, mysql, php and windows and came across WAMP (<A href=http://www.wampserver.com/en/>Website</A>).  This is a GREAT package that save a ton of time.  If you need to install Apache, Mysql, and PHP on a windows server,  this is a must have package.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Teddy Bears at Popscene</title>
    <link rel="alternate" type="text/html" href="http://www.netreveal.com/ddalton/2007/04/latest-video.html" />
    <id>tag:www.netreveal.com,2007:/ddalton//2.43</id>

    <published>2007-04-04T15:06:09Z</published>
    <updated>2007-04-06T21:36:13Z</updated>

    <summary></summary>
    <author>
        <name>Doug</name>
        
    </author>
    
        <category term="Random" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.netreveal.com/ddalton/">
        <![CDATA[<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/KkEgvEKG-KI"></param><embed src="http://www.youtube.com/v/KkEgvEKG-KI" type="application/x-shockwave-flash" width="425" height="350"></embed></object></p>]]>
        
    </content>
</entry>

</feed>
