<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Baldwin Sung</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/" />
    <link rel="self" type="application/atom+xml" href="http://baldwinsung.com/atom.xml" />
    <id>tag:baldwinsung.com,2009-10-02:/1</id>
    <updated>2010-08-04T19:50:01Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.32-en</generator>

<entry>
    <title>Blog Test</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/08/blog-test.html" />
    <id>tag:baldwinsung.com,2010://1.269</id>

    <published>2010-08-04T19:49:59Z</published>
    <updated>2010-08-04T19:50:01Z</updated>

    <summary>Blog Test...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[<p style="clear: both">Blog Test</p><br class='final-break' style='clear: both' />]]>
        
    </content>
</entry>

<entry>
    <title>Changing and/or Updating New York State Corporation</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/05/changing-andor-updating-new-york-state-corporation.html" />
    <id>tag:baldwinsung.com,2010://1.264</id>

    <published>2010-05-26T11:07:28Z</published>
    <updated>2010-08-04T19:28:54Z</updated>

    <summary>To change or update the information for your New York State Corporation, go to the NYS Department of State Website at http://www.dos.state.ny.us and enter 1556 in the search box. This should lead you to select a pdf formatted form #1556...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[<p style="clear: both">To change or update the information for your New York State Corporation, go to the NYS Department of State Website at <a href="http://www.dos.state.ny.us/">http://www.dos.state.ny.us</a> and enter 1556 in the search box. This should lead you to select a pdf formatted form #1556 (Certificate of Change Form). </p><p style="clear: both">Fill out the form accordingly and send in the form with a check for $30 payable to New York State Department of State. </p><p style="clear: both">Disclaimer: This information could change at any time, the information on this page should always be verified with the New York State Department of State Customer Service team.</p><br class='final-break' style='clear: both' />]]>
        
    </content>
</entry>

<entry>
    <title>Sun Solaris 10 Release Updates</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/03/sun-solaris-10-release-updates.html" />
    <id>tag:baldwinsung.com,2010://1.263</id>

    <published>2010-03-06T04:54:59Z</published>
    <updated>2010-03-06T05:32:21Z</updated>

    <summary><![CDATA[Sun Solaris 10 has been around for over four years now. Over this period of time, Sun has released several updates for Solaris 10. It is often confusing to decipher which release “update” is tied to the “month &amp; year”...]]></summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[Sun Solaris 10 has been around for over four years now. Over this period of time, Sun has released several updates for Solaris 10. It is often confusing to decipher which release “update” is tied to the “month &amp; year” of Solaris 10. Below is a paragraph detailing the Solaris 10 Updates and their month/year.

<ol style="list-style-type: decimal">
  <li>Solaris 10 - Update 1 - 1/06</li>

  <li>Solaris 10 - Update 2 - 6/06</li>

  <li>Solaris 10 - Update 3 - 11/06</li>

  <li>Solaris 10 - Update 4 - 08/07</li>

  <li>Solaris 10 - Update 5 - 05/08</li>

  <li>Solaris 10 - Update 6 - 10/08</li>

  <li>Solaris 10 - Update 7 - 05/09</li>

  <li>Solaris 10 - Update 8 - 10/09</li>
</ol><br />
<p>Type `cat /etc/release` to figure out which OS release the server is currently running.<br />
Remember, applying the latest patch cluster set to Solaris does not mean Solaris now has new features included with the latest OS release.</p>
<p>For example, if you want the newest features in Solaris 10 Update 8, you will need to install Solaris 10 Update 8 not install the latest patch cluster set on your currently running Solaris 10 Update 3 server.</p>
]]>
        
    </content>
</entry>

<entry>
    <title>Time Machine Backup Interval</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/03/time-machine-backup-interval.html" />
    <id>tag:baldwinsung.com,2010://1.262</id>

    <published>2010-03-05T23:04:55Z</published>
    <updated>2010-03-06T05:23:44Z</updated>

    <summary>Time Machine Backups internal is setup for every 3600 seconds/60 minutes/1 hour. To verify, change and confirm your Time Machine Backup Interval, here is what you need to do. Check the current: sudo defaults read /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval Change to new...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
    <category term="macos" label="MacOS" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="x" label="X" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[<p>Time Machine Backups internal is setup for every 3600 seconds/60 minutes/1 hour. To verify, change and confirm your Time Machine Backup Interval, here is what you need to do.</p>
<p></p>
<p>
Check the current:
</p><pre>
sudo defaults read /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval
<pre>

<p>
Change to new interval every 5 hours:
</p><pre>
sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 18000
<pre>

<p>
Confirm:
</p><pre>
sudo defaults read /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval
<pre>]]>
        
    </content>
