<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ipuh Blog</title>
	<atom:link href="http://blog.ipuh.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ipuh.org</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Tue, 18 Oct 2011 08:30:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ip alias mac os</title>
		<link>http://blog.ipuh.org/2010/09/29/ip-alias-mac-os/</link>
		<comments>http://blog.ipuh.org/2010/09/29/ip-alias-mac-os/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 07:22:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://blog.ipuh.org/?p=85</guid>
		<description><![CDATA[Open terminal: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Last login: Wed Sep 29 14:00:19 on console MacBook-Pro:~ agusr$ ifconfig lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 gif0: flags=8010 mtu 1280 stf0: flags=0&#38;lt;&#38;gt; mtu 1280 en0: [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-56" title="apple" src="http://blog.ipuh.org/wp-content/uploads/2010/09/apple2.png" alt="Apple Logo" width="102" height="102" /><br />
Open terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">Last <span style="color: #c20cb9; font-weight: bold;">login</span>: Wed Sep <span style="color: #000000;">29</span> <span style="color: #000000;">14</span>:00:<span style="color: #000000;">19</span> on console
MacBook-Pro:~ agusr$ <span style="color: #c20cb9; font-weight: bold;">ifconfig</span>
lo0: <span style="color: #007800;">flags</span>=<span style="color: #000000;">8049</span> mtu <span style="color: #000000;">16384</span>
	inet6 ::<span style="color: #000000;">1</span> prefixlen <span style="color: #000000;">128</span>
	inet6 fe80::<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">%</span>lo0 prefixlen <span style="color: #000000;">64</span> scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000
gif0: <span style="color: #007800;">flags</span>=<span style="color: #000000;">8010</span> mtu <span style="color: #000000;">1280</span>
stf0: <span style="color: #007800;">flags</span>=<span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">&amp;</span>lt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; mtu <span style="color: #000000;">1280</span>
en0: <span style="color: #007800;">flags</span>=<span style="color: #000000;">8863</span> mtu <span style="color: #000000;">1500</span>
	ether c4:2c:03:01:b3:<span style="color: #c20cb9; font-weight: bold;">ed</span>
	inet6 fe80::c62c:3ff:fe01:b3ed<span style="color: #000000; font-weight: bold;">%</span>en0 prefixlen <span style="color: #000000;">64</span> scopeid 0x4
	inet 203.30.236.125 netmask 0xfffffff8 broadcast 203.30.236.127
	media: autoselect <span style="color: #7a0874; font-weight: bold;">&#40;</span>100baseTX <span style="color: #7a0874; font-weight: bold;">&#41;</span>
	status: active
<span style="color: #660033;">----------</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">------------</span></pre></td></tr></table></div>

<p><span id="more-85"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">Primary active interface <span style="color: #ff0000;">&quot;en0&quot;</span>
&nbsp;
MacBook-Pro:~ agusr$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ifconfig</span> en0 <span style="color: #7a0874; font-weight: bold;">alias</span> 192.168.10.200 255.255.255.0
Password:
&nbsp;
MacBook-Pro:~ agusr$ <span style="color: #c20cb9; font-weight: bold;">ifconfig</span> en0
en0: <span style="color: #007800;">flags</span>=<span style="color: #000000;">8863</span> mtu <span style="color: #000000;">1500</span>
	ether c4:2c:03:01:b3:<span style="color: #c20cb9; font-weight: bold;">ed</span>
	inet6 fe80::c62c:3ff:fe01:b3ed<span style="color: #000000; font-weight: bold;">%</span>en0 prefixlen <span style="color: #000000;">64</span> scopeid 0x4
	inet 203.30.236.125 netmask 0xfffffff8 broadcast 203.30.236.127
	inet 192.168.10.200 netmask 0xffffff00 broadcast 255.255.255.0
	media: autoselect <span style="color: #7a0874; font-weight: bold;">&#40;</span>100baseTX <span style="color: #7a0874; font-weight: bold;">&#41;</span>
	status: active</pre></td></tr></table></div>

<p>Now how to remove ip alias ?<br />
Just type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">MacBook-Pro:~ agusr$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ifconfig</span> en0 <span style="color: #660033;">-alias</span> 192.168.10.200 255.255.255.0</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.ipuh.org/2010/09/29/ip-alias-mac-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install jre6 centos 5</title>
		<link>http://blog.ipuh.org/2010/09/20/install-jre6-centos-5/</link>
		<comments>http://blog.ipuh.org/2010/09/20/install-jre6-centos-5/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 12:00:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://blog.ipuh.org/?p=41</guid>
		<description><![CDATA[Download needed packages at java.sun.com using Java SE Development Kit 6u21 32bit-kernel architecture with rpm package. jre-6u21-linux-i586-rpm.bin 19.74 MB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 root@1til javas&#93;# ./jre-6u21-linux-i586-rpm.bin Unpacking... Checksumming... Extracting... UnZipSFX 5.50 of 17 February 2002, by Info-ZIP &#40;Zip-Bugs@lists.wku.edu&#41;. inflating: jre-6u21-linux-i586.rpm Preparing... [...]]]></description>
			<content:encoded><![CDATA[<p><a href="#"><img src="http://blog.ipuh.org/wp-content/uploads/2010/09/centos_icon_60.png" alt="" title="CentOS" width="63" height="60" class="alignnone size-full wp-image-58" /></a><br />
Download needed packages at <a href="http://java.sun.com/javase/downloads/index.jsp">java.sun.com</a></p>
<p>using Java SE Development Kit 6u21 32bit-kernel architecture with rpm package.<br />
 jre-6u21-linux-i586-rpm.bin	 19.74 MB<br />
<span id="more-41"></span></p>
<p><img src="http://blog.ipuh.org/wp-content/uploads/2010/09/java-logo-2-225x300.png" alt="" title="java-logo-2" width="225" height="300" class="alignnone size-medium wp-image-59" /></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>1til javas<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ./jre-6u21-linux-i586-rpm.bin </span>
Unpacking...
Checksumming...
Extracting...
UnZipSFX <span style="color: #000000;">5.50</span> of <span style="color: #000000;">17</span> February <span style="color: #000000;">2002</span>, by Info-ZIP <span style="color: #7a0874; font-weight: bold;">&#40;</span>Zip-Bugs<span style="color: #000000; font-weight: bold;">@</span>lists.wku.edu<span style="color: #7a0874; font-weight: bold;">&#41;</span>.
  inflating: jre-6u21-linux-i586.rpm  
Preparing...                <span style="color: #666666; font-style: italic;">########################################### [100%]</span>
   <span style="color: #000000;">1</span>:jre                    <span style="color: #666666; font-style: italic;">########################################### [100%]</span>
Unpacking JAR files...
	rt.jar...
	jsse.jar...
	charsets.jar...
	localedata.jar...
	plugin.jar...
	javaws.jar...
	deploy.jar...
&nbsp;
Done.</pre></td></tr></table></div>

<p>apply on CentOS release 5.5 (Final)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ipuh.org/2010/09/20/install-jre6-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install jdk6 centos 5</title>
		<link>http://blog.ipuh.org/2010/09/20/install-jdk6-centos-5/</link>
		<comments>http://blog.ipuh.org/2010/09/20/install-jdk6-centos-5/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 11:46:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://blog.ipuh.org/?p=36</guid>
		<description><![CDATA[i&#8217;m using Java SE Development Kit 6u21 32bit-kernel architecture with rpm package. jdk-6u21-linux-i586-rpm.bin 75.81 MB Download needed packages at java.sun.com 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="#"><img src="http://blog.ipuh.org/wp-content/uploads/2010/09/centos_icon_60.png" alt="" title="CentOS" width="63" height="60" class="alignnone size-full wp-image-58" /></a><br />
i&#8217;m using Java SE Development Kit 6u21 32bit-kernel architecture with rpm package.<br />
jdk-6u21-linux-i586-rpm.bin	 75.81 MB<br />
<span id="more-36"></span></p>
<p><img src="http://blog.ipuh.org/wp-content/uploads/2010/09/java-logo-2-225x300.png" alt="" title="java-logo-2" width="225" height="300" class="alignnone size-medium wp-image-59" /><br />
Download needed packages at <a href="http://java.sun.com/javase/downloads/index.jsp">java.sun.com</a></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>troll javas<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ./jdk-6u21-linux-i586-rpm.bin </span>
Unpacking...
Checksumming...
Extracting...
UnZipSFX <span style="color: #000000;">5.50</span> of <span style="color: #000000;">17</span> February <span style="color: #000000;">2002</span>, by Info-ZIP <span style="color: #7a0874; font-weight: bold;">&#40;</span>Zip-Bugs<span style="color: #000000; font-weight: bold;">@</span>lists.wku.edu<span style="color: #7a0874; font-weight: bold;">&#41;</span>.
  inflating: jdk-6u21-linux-i586.rpm  
  inflating: sun-javadb-common-10.5.3-<span style="color: #000000;">0.2</span>.i386.rpm  
  inflating: sun-javadb-core-10.5.3-<span style="color: #000000;">0.2</span>.i386.rpm  
  inflating: sun-javadb-client-10.5.3-<span style="color: #000000;">0.2</span>.i386.rpm  
  inflating: sun-javadb-demo-10.5.3-<span style="color: #000000;">0.2</span>.i386.rpm  
  inflating: sun-javadb-docs-10.5.3-<span style="color: #000000;">0.2</span>.i386.rpm  
  inflating: sun-javadb-javadoc-10.5.3-<span style="color: #000000;">0.2</span>.i386.rpm  
Preparing...                <span style="color: #666666; font-style: italic;">########################################### [100%]</span>
   <span style="color: #000000;">1</span>:jdk                    <span style="color: #666666; font-style: italic;">########################################### [100%]</span>
Unpacking JAR files...
	rt.jar...
	jsse.jar...
	charsets.jar...
	tools.jar...
	localedata.jar...
	plugin.jar...
	javaws.jar...
	deploy.jar...
Installing JavaDB
Preparing...                <span style="color: #666666; font-style: italic;">########################################### [100%]</span>
   <span style="color: #000000;">1</span>:sun-javadb-common      <span style="color: #666666; font-style: italic;">########################################### [ 17%]</span>
   <span style="color: #000000;">2</span>:sun-javadb-core        <span style="color: #666666; font-style: italic;">########################################### [ 33%]</span>
   <span style="color: #000000;">3</span>:sun-javadb-client      <span style="color: #666666; font-style: italic;">########################################### [ 50%]</span>
   <span style="color: #000000;">4</span>:sun-javadb-demo        <span style="color: #666666; font-style: italic;">########################################### [ 67%]</span>
   <span style="color: #000000;">5</span>:sun-javadb-docs        <span style="color: #666666; font-style: italic;">########################################### [ 83%]</span>
   <span style="color: #000000;">6</span>:sun-javadb-javadoc     <span style="color: #666666; font-style: italic;">########################################### [100%]</span>
&nbsp;
Java<span style="color: #7a0874; font-weight: bold;">&#40;</span>TM<span style="color: #7a0874; font-weight: bold;">&#41;</span> SE Development Kit <span style="color: #000000;">6</span> successfully installed.
&nbsp;
Product Registration is FREE and includes many benefits:
<span style="color: #000000; font-weight: bold;">*</span> Notification of new versions, patches, and updates
<span style="color: #000000; font-weight: bold;">*</span> Special offers on Sun products, services and training
<span style="color: #000000; font-weight: bold;">*</span> Access to early releases and documentation
&nbsp;
Product and system data will be collected. If your configuration
supports a browser, the Sun Product Registration form <span style="color: #000000; font-weight: bold;">for</span> 
the JDK will be presented. If you <span style="color: #000000; font-weight: bold;">do</span> not register, none of
this information will be saved. You may also register your
JDK later by opening the register.html <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>located <span style="color: #000000; font-weight: bold;">in</span> 
the JDK installation directory<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">in</span> a browser.
&nbsp;
For <span style="color: #c20cb9; font-weight: bold;">more</span> information on what data Registration collects and 
how it is managed and used, see:
http:<span style="color: #000000; font-weight: bold;">//</span>java.sun.com<span style="color: #000000; font-weight: bold;">/</span>javase<span style="color: #000000; font-weight: bold;">/</span>registration<span style="color: #000000; font-weight: bold;">/</span>JDKRegistrationPrivacy.html
&nbsp;
Press Enter to continue.....
&nbsp;
&nbsp;
Done.</pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>troll javas<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># java [tab tab]</span>
java     javac    javadoc  javaws   
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>troll javas<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># java -version</span>
java version <span style="color: #ff0000;">&quot;1.6.0_21&quot;</span>
Java<span style="color: #7a0874; font-weight: bold;">&#40;</span>TM<span style="color: #7a0874; font-weight: bold;">&#41;</span> SE Runtime Environment <span style="color: #7a0874; font-weight: bold;">&#40;</span>build 1.6.0_21-b06<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Java HotSpot<span style="color: #7a0874; font-weight: bold;">&#40;</span>TM<span style="color: #7a0874; font-weight: bold;">&#41;</span> Client VM <span style="color: #7a0874; font-weight: bold;">&#40;</span>build <span style="color: #000000;">17.0</span>-b16, mixed mode, sharing<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>troll javas<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># javac -version</span>
javac 1.6.0_21
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>troll javas<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># javaws -version</span>
Java<span style="color: #7a0874; font-weight: bold;">&#40;</span>TM<span style="color: #7a0874; font-weight: bold;">&#41;</span> Web Start 1.6.0_21 
Usage:	javaws <span style="color: #7a0874; font-weight: bold;">&#91;</span>run-options<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&lt;</span>jnlp-file<span style="color: #000000; font-weight: bold;">&gt;</span>	
      	javaws <span style="color: #7a0874; font-weight: bold;">&#91;</span>control-options<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></td></tr></table></div>

<p>apply on CentOS release 5.5 (Final)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ipuh.org/2010/09/20/install-jdk6-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>catalyst 64-bit counters</title>
		<link>http://blog.ipuh.org/2010/08/28/catalyst-64-bit-counters/</link>
		<comments>http://blog.ipuh.org/2010/08/28/catalyst-64-bit-counters/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 17:43:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://blog.ipuh.org/?p=33</guid>
		<description><![CDATA[Stickies from: cisco &#8211; SNMP Counters Q. When should 64-bit counters be used? A. RFC 2233 leavingcisco.com adopted expanded 64-bit counters for high capacity interfaces in which 32-bit counters do not provide enough capacity and wrap too fast. As the speed of network media increases, the minimum time in which a 32-bit counter wraps decreases. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.ipuh.org/wp-content/uploads/2010/09/cisco.png" alt="" title="cisco logo" width="128" height="128" class="alignnone size-full wp-image-81" />Stickies from: <a href="http://www.cisco.com/en/US/tech/tk648/tk362/technologies_q_and_a_item09186a00800b69ac.shtml">cisco &#8211; SNMP Counters</a><br />
<span id="more-33"></span><br />
Q. When should 64-bit counters be used?</p>
<p>    A. RFC 2233 leavingcisco.com adopted expanded 64-bit counters for high capacity interfaces in which 32-bit counters do not provide enough capacity and wrap too fast.</p>
<p>    As the speed of network media increases, the minimum time in which a 32-bit counter wraps decreases. For example, a 10 Mbps stream of back-to-back, full-size packets causes ifInOctets to wrap in just over 57 minutes. At 100 Mbps, the minimum wrap time is 5.7 minutes, and at 1 Gbps, the minimum is 34 seconds.</p>
<p>    Note: The SNMP counters wrap, the command line interface (CLI) counters do not.</p>
<p>    For interfaces that operate at 20,000,000 (20 million) bits per second or less, you must use 32-bit byte and packet counters. For interfaces that operate faster than 20 million bits per second, and slower than 650,000,000 bits per second, you must use 32-bit packet counters and 64-bit octet counters. For interfaces that operate at 650,000,000 bits/second or faster, 64-bit packet and octet counters must be used.</p>
<p>    Correspondingly, Cisco IOS® Software does not support 64-bit counters for interface speeds of less than 20 Mbps. This means that 64-bit counters are not supported on 10 Mb Ethernet ports, only 100 Mb Fast-Ethernet and other high speed ports support 64-bit counters.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ipuh.org/2010/08/28/catalyst-64-bit-counters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>winxp cmd change dns</title>
		<link>http://blog.ipuh.org/2010/08/25/winxp-cmd-change-dns/</link>
		<comments>http://blog.ipuh.org/2010/08/25/winxp-cmd-change-dns/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 16:07:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://blog.ipuh.org/?p=28</guid>
		<description><![CDATA[run -> cmd 1 2 C:\ &#62; netsh interface ip set dns /? C:\ &#62; netsh interface ip set dns &#34;Local Area Connection&#34; static 8.8.8.8 primary]]></description>
			<content:encoded><![CDATA[<p>run -> cmd</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">C:\ <span style="color: #000000; font-weight: bold;">&gt;</span> netsh interface ip <span style="color: #000000; font-weight: bold;">set</span> dns <span style="color: #000000; font-weight: bold;">/</span>?
C:\ <span style="color: #000000; font-weight: bold;">&gt;</span> netsh interface ip <span style="color: #000000; font-weight: bold;">set</span> dns <span style="color: #ff0000;">&quot;Local Area Connection&quot;</span> static 8.8.8.8 primary</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.ipuh.org/2010/08/25/winxp-cmd-change-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>perl find replace</title>
		<link>http://blog.ipuh.org/2010/08/19/perl-find-replace/</link>
		<comments>http://blog.ipuh.org/2010/08/19/perl-find-replace/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 21:01:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[perl]]></category>
		<category><![CDATA[stickies]]></category>

		<guid isPermaLink="false">http://blog.ipuh.org/?p=19</guid>
		<description><![CDATA[@ shell command line search and replace in all *.txt files perl -pi -e 's/maksudnya/kamsudnya/' *.txt # backup *.txt file before perl -pi -i.bak -e 's/maksudnya/kamsudnya/' *.txt]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://cdn.pimg.net/images/lcamel.vcf3914e.gif" title="camel head" class="alignleft" width="60" height="65" /></p>
<p>@ shell command line<br />
search and replace in all *.txt files</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">perl</span> <span style="color: #660033;">-pi</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/maksudnya/kamsudnya/'</span> <span style="color: #000000; font-weight: bold;">*</span>.txt</pre></div></div>

<p><span id="more-19"></span></p>
<p># backup *.txt file before</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">perl</span> <span style="color: #660033;">-pi</span> -i.bak <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/maksudnya/kamsudnya/'</span> <span style="color: #000000; font-weight: bold;">*</span>.txt</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.ipuh.org/2010/08/19/perl-find-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>screenshot location mac</title>
		<link>http://blog.ipuh.org/2010/08/19/screenshot-location-mac/</link>
		<comments>http://blog.ipuh.org/2010/08/19/screenshot-location-mac/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 19:08:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[stickies]]></category>

		<guid isPermaLink="false">http://blog.ipuh.org/?p=15</guid>
		<description><![CDATA[To change the default location for screen captures / screenshot on snow leopard. Open a Terminal window and type : mbp13:~ agusr$ defaults write com.apple.screencapture location /Users/agusr/Downloads/tmp mbp13:~ agusr$ killall SystemUIServer]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-56 aligncenter" title="apple" src="http://blog.ipuh.org/wp-content/uploads/2010/09/apple2.png" alt="Apple Logo" width="102" height="102" /></p>
<p>To change the default location for screen captures / screenshot on snow leopard.<br />
Open a Terminal window and type :<br />
<span id="more-15"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mbp13:~ agusr$ defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.screencapture location <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>agusr<span style="color: #000000; font-weight: bold;">/</span>Downloads<span style="color: #000000; font-weight: bold;">/</span>tmp
mbp13:~ agusr$ <span style="color: #c20cb9; font-weight: bold;">killall</span> SystemUIServer</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.ipuh.org/2010/08/19/screenshot-location-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>screenshot on Mac OS</title>
		<link>http://blog.ipuh.org/2010/08/18/screenshot-on-mac-os/</link>
		<comments>http://blog.ipuh.org/2010/08/18/screenshot-on-mac-os/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 09:57:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[stickies]]></category>

		<guid isPermaLink="false">http://blog.ipuh.org/?p=90</guid>
		<description><![CDATA[Stickie from guides.macrumors.com How do I create a screenshot on Mac OS To create a screenshot on a Mac, use the following commands: Apple (Command) Key +Shift+3 Captures a picture of the entire desktop, which is saved on the desktop as a file called &#8216;picture #&#8217;. This option lets you capture the whole screen. If [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-56" title="apple" src="http://blog.ipuh.org/wp-content/uploads/2010/09/apple2.png" alt="Apple Logo" width="102" height="102" /></p>
<div id="_mcePaste">Stickie from <a title="Open guides" href="http://guides.macrumors.com/Taking_Screenshots_in_Mac_OS_X" target="_blank">guides.macrumors.com</a></div>
<div>How do I create a screenshot on Mac OS</div>
<div id="_mcePaste">To create a screenshot on a Mac, use the following commands:</div>
<div>
<div><strong>Apple (Command) Key +Shift+3 </strong></div>
<div>Captures a picture of the entire desktop, which is saved on the desktop as a file called &#8216;picture #&#8217;. This option lets you capture the whole screen. If you want just one window on your screen, you will have to edit the picture using image editing software (or use one of the other commands, instead).</div>
</div>
<p><span id="more-90"></span></p>
<p><strong>Apple (Command) Key +Shift+4<br />
</strong>Allows you to use your mouse to select a specific part of your desktop for capture. When your mouse pointer turns into an &#8220;x&#8221;, hold down the mouse button and drag to select the part of the screen you want. When you release the button, the screenshot will capture the selected part of the screen.  Press Esc to release.</p>
<p><strong>Apple (Command) Key +Shift+4</strong> then <strong>press Spacebar</strong><br />
Allows you to select which window to capture.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ipuh.org/2010/08/18/screenshot-on-mac-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vim rc</title>
		<link>http://blog.ipuh.org/2010/08/18/vim-rc/</link>
		<comments>http://blog.ipuh.org/2010/08/18/vim-rc/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 14:50:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[stickies]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://blog.ipuh.org/?p=5</guid>
		<description><![CDATA[file : ~/.vimrc 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 cat ~/.vimrc &#160; syn on set autoindent set smartindent set tabstop=4 set history=1000 set ignorecase set shiftwidth=4 set sc set wmnu set ls=2 set ruler set comments=b:#,:%,fb:-,n:&#38;gt;,n:&#41;,sr:/*,mb:*,ex:*/,b:// set hidden set statusline=&#91;%n&#93;&#91;%f&#93;%y%m%=&#91;Ch:%b&#93;&#91;strLen:%o&#93;&#91;Lines:%L&#93;&#91;Row:%l&#93;&#91;Col:%c&#93;&#91;%p%%&#93; set paste set [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://upload.wikimedia.org/wikipedia/commons/4/4a/Vim_gloss_128.png" title="Vim gloss" class="alignleft" width="128" height="128" /><br />
file : ~/.vimrc<br />
<span id="more-5"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="vim" style="font-family:monospace;"><span style="color: #804040;">cat</span> <span style="color: #000000;">~/.</span>vimrc
&nbsp;
<span style="color: #668080;">syn</span> <span style="color: #25BB4D;">on</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">autoindent</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">smartindent</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">tabstop</span>=<span style="color: #000000; font-weight:bold;">4</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">history</span>=<span style="color: #000000; font-weight:bold;">1000</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">ignorecase</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">shiftwidth</span>=<span style="color: #000000; font-weight:bold;">4</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">sc</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">wmnu</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">ls</span>=<span style="color: #000000; font-weight:bold;">2</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">ruler</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">comments</span>=b<span style="color: #000000;">:</span>#,<span style="color: #000000;">:%</span>,fb<span style="color: #000000;">:-</span>,n<span style="color: #000000;">:&amp;</span>gt;,n<span style="color: #000000;">:</span><span style="color: #000000;">&#41;</span>,<span style="color: #668080;">sr</span><span style="color: #000000;">:/*</span>,mb<span style="color: #000000;">:*</span>,<span style="color: #668080;">ex</span><span style="color: #000000;">:*/</span>,b<span style="color: #000000;">://</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">hidden</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">statusline</span>=<span style="color: #000000;">&#91;</span><span style="color: #000000;">%</span>n<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">%</span>f<span style="color: #000000;">&#93;</span><span style="color: #000000;">%</span>y<span style="color: #000000;">%</span>m<span style="color: #000000;">%</span>=<span style="color: #000000;">&#91;</span>Ch<span style="color: #000000;">:%</span>b<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span>strLen<span style="color: #000000;">:%</span>o<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span>Lines<span style="color: #000000;">:%</span>L<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span>Row<span style="color: #000000;">:%</span>l<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span>Col<span style="color: #000000;">:%</span>c<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">%</span>p<span style="color: #000000;">%%</span><span style="color: #000000;">&#93;</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">paste</span>
<span style="color: #804040;">set</span> <span style="color: #668080;">bs</span>=<span style="color: #000000; font-weight:bold;">2</span><span style="color: #adadad; font-style: italic;">  &quot; allow backspacing over everything in insert mode map  :r! date</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.ipuh.org/2010/08/18/vim-rc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