</entry>

<entry>
    <title>find exec mv</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/01/find-exec-mv.html" />
    <id>tag:baldwinsung.com,2010://1.261</id>

    <published>2010-01-15T00:51:34Z</published>
    <updated>2010-03-06T04:06:50Z</updated>

    <summary>Everyday commands find . -name *.zip -exec mv {} /tmp/. \;...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[Everyday commands
<pre>
find . -name *.zip -exec mv {} /tmp/. \;
</pre>
]]>
        
    </content>
</entry>

<entry>
    <title>Disable transmitting Bonjour service advertisements on Mac</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/01/disable-transmitting-bonjour-service-advertisements-on-mac.html" />
    <id>tag:baldwinsung.com,2010://1.260</id>

    <published>2010-01-14T18:23:48Z</published>
    <updated>2010-03-06T04:47:08Z</updated>

    <summary>Referenced: http://support.apple.com/kb/HT3789--- Disable transmitting Bonjour service advertisements. You can use this advanced article if you are a network administrator who needs to disable Bonjour advertising service without disabling Bonjour queries and DNS. Products Affected Bonjour, Mac OS X 10.6, Bonjour...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="macosx" label="MacOS X" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[<p>Referenced: http://support.apple.com/kb/HT3789</p>---<br />
<p style="margin: 0.0px 0.0px 18.0px 0.0px; line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233">Disable transmitting Bonjour service advertisements. You can use this advanced article if you are a network administrator who needs to disable Bonjour advertising service without disabling Bonjour queries and DNS.</p>
<p style="line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #888888"><b>Products Affected</b></p>
<p style="line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #888888">Bonjour, Mac OS X 10.6, Bonjour</p>
<p style="margin: 0.0px 0.0px 18.0px 0.0px; line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233"><b>Important:</b> Follow these steps carefully. A malformed or problematic mDNSResponder.plist file may prevent your Mac from starting up. As a precaution, perform a full backup of your system with <a href="http://www.apple.com/macosx/what-is-macosx/time-machine.html"><span style="color: #2871a7">Time Machine</span></a>.</p>
<ol style="list-style-type: decimal">
  <li style="line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233">Make a back up copy of the mDNSResponder.plist file as a precaution.</li>

  <li style="line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233">Open the mDNSResponder.plist file in Terminal using your preferred text editor. Here is a sample command:<br />
  <span style="font: 12.0px Courier">sudo nano "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist"<br /></span></li>

  <li style="line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233">Add "&lt;string&gt;-NoMulticastAdvertisements&lt;/string&gt;" to the array in the "ProgramArguments" section.<br />
  <br />
  In other words:<br />
  <span style="font: 12.0px Courier">&nbsp;&nbsp;</span> <span style="font: 12.0px Courier; color: #800180">&lt;key&gt;ProgramArguments&lt;/key&gt;</span></li>

  <li style="line-height: 18.0px; font: 12.0px Courier; color: #800180">&nbsp;&nbsp; &lt;array&gt;</li>

  <li style="line-height: 18.0px; font: 12.0px Courier; color: #800180">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;string&gt;/usr/sbin/mDNSResponder&lt;/string&gt;</li>

  <li style="line-height: 18.0px; font: 12.0px Courier; color: #800180">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;string&gt;-launchd&lt;/string&gt;</li>

  <li style="line-height: 18.0px; font: 12.0px Courier; color: #800180">&nbsp;&nbsp; &lt;/array&gt;</li>

  <li style="line-height: 18.0px; font: 12.0px Courier; color: #800180"><br />
  <span style="font: 12.0px 'Lucida Grande'; color: #333233">becomes...<br /></span> &nbsp;&nbsp; &lt;key&gt;ProgramArguments&lt;/key&gt;</li>

  <li style="line-height: 18.0px; font: 12.0px Courier; color: #800180">&nbsp;&nbsp; &lt;array&gt;</li>

  <li style="line-height: 18.0px; font: 12.0px Courier; color: #800180">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;string&gt;/usr/sbin/mDNSResponder&lt;/string&gt;</li>

  <li style="line-height: 18.0px; font: 12.0px Courier; color: #800180">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;string&gt;-launchd&lt;/string&gt;</li>

  <li style="line-height: 18.0px; font: 12.0px Courier; color: #0702ff">&nbsp;&nbsp;&nbsp; &lt;string&gt;-NoMulticastAdvertisements&lt;/string&gt;</li>

  <li style="line-height: 18.0px; font: 12.0px Courier; color: #333233">&nbsp;&nbsp; <span style="color: #800180">&lt;/array&gt;</span></li>
</ol>
<p style="margin: 0.0px 0.0px 18.0px 0.0px; line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233"></p>
<ol style="list-style-type: decimal">
  <li style="line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233">Save the file. <b><br />
  <br />
  Important</b>: If you edited the file using emacs, you <span style="text-decoration: underline">must</span> remove the emacs backup file (the file with a tilde at the end of the name, "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist~") or your Mac will not start up.<br /></li>

  <li style="line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233">Restart your Mac.</li>
</ol>
<p style="line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233; min-height: 15.0px"><br /></p>
<p style="line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233">&nbsp;&nbsp; or</p>
<p style="line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233; min-height: 15.0px"><br /></p>
<p style="font: 12.0px Helvetica">launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist</p>
<p style="font: 12.0px Helvetica">launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist</p>
<p style="margin: 0.0px 0.0px 4.0px 0.0px; line-height: 18.0px; font: 14.0px 'Lucida Grande'; color: #333233; min-height: 17.0px"><br /></p>
<p style="margin: 0.0px 0.0px 4.0px 0.0px; line-height: 18.0px; font: 14.0px 'Lucida Grande'; color: #333233"><b>Additional Information</b></p>
<p style="margin: 0.0px 0.0px 18.0px 0.0px; line-height: 18.0px; font: 12.0px 'Lucida Grande'; color: #333233">Prior to Mac OS X v10.6, the only way for a network administrator to disable Bonjour advertising of services was to completely disable the mDNSResponder process, which also disabled Bonjour discovery of services (such as discovering network printers).</p><font color="#333233" face="'Lucida Grande'"><br /></font>
]]>
        
    </content>
</entry>

<entry>
    <title>Jumbo Frames &amp; Oracle</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/01/jumbo-frames-oracle.html" />
    <id>tag:baldwinsung.com,2010://1.259</id>

    <published>2010-01-05T15:29:07Z</published>
    <updated>2010-01-05T15:29:16Z</updated>

    <summary>Ethernet uses a Maximum Transfer Unit (MTU) of 1,500 bytes. This limits the maximum size of an Ethernet packet to 1,500 bytes. Larger I/O requests are split into multiple MTU-sized packets. Transmitting a large number of small packets impacts the...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Networking" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[Ethernet uses a Maximum Transfer Unit (MTU) of 1,500 bytes. This limits the maximum size of an Ethernet packet to 1,500 bytes. Larger I/O requests are split into multiple MTU-sized packets. Transmitting a large number of small packets impacts the host CPU by generating an excessive number of interrupts for each application I/O.<br />
Typical database environments transfer data in 2KB to 32KB sizes which always require multiple 1,500 byte packets per database I/O. Jumbo frames increase the device MTU size to a larger value (typically 9,000 bytes) allowing I/O requests to more frequently fit in one physical packet and reducing the number of frames required for larger I/O requests.
]]>
        
    </content>
</entry>

<entry>
    <title>Starting VMware Fusion from the Command Line</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/01/starting-vmware-fusion-from-the-command-line.html" />
    <id>tag:baldwinsung.com,2010://1.258</id>

    <published>2010-01-04T19:27:55Z</published>
    <updated>2010-01-04T19:28:03Z</updated>

    <summary> open /Applications/VMware\ Fusion.app/Contents/MacOS/vmware...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[

<pre>
open /Applications/VMware\ Fusion.app/Contents/MacOS/vmware
</pre>]]>
        
    </content>
</entry>

<entry>
    <title>Ping Success or Failure using Bash</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/01/ping-success-or-failure-using-bash.html" />
    <id>tag:baldwinsung.com,2010://1.257</id>

    <published>2010-01-04T18:56:00Z</published>
    <updated>2010-01-04T18:56:09Z</updated>

    <summary> #!/bin/bash if ping -c 1 hostfoo &gt; /dev/null then echo &quot;ping success&quot; else echo &quot;could not ping hostfoo. exiting...&quot; fi...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[<pre>
#!/bin/bash

if ping -c 1 hostfoo > /dev/null
   then
	echo "ping success"
   else
        echo "could not ping hostfoo. exiting..."
fi

</pre>]]>
        
    </content>
</entry>

<entry>
    <title>Automating SSH public key pushes with Perl</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/01/automating-ssh-public-key-pushes-with-perl.html" />
    <id>tag:baldwinsung.com,2010://1.256</id>

    <published>2010-01-04T18:18:28Z</published>
    <updated>2010-01-04T18:31:41Z</updated>

    <summary><![CDATA[Automating SSH public key pushes to servers. The code below uses Expect and SSH to create &amp; permission the .ssh directory. Followed by SSH copying the local temp file as the authorized_keys file to the .ssh subdir on the target...]]></summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Authentication" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Coding" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Security" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="coding" label="Coding" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[<p><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; font-size: 16px; color: #333333; font-weight: bold; line-height: 18px;">Automating SSH public key pushes to servers.</span><br /></p>
<p style="font-size: 1em; line-height: 1.3em; text-align: left; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; position: relative;"><span style="font-family: 'Lucida Grande', sans-serif; font-size: medium;"><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; color: #333333; line-height: 18px;">The code below uses Expect and SSH to create &amp; permission the .ssh directory. Followed by SSH copying the local temp file as the authorized_keys file to the .ssh subdir on the target server .</span></span></p>
<p style="font-size: 1em; line-height: 1.3em; text-align: left; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; position: relative;"><span style="font-family: 'Lucida Grande', sans-serif; font-size: medium;"><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; color: #333333; line-height: 18px;">Be sure to set StrictHostKeyChecking=no in the SSH client side config.</span></span></p>
<p style="font-size: 1em; line-height: 1.3em; text-align: left; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; position: relative;"><font color="#333333" face="'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif"><span style="line-height: 18px;">---</span></font></p>
<pre>
#!/usr/bin/perl

use strict;
use warnings;
use English;
use Expect;
use Net::Ping;
</pre>
<pre>
my $username = "USER";
my $password = "PASS";
my $homedir  = "\/export\/home\/$username";
my $ssh_dir  = "$homedir\/.ssh";
my $ssh_pub  = "
ssh-dss BLAH BLAH use your own public key file entry here.
";

if ( ! $ARGV[0] ) {
        print "$0  \n";
        exit
} 

my $host = "$ARGV[0]";
my $p 	 = Net::Ping->new();
if ( $p->ping($host) ) {
	print "Deploying public key to $host \n";
	create_ssh_dir();
	chmod_ssh_dir();
	push_ssh_key();
} else {
	print "Seems $host is not reachable \n";
}
$p->close();

sub create_ssh_dir {
my $ssh_cmd  = "/usr/bin/ssh $username\@$host 'mkdir $ssh_dir'";

my $timeout  = '5';
my $exp      = Expect-&gt;spawn($ssh_cmd) or die "Cannot spawn ssh command \n";
$exp-&gt;expect($timeout, ["Password:"]);
$exp-&gt;send("$password\n");
$exp-&gt;soft_close();
}

sub chmod_ssh_dir {
my $ssh_cmd  = "/usr/bin/ssh $username\@$host 'chmod 755 $ssh_dir'";

my $timeout  = '5';
my $exp      = Expect-&gt;spawn($ssh_cmd) or die "Cannot spawn ssh command \n";
$exp-&gt;expect($timeout, ["Password:"]);
$exp-&gt;send("$password\n");
$exp-&gt;soft_close();
}

sub push_ssh_key {
my $tmp_file  = "/tmp/authorized_keys.$$";
chomp $ssh_pub;

open  ( AUTHKEY, "&gt;$tmp_file") || die ("Unable to create $tmp_file\n");
print AUTHKEY "$ssh_pub" . "\n";
close ( AUTHKEY );

my $scp_cmd  = "/usr/bin/scp $tmp_file $username\@$host:$ssh_dir/authorized_keys";

my $timeout = '5';
my $exp = Expect-&gt;spawn($scp_cmd) or die "Cannot spawn scp command \n";
$exp-&gt;expect($timeout, ["Password:"]);
$exp-&gt;send("$password\n");
$exp-&gt;soft_close();

unlink("$tmp_file");
}
</pre>
]]>
        
    </content>
</entry>

<entry>
    <title>Write Chinese Characters using Trackpad on Mac</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2010/01/write-chinese-characters-using-trackpad-on-mac.html" />
    <id>tag:baldwinsung.com,2010://1.255</id>

    <published>2010-01-04T15:04:30Z</published>
    <updated>2010-01-04T15:04:38Z</updated>

    <summary>From http://www.apple.com/macosx/refinements Innovative Chinese character input. Until Snow Leopard, if you wanted to enter Chinese characters on a computer, you had to type in the phonetic spelling of Chinese words and the computer would convert them into proper Chinese characters....</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[<p>From http://www.apple.com/macosx/refinements</p>
<h3 style="margin-top: 0px; margin-right: 0px; margin-bottom: 9px; margin-left: 0px; padding-top: 30px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1.3em; font-weight: bold; font-style: normal; line-height: 18px; color: #000000; position: relative; zoom: 1;"><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; color: #333333; line-height: 18px;">Innovative Chinese character input.</span></h3>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; position: relative;"><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; color: #333333; line-height: 18px;">Until Snow Leopard, if you wanted to enter Chinese characters on a computer, you had to type in the phonetic spelling of Chinese words and the computer would convert them into proper Chinese characters. Snow Leopard offers a breakthrough new way to enter characters: You write them directly on the Multi-Touch trackpad in your Mac notebook. They’ll appear on the screen in a new input window, which recommends characters based on what you drew and lets you choose the right one. The input window even offers suggestions for subsequent characters based on what you chose.</span></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; position: relative;"><br /></p><img src="http://library.baldwinsung.com/Other/mac_chinese_trackpad.png" alt="Mac Chinese Trackpad" />
]]>
        
    </content>
</entry>

<entry>
    <title>Backup &amp; Restore Volume in Linux Single User Mode
</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2009/12/backup-restore-volume-in-linux-single-user-mode.html" />
    <id>tag:baldwinsung.com,2009://1.254</id>

    <published>2009-12-31T16:08:39Z</published>
    <updated>2009-12-31T16:08:48Z</updated>

    <summary> service network start ifconfig eth0 ip netmask service portmap start mkdir /tmp/remote mount -t nfs -o tcp,port=2049 nas:/volume1/share /tmp/remote rpm -ivh /tmp/remote/rmt* rpm -ivh /tmp/remote/dump* dump 0f /tmp/remote/host.dump /dev/VolGroup00/LogVol00 --- mkdir /tmp/local mount /dev/VolGroup00/LogVol00 /tmp/local cd /tmp/local restore rvf...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[
<pre>
service network start
ifconfig eth0 ip netmask
service portmap start

mkdir /tmp/remote
mount -t nfs -o tcp,port=2049 nas:/volume1/share /tmp/remote

rpm -ivh /tmp/remote/rmt*
rpm -ivh /tmp/remote/dump*

dump 0f /tmp/remote/host.dump /dev/VolGroup00/LogVol00

---

mkdir /tmp/local
mount /dev/VolGroup00/LogVol00 /tmp/local
cd /tmp/local
restore rvf /tmp/remote/host.dump &> /tmp/remote/host.log &

</pre>]]>
        
    </content>
</entry>

<entry>
    <title>Getting into B-School — Round 2 Essays — What Not to Do</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2009/12/getting-into-b-school-round-2-essays-what-not-to-do.html" />
    <id>tag:baldwinsung.com,2009://1.253</id>

    <published>2009-12-31T14:45:58Z</published>
    <updated>2009-12-31T14:46:08Z</updated>

    <summary>Following was from the BusinessWeek Forum. --- Getting into B-School — Round 2 Essays — What Not to Do From: timpower To: All You&apos;ve seen a large number of posts from us and many others on what you should do...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Education" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[<p>Following was from the BusinessWeek Forum.</p>
<p>---</p>
<p><span style="color: #333333; font-family: Arial, Helvetica, sans-serif; line-height: 14px;"><b>Getting into B-School — Round 2 Essays — What Not to Do</b><br style="line-height: 0.75em;" />
<br style="line-height: 0.75em;" />
From: timpower<br style="line-height: 0.75em;" />
To: All</span></p>
<blockquote>
  <span style="color: #333333; font-family: Arial, Helvetica, sans-serif; line-height: 14px;">You've seen a large number of posts from us and many others on what you should do with your essays. Knowing what not to do is probably as important, if not more, than what to do and our essay reviewers (alums from Wharton, HBS and Stanford) pulled together the list below for our blog at <a href="http://essaycritique.blogspot.com/" style="color: #064599; text-decoration: none;">http://essaycritique.blogspot.com</a><br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  <b>So, DON'T:</b><br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  1. Exceed the word count<br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  2. Use "I realized" ad nauseum - we actually have a tool that counts what we call absolutely overused essay phrases and this is top of the list..<br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  3. Gloss over the details - the AdCom is more interested in understanding the specifics of what you did than the broad, high level generalizations that you felt during the situation you are describing<br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  4. Say "I was enchanted" or enraptured or captured or any such magical sounding verb - c'mon, were you really?!<br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  5. Suggest that you were in the epicenter of the financial crisis and helped solve it - unless you really did.<br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  6. Say you volunteered or are a 'community service' type of guy if you are not. If you are, say where, when, how and how much.<br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  7. Use every essay to talk about your career. You need at least one "personal" essay, if not two (depending on the school that you are applying to)<br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  8. Blame everyone but yourself in your 'failure' essay. Even though you might not think you have, revisit it - we can't state how many people do this because its embarrassing.<br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  9. Ignore the question. As plainly obvious as this might sound, after you have written your essay, re-read your answer once to only check for this - have you answered each component of the question that is asked and done it justice?<br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  10. State the obvious. Let your discussion of situations and experiences naturally lead the reader to your conclusions - e.g., after describing a particularly challenging time in your life, don't say "this experience was extremely challenging" - they get it. Hope this helps - you know where to find me!<br style="line-height: 0.75em;" />
  <br style="line-height: 0.75em;" />
  Tim Power</span>
</blockquote>
]]>
        
    </content>
</entry>

<entry>
    <title>SSH Client Side Configuration</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2009/12/ssh-client-side-configuration.html" />
    <id>tag:baldwinsung.com,2009://1.252</id>

    <published>2009-12-25T00:54:06Z</published>
    <updated>2009-12-25T00:54:15Z</updated>

    <summary> Host * LogLevel=ERROR StrictHostKeyChecking=no ConnectTimeout=10...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[<pre>
Host *
     LogLevel=ERROR
     StrictHostKeyChecking=no
     ConnectTimeout=10
</pre>]]>
        
    </content>
</entry>

<entry>
    <title>Solaris 10 Disable GUI</title>
    <link rel="alternate" type="text/html" href="http://baldwinsung.com/2009/12/solaris-10-disable-gui.html" />
    <id>tag:baldwinsung.com,2009://1.251</id>

    <published>2009-12-24T06:08:56Z</published>
    <updated>2009-12-24T06:09:06Z</updated>

    <summary>Prior to Solaris 10, modifying the initdefault in /etc/inittab would determine if the the GUI was loaded upon boot up. With Solaris 10, use /usr/dt/bin/dtconfig -d /usr/dt/bin/dtconfig -e...</summary>
    <author>
        <name>Baldwin Sung</name>
        
    </author>
    
        <category term="Systems" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="solaris" label="Solaris" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sun" label="Sun" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://baldwinsung.com/">
        <![CDATA[<p>Prior to Solaris 10, modifying the initdefault in /etc/inittab would determine if the the GUI was loaded upon boot up. With Solaris 10, use</p>
<p>
<pre>
/usr/dt/bin/dtconfig -d
/usr/dt/bin/dtconfig -e
</pre>]]>
        
    </content>
</entry>

</feed>
