<?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"
	>

<channel>
	<title>PeaceData</title>
	<atom:link href="http://peacedata.info/feed/en+ru/" rel="self" type="application/rss+xml" />
	<link>http://peacedata.info</link>
	<description>costsaving means worksaving</description>
	<pubDate>Fri, 21 Nov 2008 21:23:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Isn&#8217;t it beautiful</title>
		<link>http://peacedata.info/2008/11/21/isnt-it-beautiful/en/</link>
		<comments>http://peacedata.info/2008/11/21/isnt-it-beautiful/en/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 21:20:24 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=276</guid>
		<description><![CDATA[
The Helio Ocean by Pantech is the first major handset announcement out of the annual CTIA  conference. Highlighted by a unique dual-slide form factor, the Ocean is the most unique Helio handset by far. Executives at the startup carrier have been buzzing about the device and noted that this device has actually been in [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-277 alignnone" style="border: 1px solid #555;" title="helio ocean qwerty" src="http://peacedata.info/wp-content/uploads/helio-ocean-qwerty.jpg" alt="" width="450" height="345" /></p>
<p>The <strong>Helio Ocean</strong> by Pantech is the first major handset announcement out of the annual CTIA  conference. Highlighted by a unique dual-slide form factor, the Ocean is the most unique Helio handset by far. Executives at the startup carrier have been buzzing about the device and noted that this device has actually been in development since before Helio was officially a company.</p>
<p>The Ocean has both a numerical keypad and QWERTYkeyboard. With the numerical keypad slid out the device looks like a conventional slide-style handset and behaves as a phone. With the QWERTY slid out the Ocean transforms into what&#8217;s best described as a Sidekick competitor.</p>
<blockquote><p>“Finally, you don’t have to choose between a device that’s good for talking but a nightmare for messaging, or one that’s good at messaging but feels like you’re holding a brick up to your face when you try to make a call,” said Sky Dayton, CEO of Helio</p></blockquote>
<p>Features of the Helio Ocean include:</p>
<ul>
<li>QVGAscreen with 260k colors</li>
<li>200 MB internal memory plus microSD card slot (USB mass storage mode supported)</li>
<li>EV-DO 3G data</li>
<li>2 megapixel camera</li>
<li>Media player with support for MP3, AAC, WMA, MPEG-4, H.264, VOD and MOD</li>
<li>GPS</li>
<li>Stereo Bluetooth</li>
<li>POP, IMAP, Exchange email support (plus popular web mail)</li>
<li>Full HTML browser</li>
</ul>
<p>The Helio Ocean will go on sale later this Spring for an estimated $295. It&#8217;s an exclusive to Helio. <em>MobileTracker</em> will have more on the Ocean as soon as we get a hands-on look.
</p>
<p style="text-align: center;"><img class="size-full wp-image-278 alignnone" title="helio ocean vertical" src="http://peacedata.info/wp-content/uploads/helio-ocean-vertical.jpg" alt="" width="358" height="804" /></p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/11/21/isnt-it-beautiful/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>google sync</title>
		<link>http://peacedata.info/2008/11/21/google-sync/en/</link>
		<comments>http://peacedata.info/2008/11/21/google-sync/en/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 20:37:16 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Application]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[blackberry]]></category>

		<category><![CDATA[calendar]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=269</guid>
		<description><![CDATA[Well, google has the mobile version of google calendar. So, you have access to you plans and events from everywhere. But, what if you&#8217;re somewhere, where are no mobile networks? On island in the middle of the ocean or at least at the subway?
No Problem. You can sync your BlackBerry calendar with google one. And [...]]]></description>
			<content:encoded><![CDATA[<p>Well, google has the mobile version of google calendar. So, you have access to you plans and events from everywhere. But, what if you&#8217;re somewhere, where are no mobile networks? On island in the middle of the ocean or at least at the subway?</p>
<p>No Problem. You can sync your BlackBerry calendar with google one. And you always be in  touch with you timetable. Just visit the <a href="http://m.google.com/sync" target="_blank">http://m.google.com/sync</a> with you mobile phone and install Google Sync for mobile.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/11/21/google-sync/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>PHP 5.2.7 RC3</title>
		<link>http://peacedata.info/2008/11/09/php-527-rc3/en/</link>
		<comments>http://peacedata.info/2008/11/09/php-527-rc3/en/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 07:48:51 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=265</guid>
		<description><![CDATA[PHP 5.2.7 RC3 is out.
Sources can be found at http://qa.php.net/
The release can be availbale on thursday.
]]></description>
			<content:encoded><![CDATA[<p>PHP 5.2.7 RC3 is out.</p>
<p>Sources can be found at <a href="http://qa.php.net/">http://qa.php.net/</a></p>
<p>The release can be availbale on thursday.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/11/09/php-527-rc3/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>Picasa for iPhone</title>
		<link>http://peacedata.info/2008/10/31/picasa-for-iphone/en/</link>
		<comments>http://peacedata.info/2008/10/31/picasa-for-iphone/en/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 22:41:31 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Google]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[ipod]]></category>

		<category><![CDATA[Mobile]]></category>

		<category><![CDATA[picasa]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=263</guid>
		<description><![CDATA[How I couldn&#8217;t continue the previous post? Google has launched special version of Picasa for iPhone (iPod Touch). Regular Picasa for web browsers are using a lot of AJAXy things and do not work on iPhone by default.  But special new version is great!


It seems that I&#8217;ll start using  Picasa.
]]></description>
			<content:encoded><![CDATA[<p>How I couldn&#8217;t continue <a href="http://peacedata.info/2008/10/28/google-na-iphone/en/" target="_blank">the previous post</a>? Google has launched special version of Picasa for iPhone (iPod Touch). Regular Picasa for web browsers are using a lot of AJAXy things and do not work on iPhone by default.  But special new version is great!<br />
<center><br />
<div id="attachment_250" class="wp-caption alignnone" style="width: 330px"><img class="size-full wp-image-250" title="Picasa List View" src="http://peacedata.info/wp-content/uploads/01-home-2.png" alt="Picasa List View" width="320" height="480" /><p class="wp-caption-text">Picasa List View</p></div></p>
<div id="attachment_251" class="wp-caption alignnone" style="width: 330px"><img class="size-full wp-image-251" title="Picasa Image View" src="http://peacedata.info/wp-content/uploads/05-photo3.png" alt="Picasa Image View" width="320" height="480" /><p class="wp-caption-text">Picasa Image View</p></div>
<p><div id="attachment_252" class="wp-caption alignnone" style="width: 490px"><img class="size-full wp-image-252" title="Picasa Landscape Image View" src="http://peacedata.info/wp-content/uploads/picasa_picture_on_iphone.jpg" alt="Picasa Landscape Image View" width="480" height="320" /><p class="wp-caption-text">Picasa Landscape Image View</p></div><br />
</center><br />
It seems that I&#8217;ll start using  <a href="http://picasa.google.com/" target="_self">Picasa</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/10/31/picasa-for-iphone/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>Google on iPhone</title>
		<link>http://peacedata.info/2008/10/29/google-on-iphone/en/</link>
		<comments>http://peacedata.info/2008/10/29/google-on-iphone/en/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 22:04:14 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Google]]></category>

		<category><![CDATA[apple]]></category>

		<category><![CDATA[gmail]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[ipod]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=244</guid>
		<description><![CDATA[Glad to inform, that Google folks do not waste their free 20% time. There is available special version of Google and Gmail for iPhone (and iPod Touch):


]]></description>
			<content:encoded><![CDATA[<p>Glad to inform, that Google folks do not waste their free 20% time. There is available special version of Google and Gmail for iPhone (and iPod Touch):<br />
<center><br />
<div id="attachment_239" class="wp-caption aligncenter" style="width: 330px"><a href="http://peacedata.info/wp-content/uploads/googlesuggest-on-iphone.png"><img class="size-full wp-image-239" title="Google Suggest On iPhone" src="http://peacedata.info/wp-content/uploads/googlesuggest-on-iphone.png" alt="Google Suggest On iPhone" width="320" height="480" /></a><p class="wp-caption-text">Google Suggest On iPhone</p></div></p>
<div id="attachment_240" class="wp-caption aligncenter" style="width: 330px"><a href="http://peacedata.info/wp-content/uploads/googlesearch-on-iphone.png"><img class="size-full wp-image-240" title="Google Search On iPhone" src="http://peacedata.info/wp-content/uploads/googlesearch-on-iphone.png" alt="Google Search On iPhone" width="320" height="480" /></a><p class="wp-caption-text">Google Search On iPhone</p></div>
<p><div id="attachment_241" class="wp-caption aligncenter" style="width: 330px"><a href="http://peacedata.info/wp-content/uploads/gmail-on-iphone.png"><img class="size-full wp-image-241" title="Gmail on iPhone" src="http://peacedata.info/wp-content/uploads/gmail-on-iphone.png" alt="Gmail on iPhone" width="320" height="480" /></a><p class="wp-caption-text">Gmail on iPhone</p></div><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/10/29/google-on-iphone/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>Blue circle on the map</title>
		<link>http://peacedata.info/2008/10/28/blue-circle-on-the-map/en/</link>
		<comments>http://peacedata.info/2008/10/28/blue-circle-on-the-map/en/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 21:15:42 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Google]]></category>

		<category><![CDATA[map]]></category>

		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=230</guid>
		<description><![CDATA[Google Maps for mobile phones now has the great feature - it can define your current location. You should just press &#8220;0&#8243; key on your phone - and map will indicate your approximate location by centering on a blue circle like this



It is important that you don&#8217;t require GPS-receiver. Ok, if you have GPS, then [...]]]></description>
			<content:encoded><![CDATA[<p>Google Maps for mobile phones now has the great feature - it can define your current location. You should just press &#8220;0&#8243; key on your phone - and map will indicate your approximate location by centering on a blue circle like this</p>
<p><center><br />
<img class="aligncenter size-full wp-image-219" title="Blue Circle" src="http://peacedata.info/wp-content/uploads/blue_dot_mylocation.gif" alt="" /><br />
</center></p>
<p>It is important that you don&#8217;t require GPS-receiver. Ok, if you have GPS, then Google Maps will use it. The accuracy  of coordinates will be better. In opposite case the Google Maps will use triangulation methods using signals from base stations.</p>
<p>To install the application on your cell phone, point your mobile browser to this link <a href="http://www.google.com/gmm" target="_blank">www.google.com/gmm</a>.</p>
<p>This video describes details of this technology in Google Maps<br />
<center><br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/v6gqipmbcok&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/v6gqipmbcok&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object><br />
</center></p>
<p>To be honest, I have to say, that in Kiev this function have not work. At least on my phone.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/10/28/blue-circle-on-the-map/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>Google Mobile Blog</title>
		<link>http://peacedata.info/2008/10/28/google-mobile-blog/en/</link>
		<comments>http://peacedata.info/2008/10/28/google-mobile-blog/en/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 22:00:55 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Mobile]]></category>

		<category><![CDATA[android]]></category>

		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=207</guid>
		<description><![CDATA[
To support Android Google has launched new blog: Google Mobile Blog.  While it is too early to use and it is only one  device based on this system, I  will use Symbian UIQ or something. But mobile.google.com is on bookmarks despite of everything.
]]></description>
			<content:encoded><![CDATA[<p><center><img class="size-full wp-image-206" title="google mobile blog" src="http://peacedata.info/wp-content/uploads/google-mobile-blog.png" alt="google mobile blog" width="500" height="129" /></center><br />
To support <a title="Android" href="http://code.google.com/android/" target="_blank">Android</a> Google has launched new blog: <a title="Mobile Blog" href="http://googlemobile.blogspot.com" target="_blank">Google Mobile Blog</a>.  While it is too early to use and it is only one  device based on this system, I  will use Symbian UIQ or something. But <a title="mobile.google.com" href="http://mobile.google.com/" target="_blank">mobile.google.com</a> is on bookmarks despite of everything.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/10/28/google-mobile-blog/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>The Open Source Web Design Toolbox: 100 Web Design Template Sources, Tools and Resources</title>
		<link>http://peacedata.info/2008/10/12/the-open-source-web-design-toolbox-100-web-design-template-sources-tools-and-resources/en/</link>
		<comments>http://peacedata.info/2008/10/12/the-open-source-web-design-toolbox-100-web-design-template-sources-tools-and-resources/en/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 21:15:46 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[design]]></category>

		<category><![CDATA[skins]]></category>

		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=189</guid>
		<description><![CDATA[The open source model has, over the last 20 years, proven that collaborative development is one of the best ways to incorporate the newest ideas and latest concepts into design.
In fact, the open source model, which began with programmers, has been so successful that it is currently being applied in government, media, education and private [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://en.wikipedia.org/wiki/Open_source">open source model</a> has, over the last 20 years, proven that collaborative development is one of the best ways to incorporate the newest ideas and latest concepts into design.</p>
<p>In fact, the open source model, which began with programmers, has been so successful that it is currently being applied in government, media, education and private business. But despite these new applications, the unique combination of the open source model with the universalism of web design remains one of the ideal applications of open source. This pervasiveness of the open source spirit in web design now means that you can use open source software to design both graphics and your CSS and HTML, and you can also use the dozens of reliable open source code resources or thousands of web design templates to base your own designs on. In this article we highlight 100 open source web design templates, resources, and tools.</p>
<h3>The Best Directories of Free Open Source Web Design Templates</h3>
<p>There are tons of free design template directories on the net, but sorting through all of them can be a very tedious process. Instead, we suggest that you start with these four, which we consider to be the best free open source design template directories online.</p>
<ol>
<li><a rel="nofollow" href="http://www.oswd.org/">OSWD</a>: Over 2,000 of the best freebie web design templates. Also allows for search capability by color, contrast, validation, and other categories.
<div class="mceTemp mceIEcenter">
<dl id="attachment_169" class="wp-caption aligncenter" style="width: 410px;">
<dt class="wp-caption-dt"><a href="http://oswd.org/" target="_blank"><img class="size-full wp-image-169" title="OSWD" src="http://peacedata.info/wp-content/uploads/oswd1.jpg" alt="OSWD" width="400" height="115" /></a></dt>
</dl>
</div>
</li>
<li><a rel="nofollow" href="http://www.openwebdesign.org/">OpenWebDesign</a>:A large and active community of individuals who share free web design templates. Includes regular design contests and a sub-category of most popular designs to speed up your search.
<div class="mceTemp mceIEcenter">
<dl id="attachment_170" class="wp-caption aligncenter" style="width: 410px;">
<dt class="wp-caption-dt"><a href="http://www.openwebdesign.org/" target="_blank"><img class="size-full wp-image-170" title="OpenWebDesign" src="http://peacedata.info/wp-content/uploads/owd1.jpg" alt="OpenWebDesign" width="400" height="115" /></a></dt>
</dl>
</div>
</li>
<li><a rel="nofollow" href="http://www.opendesigns.org/">Open Designs</a>: Headed by a non-profit board, the open design community has almost 600 designs which have been vetted and moderated by the community’s volunteer board. Also includes a relatively active forum where designers can share tips and resources.
<div class="mceTemp mceIEcenter">
<dl id="attachment_174" class="wp-caption aligncenter" style="width: 410px;">
<dt class="wp-caption-dt"><a href="http://www.opendesigns.org/"><img class="size-full wp-image-174" title="Open Designs" src="http://peacedata.info/wp-content/uploads/od.jpg" alt="Open Designs" width="400" height="115" /></a></dt>
</dl>
</div>
</li>
<li><a rel="nofollow" href="http://csstinderbox.raykonline.com/">CSS Tinderbox</a>: CSS Tinderbox prevents you from having to “reinvent the wheel” by providing very basic, yet solid, CSS/XHTML design templates from which you can build off of.
<div class="mceTemp mceIEcenter">
<dl id="attachment_179" class="wp-caption aligncenter" style="width: 410px;">
<dt class="wp-caption-dt"><a href="http://csstinderbox.raykonline.com/"><img class="size-full wp-image-179" title="CSS Tinderbox" src="http://peacedata.info/wp-content/uploads/csst.jpg" alt="CSS Tinderbox: " width="400" height="115" /></a></dt>
</dl>
</div>
</li>
</ol>
<h3>Open Source Web Design Programs</h3>
<p>Why pay for software if you can find it free? Usually, the answer is that the free stuff just plain isn’t any good. You won’t find that to be the case with the open source web design software programs in this section, however, which are all the best of the best.</p>
<ol>
<li><a rel="nofollow" href="http://www.nvu.com/">Nvu</a>: An open-source web authoring system to rival FrontPage and Dreamweaver. (Linux, Windows, and Mac)</li>
<li><a rel="nofollow" href="http://cssed.sourceforge.net/">Cssed</a>: A CSS editor featuring auto completion, syntax highlighting and validation. (C, C++) (Linux)</li>
<li><a rel="nofollow" href="http://quanta.kdewebdev.org/">Quanta Plus</a>: A top-notch HTML editor and web development for the K Desktop Environment.</li>
<li><a rel="nofollow" href="http://bluefish.openoffice.nl/">Bluefish</a>: An HTML editor for programmers written using GTK, designed to save the experienced webmaster some keystrokes. (C) (GNU/Linux, Unix)</li>
<li><a rel="nofollow" href="http://www.gimpshop.net/">GIMPShop</a>: The open source replacement for Photoshop. (Mac, Linux, and Windows)</li>
<li><a rel="nofollow" href="http://www.inkscape.org/download.php">Inkscape</a>: The vector graphics application which may spell the end for Adobe Illustrator.</li>
</ol>
<h3>Complete Web Design Templates</h3>
<p>If you want to get off the ground with your website quickly, then you may want a complete template that requires minimal tweaking. In this section we highlight some of the best complete template resources on the web. These templates include not only the CSS, but also the (X)HTML and in some cases the graphic files to get your site up as fast as possible.</p>
<ol>
<li><a rel="nofollow" href="http://templatenavigator.com/">TemplateNavigator</a>: The largest catalogue of free website and flash templates, along with quality preview shots.</li>
<li><a rel="nofollow" href="http://www.templatesbox.com/templates.htm">TemplateBox</a>: Over 300 freebie website, logo, banner, and flash templates to complement their collection of paid offerings.</li>
<li><a rel="nofollow" href="http://www.templatemonster.com/free-templates.php">Template Monster</a>: A small but very high-quality set of web, flash, and blog templates.</li>
<li><a rel="nofollow" href="http://www.webpagedesign.com.au/Free_Templates/">Art for the Web</a>: 75 freebie templates. Pretty good place to look if you’re looking for something slightly out of the ordinary.</li>
<li><a rel="nofollow" href="http://www.freecsstemplates.org/">Free CSS Templates</a>: A 206 template strong resource which is frequently updated with new submissions.</li>
<li><a rel="nofollow" href="http://effex-media.com/templates/">Effex-Media</a>: Free website templates designed by designers, this massive list is categorized by website type and includes user reviews of many of the templates.</li>
<li><a rel="nofollow" href="http://www.dotcomwebdesign.com/?Free-Website-Templates-Section-1">DotcomWebDesign</a>: Hundreds of free templates, some of which are really top-notch. However, the categorization is a little arbitrary so be ready to spend some time manually searching.</li>
<li><a rel="nofollow" href="http://themebot.com/new-free-web-layouts/free-html-templates/">Themebot Design Templates</a>: This site has some design templates, but not very many. There is a good amount of free themes.</li>
<li><a rel="nofollow" href="http://www.groovylizard.com/site/linkware.htm">Groovy Lizard</a>: Personal page templates (commercial use must buy a license)</li>
<li><a rel="nofollow" href="http://www.interspire.com/templates/">Interspire</a>: Freebie web, Frontpage and Dreamweaver templates</li>
<li><a rel="nofollow" href="http://www.ajoyfulheart.com/floral_linkware_sets.htm">Joyful Heart Designs</a>: Personal page templates generally with floral designs.</li>
<li><a rel="nofollow" href="http://www.opensourcetemplates.org/">OpenSourceTemplates</a>: Free CSS and xhtml open source website templates and Web 2.0 designs.</li>
<li><a rel="nofollow" href="http://www.rickyswebtemplates.com/">Ricky’s Web Templates</a>: 50+ freebie templates, graphics, and buttons.</li>
<li><a rel="nofollow" href="http://www.free-css-templates.com/free-templates.html">Free CSS Templates</a>: A dozen full-featured fully functional CSS based templates.</li>
<li><a rel="nofollow" href="http://freektemplates.com/">FreekTemplates.com</a>: A collection of business, cars and bikes, and hosting templates.</li>
<li><a rel="nofollow" href="http://www.templateperfection.com/?parent=1&amp;sm=1">Template Perfection</a>: 200+ freebie templates with quite a few non-english oriented templates.</li>
<li><a rel="nofollow" href="http://www.templateworkz.com/website_templates.php">TemplateWorkz</a>: 48 freebie web templates, along with some basic logo and newsletter templates.</li>
<li><a rel="nofollow" href="http://www.zymic.com/show_templates.php?id=1">Zymic</a>: 80 freebie templates (HTML Pages + CSS + Images + PSD Files + Blank Images Files).</li>
<li><a rel="nofollow" href="http://layouts.ironmyers.com/">OpenSourceTemplates</a>: A community-driven CSS and xhtml open source template design showcase.</li>
<li><a rel="nofollow" href="http://www.freelayouts.com/">Freelayouts</a>: HTML and Flash templates.</li>
<li><a rel="nofollow" href="http://www.freecsstemplates.org/">FreeCSSTemplates.org</a>: Over 100 freebie CSS templates.</li>
<li><a rel="nofollow" href="http://www.freelayouts.com/websites">Free Layouts</a>: Complete list of hundreds of HTML, flash, and CSS templates.</li>
<li><a rel="nofollow" href="http://www.freetemplatesonline.com/">Free Templates Online</a>: Dozens of easily customizable templates categorized by theme.</li>
<li><a rel="nofollow" href="http://www.freewebsitetemplates.com/">Free Website Templates</a>: A large collection of templates that don’t require a reciprocal link.</li>
<li><a rel="nofollow" href="http://www.sixshootermedia.com/free-templates">Six-Shooter Media</a>: Free CSS and xhtml open source templates.</li>
<li><a rel="nofollow" href="http://www.free-flash-template.com/">Free Flash Template</a>: Web templates and intros with tons of special features.</li>
<li><a rel="nofollow" href="http://layouts4free.com/">Layouts4Free.com</a>: Free web layouts with search capability.</li>
<li><a rel="nofollow" href="http://www.solucija.com/home/css-templates/">Solucija</a>: Free XHTML / CSS website templates already setup and sorted by commercial use.</li>
<li><a rel="nofollow" href="http://www.mastertemplates.com/">MasterTemplates</a>: Professionally designed free website layouts along with PowerPoint templates.</li>
<li><a rel="nofollow" href="http://www.templateworld.com/free_templates.html">TemplateWorld</a>: Free, tableless, W3C-compliant web design layouts designed by Template World designers.</li>
<li><a rel="nofollow" href="http://www.paintedpixels.com/graphics/index.php">Painted Pixels</a>: Free web page templates, buttons, and background tiles for non-commercial use.</li>
<li><a rel="nofollow" href="http://www.cssfill.com/">CSSFill</a>: A selection of CSS / XHTML based layouts and templates by Michael Strand.</li>
<li><a rel="nofollow" href="http://www.themesbase.com/">ThemesBase</a>: Templates organized by popular content management, blogging and forum systems.</li>
<li><a rel="nofollow" href="http://templates.arcsin.se/category/website-templates/page/2/">Arcsin Design Templates</a>: 22 Freebie XTML and CSS Templates</li>
<li><a rel="nofollow" href="http://www.snakeyewebtemplates.com/free_dreamweaver_web_site_templates.asp">Snakeye Web Templates</a>: 20 templates with a focus on Dreamweaver and Fireworks.</li>
<li><a rel="nofollow" href="http://www.steves-templates.com/templates.html">Steve’s Templates</a>: Dozens of templates, free with link back.</li>
<li><a rel="nofollow" href="http://www.gordonmac.com/downloads/?type=templates">GordonMac.com</a>: Free CSS templates along with some freebie PHP scripts.</li>
<li><a rel="nofollow" href="http://www.webdesignhelper.co.uk/page_templates/page_templates/page_template_homepage/page_template_homepage.shtml">Web Design Helper</a>: Full page templates including the graphics and code.</li>
<li><a rel="nofollow" href="http://capmex.biz/resources/free-web-templates">Webmaster Resources</a>: 25 free web templates.</li>
</ol>
<h3>CSS Layouts</h3>
<p>If you’re looking for the freedom to create something entirely original but just want some of the basic layout taken care of, this section is for you. The templates below are pure CSS, leaving you a clean slate from which you can add the design, graphics, and text as you see fit.</p>
<ol>
<li><a rel="nofollow" href="http://blog.html.it/layoutgala/">Layout Gala</a>: 40 CSS tri-color layouts to help you pick a format.</li>
<li><a rel="nofollow" href="http://andreasviklund.com/templates/">AndreasVilkund.com</a>: Free Templates by designer Andreas Viklund.</li>
<li><a rel="nofollow" href="http://tools.i-use.it/">CSS Template Directory</a>: A collection of CSS formatted page templates, developed and distributed by different designers.</li>
<li><a rel="nofollow" href="http://www.benmeadowcroft.com/webdev/">BenMeadowcroft.com</a>: Top-notch web design templates by Ben Meadowcroft, mixed in with a few spoof pages and experimentation.</li>
<li><a rel="nofollow" href="http://www.mollio.org/">Mollio</a>: A set of basic CSS templates that that also have some sample basic content to speed things along.</li>
<li><a rel="nofollow" href="http://realworldstyle.com/">Real World Style</a>: CSS layouts organized by format type.</li>
<li><a rel="nofollow" href="http://www.thenoodleincident.com/tutorials/box_lesson/boxes.html">Little Boxes</a>: CSS template arrangements with quickly accessible code.</li>
<li><a rel="nofollow" href="http://www.bluerobot.com/web/layouts/">The Layout Reservoir</a>: Simple, straightforward, and manipulable 2 and 3 column layouts.</li>
<li><a rel="nofollow" href="http://resources.the-protagonist.com/index.php?action=displaycat&amp;catid=13">Protagonist Web Resources</a>: A list of 43 tableless layouts to go along with the other protagonist resources.</li>
<li><a rel="nofollow" href="http://www.glish.com/css/">Glish</a>: CSS Layout Techniques by Eric Costello which have been stripped down to the bare essentials.</li>
<li><a rel="nofollow" href="http://www.fu2k.org/alex/css/index.mhtml">FU2K</a>: CSS layouts designed for Netscape 4 compatibility.</li>
<li><a rel="nofollow" href="http://www.positioniseverything.net/index.php">Position is Everything</a>: Tableless design resource with CSS bug workarounds.</li>
<li><a rel="nofollow" href="http://css-discuss.incutio.com/?page=ThreeColumnLayouts">ThreeColumnLayouts</a>: The ultimate 3 column layout resource list.</li>
<li><a rel="nofollow" href="http://www.ssi-developer.net/main/templates/">ssi-developer</a>: Two column CSS template samples with recommendations.</li>
<li><a rel="nofollow" href="http://www.miswebdesign.com/resources/articles/fancy-paragraphs.html">MIS Web Design</a>: Fancy Paragraphs with CSS.</li>
<li><a rel="nofollow" href="http://webhost.bridgew.edu/etribou/layouts/">Ruthsarian Layouts</a>: Freebie-CSS layouts ranging from basic to complex arrangements.</li>
<li><a rel="nofollow" href="http://www.alistapart.com/stories/practicalcss/">A List Apart: CSS</a>: Practical CSS Layout Tips, Tricks and Techniques</li>
<li><a rel="nofollow" href="http://www.code-sucks.com/css%20layouts/">Code-Sucks.com</a>: Creating 1, 2, 3, and 4 column layouts.</li>
<li><a rel="nofollow" href="http://particletree.com/features/dynamic-resolution-dependent-layouts/">Particle Tree</a>: Dynamic resolution dependent layouts.</li>
<li><a rel="nofollow" href="http://www.projectseven.com/whims/cssp_3box/">Project Seven</a>: Fluid CSS Layouts</li>
<li><a rel="nofollow" href="http://www.mycelly.com/">MyCelly</a>: A collection of 16 basic layout templates.</li>
<li><a rel="nofollow" href="http://ideas.nty3.com/css-templates.html">Ideas</a>: 12 free CSS templates.</li>
<li><a rel="nofollow" href="http://www.dynamicdrive.com/style/layouts/">CSS Library</a>: Dynamic drive’s tableless CSS layouts.</li>
<li><a rel="nofollow" href="http://intensivstation.ch/en/templates/">IntensiveStation</a>: A collection of all new basic CSS templates.</li>
<li><a rel="nofollow" href="http://layouts.ironmyers.com/">IronMyers</a>: A collection of layouts with full Grade-A browser support for IE6, IE7, Firefox, Opera, Safari, and more.</li>
<li><a rel="nofollow" href="http://www.cssplay.co.uk/">The CSS Playground</a>: Cutting edge CSS demos by Stu Nicholls’</li>
<li><a rel="nofollow" href="http://themes.wordpress.net/">Wordpress Theme Viewer</a>: Collection of searchable themes organized by columns, colors, rounded corners, and other categories.</li>
<li><a rel="nofollow" href="http://home.rochester.rr.com/bshagnasty/twocolumn.html">Fluid 2-Column Template</a>: A fully usable “fluid” template, meaning that the design expands and contracts with the window size.</li>
<li><a rel="nofollow" href="http://www.avinash.ws/bookmarks/12-free-css-templates-bookmarks.html">Avinash 2.0</a>: 12 Free CSS Templates</li>
</ol>
<h3>Automated CSS Tools and Generators</h3>
<p>This set of resources isn’t for those that want to create something entirely unique. But if you aren’t a strong coder and just want to get the job done, these automated CSS code tools will let you create CSS at the push of a button.</p>
<ol>
<li><a rel="nofollow" href="http://csscreator.com/?q=tools/layout">CSS Creator</a>: Select the form colors, number of columns, html version, and press a button. Presto, a CSS template for your page.</li>
<li><a rel="nofollow" href="http://www.inknoise.com/experimental/layoutomatic.php">Inknoise</a>: The layout-o-matic: fill out the form and out pops your CSS.</li>
<li><a rel="nofollow" href="http://www.strangebanana.com/default.aspx">Strange Banana</a>: Simply refresh the template generator until you get the style you like, then save the page which has your CSS embedded in the header.</li>
<li><a rel="nofollow" href="http://nidahas.com/sandbox/form_template.html">Nidahas</a>: A CSS-based form template.</li>
<li><a rel="nofollow" href="http://www.maketemplate.com/">Maketemplate</a>: A PHP - HTML - CSS template generator for two column layouts.</li>
<li><a rel="nofollow" href="http://www.ibdjohn.com/csstemplate/">IBDjohn</a>: CSS template generator for three column layouts.</li>
<li><a rel="nofollow" href="http://templatr.cc/">TemplatR</a>: Another easy CSS template generator.</li>
<li><a rel="nofollow" href="http://psyc.horm.org/">PsycHo</a>: Your own psychogenesis, your own web design template.</li>
<li><a rel="nofollow" href="http://www.wannabegirl.org/firdamatic/">Firdamatic</a>: Tableless 2 or 3 column layout generator.</li>
<li><a rel="nofollow" href="http://www.yvoschaap.com/wpthemegen/">Wordpress Theme Generator</a>: Online generator creates custom unique Wordpress themes.</li>
</ol>
<h3>Blog Themes and Templates</h3>
<p>Designing blogs has become so popular as a subset of web design that we thought they deserved their own separate section. In this section, we highlight some of the best open source weblog template sources.</p>
<ol>
<li><a rel="nofollow" href="http://www.smashingmagazine.com/2007/02/09/83-beautiful-wordpress-themes-you-probably-havent-seen/">SmashingMagazine</a>: 83 Beautiful Wordpress Themes You (Probably) Haven’t Seen</li>
<li><a rel="nofollow" href="http://www.kaushalsheth.com/themes">Kaushal Sheth</a>: Elegant WordPress themes.</li>
<li><a rel="nofollow" href="http://erraticwisdom.com/templates">ErraticWisdom</a>: Textpattern templates</li>
<li><a rel="nofollow" href="http://scribez.wordpress.com/2006/09/16/new-ten-best-free-wordpress-templates/">Scribez</a>: 10 Best Wordpress Templates.</li>
<li><a rel="nofollow" href="http://pinkfreak.niftykeen.net/design/archives/templates/index.html">pinkdesign</a>: Free diary / blog templates</li>
<li><a rel="nofollow" href="http://textgarden.org/">Textgarden.org</a>: The official site for themes designed for Textpattern.</li>
<li><a rel="nofollow" href="http://blogspottemplates.blogspot.com/">Blogger Templates</a>: A collection of Blogger templates on a wide variety of themes.</li>
<li><a rel="nofollow" href="http://www.blogfashions.com/">Blogfashions</a>: A collection of free Movable Type compatible blog templates.</li>
<li><a rel="nofollow" href="http://finalsense.com/services/blogs_templates.html">FinalSense</a>: High-quality templates for Blogger.</li>
<li><a rel="nofollow" href="http://wpthemes.info/">WP Themes</a>: WordPress themes all designed by Sadish Bala.</li>
<li><a rel="nofollow" href="http://themegarden.org/drupal50/">Drupal Theme Garden</a>: Showcase of themes available for Drupal 4.7x and Drupal 5.x.</li>
<li><a rel="nofollow" href="http://www.weblogdesign.com/website.php">Weblog Design</a>: A small number of high-quality weblog templates.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/10/12/the-open-source-web-design-toolbox-100-web-design-template-sources-tools-and-resources/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>rus2lat plugin</title>
		<link>http://peacedata.info/2008/07/21/rus2lat-plugin/en/</link>
		<comments>http://peacedata.info/2008/07/21/rus2lat-plugin/en/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 19:36:13 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=111</guid>
		<description><![CDATA[Testing rus2lat plugin.
]]></description>
			<content:encoded><![CDATA[<p>Testing rus2lat plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/21/rus2lat-plugin/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>ajax cheatsheet</title>
		<link>http://peacedata.info/2008/07/18/ajax-cheatsheet/en/</link>
		<comments>http://peacedata.info/2008/07/18/ajax-cheatsheet/en/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 05:34:23 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[ajax]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=81</guid>
		<description><![CDATA[1. Create XMLHttpRequest object

1
2
3
&#60;script language=&#34;javascript&#34; type=&#34;text/javascript&#34;&#62;
var xmlHttp = new XMLHttpRequest&#40;&#41;;
&#60;/script&#62;

2. Get and set form field values with JavaScript

1
2
3
4
5
// get the value of &#34;phone&#34; field and write it to phone variable
var phone = document.getElementById&#40;&#34;phone&#34;&#41;.value
//set values in form using response array
document.getElementById&#40;&#34;order&#34;&#41;.value = response&#91;0&#93;;
document.getElementById&#40;&#34;address&#34;&#41;.value = response&#91;1&#93;;

3. Working with Microsoft browsers
Microsoft Internet Explorer browser uses MSXML alalyzator for XML [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1. Create XMLHttpRequest object</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">var</span> xmlHttp <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> XMLHttpRequest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p><strong>2. Get and set form field values with JavaScript</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// get the value of &quot;phone&quot; field and write it to phone variable</span>
<span style="color: #003366; font-weight: bold;">var</span> phone <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;phone&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span>
<span style="color: #006600; font-style: italic;">//set values in form using response array</span>
document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;order&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> response<span style="color: #009900;">&#91;</span>0<span style="color: #009900;">&#93;</span>;
document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;address&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> response<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span>;</pre></td></tr></table></div>

<p><strong>3. Working with Microsoft browsers</strong></p>
<p>Microsoft Internet Explorer browser uses MSXML alalyzator for XML processing. That is why you need to create the object with special way, if you want your AJAX-application to work in Internet Explorer. However it&#8217;s not so easy. There are two different verions of MSXML on the market. The version depends on which version of JavaScript interpretator is installed in Internet Explorer. So, you need to write code, which going to work in both versions:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> xmlHttp <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span>;
<span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
    xmlHttp <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Msxml2.XMLHTTP&quot;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
        xmlHttp <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Microsoft.XMLHTTP&quot;</span><span style="color: #009900;">&#41;</span>;
    <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e2<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        xmlHttp <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span>;
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>You see now that there are three ways to create XMLHTTPRequest object:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> xmlHttp <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> XMLHttpRequest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #003366; font-weight: bold;">var</span> xmlHttp <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Msxml2.XMLHTTP&quot;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #003366; font-weight: bold;">var</span> xmlHttp <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Microsoft.XMLHTTP&quot;</span><span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>

<p><strong>3. Merge together</strong></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
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">/* Create the new XMLHttpRequest object to communicate with web-server */</span>
<span style="color: #003366; font-weight: bold;">var</span> xmlHttp <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span>;
<span style="color: #009966; font-style: italic;">/*@cc_on @*/</span>
<span style="color: #006600; font-style: italic;">/*@if (@_jscript_version &amp;gt;= 5)
try {
    xmlHttp = new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
} catch (e) {
    try {
        xmlHttp = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
    } catch (e2) {
        xmlHttp = false;
    }
}
@end @*/</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>xmlHttp <span style="color: #339933;">&amp;</span>amp;&amp;amp; <span style="color: #000066; font-weight: bold;">typeof</span> XMLHttpRequest <span style="color: #339933;">!=</span> <span style="color: #3366CC;">''</span>undefined<span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    xmlHttp <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> XMLHttpRequest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><img src="http://peacedata.info/wp-content/uploads/ajax.png" alt="" title="ajax" width="100" height="135" class="alignleft size-full wp-image-72" /><strong>4. Send the request</strong></p>
<p>Now you have the greatest XMLHttpRequest object; let&#8217;s make it useful. First, we need the JavaScript-method, which our web page can call (for example, when user enters the text or choose an item from menu). Next, we need to follow the next scheme almost in all your Ajax applications:</p>
<ol>
<li>Get any data from web-form.</li>
<li>Create an URL for connection.</li>
<li>Open the connection with server.</li>
<li>Create a callback function, which will be called after server response.</li>
<li>Send the request.</li>
</ol>

<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
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> callServer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">// Get city and state from web-form</span>
    <span style="color: #003366; font-weight: bold;">var</span> city <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;city&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span>;
    <span style="color: #003366; font-weight: bold;">var</span> state <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;state&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span>;
    <span style="color: #006600; font-style: italic;">// Continue if we have both values</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>city <span style="color: #339933;">==</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> || <span style="color: #009900;">&#40;</span>city <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span>;
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>state <span style="color: #339933;">==</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> || <span style="color: #009900;">&#40;</span>state <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span>;
    <span style="color: #006600; font-style: italic;">// Create URL for connection</span>
    <span style="color: #003366; font-weight: bold;">var</span> url <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;/scripts/getZipCode.php?city=&quot;</span> <span style="color: #339933;">+</span> escape<span style="color: #009900;">&#40;</span>city<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;&amp;amp;state=&quot;</span> <span style="color: #339933;">+</span> escape<span style="color: #009900;">&#40;</span>state<span style="color: #009900;">&#41;</span>;
    <span style="color: #006600; font-style: italic;">// Open connection with server</span>
    xmlHttp.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;GET&quot;</span><span style="color: #339933;">,</span> url<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>;
    <span style="color: #006600; font-style: italic;">// Create the callback function</span>
    xmlHttp.<span style="color: #660066;">onreadystatechange</span> <span style="color: #339933;">=</span> updatePage;
    <span style="color: #006600; font-style: italic;">// Send request</span>
    xmlHttp.<span style="color: #660066;">send</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>;
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><strong>5. Processing the response</strong></p>
<p>Now we should care about server&#8217;s response. You should know two things: </p>
<ul>
<li>Don&#8217;t do anything until <code>xmlHttp.readyState</code> property equals to 4.</li>
<li>Server will store its response in <code>xmlHttp.responseText</code> property.</li>
</ul>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="javascript javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> updatePage<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>xmlHttp.<span style="color: #660066;">readyState</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #003366; font-weight: bold;">var</span> response <span style="color: #339933;">=</span> xmlHttp.<span style="color: #660066;">responseText</span>;
        document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;zipCode&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> response;
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><strong>6. Start Ajax-process</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;form&gt;
&lt;p&gt;City: &lt;input type=&quot;text&quot; name=&quot;city&quot; id=&quot;city&quot; size=&quot;25&quot; onChange=&quot;callServer();&quot;/&gt;&lt;/p&gt;;
&lt;p&gt;State: &lt;input type=&quot;text&quot; name=&quot;state&quot; id=&quot;state&quot; size=&quot;25&quot; onChange=&quot;callServer();&quot;/&gt;&lt;/p&gt;
&lt;p&gt;Zip Code: &lt;input type=&quot;text&quot; name=&quot;zipCode&quot; id=&quot;zipCode&quot; size=&quot;5&quot; /&gt;&lt;/p&gt;
&lt;/form&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/18/ajax-cheatsheet/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>Call bash Script Inside PHP Web Page</title>
		<link>http://peacedata.info/2008/07/17/alternative-linux-browsers-2/en/</link>
		<comments>http://peacedata.info/2008/07/17/alternative-linux-browsers-2/en/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 14:03:02 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=51</guid>
		<description><![CDATA[Here is a simple way to call a simple bash script inside php script page and have a return value printed to your web page.
Below is a simple bash script called php.sh

1
2
3
#!/bin/bash
echo &#34;Successful call from PHP : &#34;
exit 0

chmod 700 so it would be root executable, and saved it to your apache root folder say [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a simple way to call a simple bash script inside php script page and have a return value printed to your web page.</p>
<p>Below is a simple bash script called <em>php.sh</em></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Successful call from PHP : &quot;</span>
<span style="color: #7a0874; font-weight: bold;">exit</span> 0</pre></td></tr></table></div>

<p>chmod 700 so it would be root executable, and saved it to your apache root folder say <em>/var/www/html/</em></p>
<p>And here&#8217;s a simple browseable php script called <em>test.php</em></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000088;">$program</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;/var/www/html/php.sh&quot;</span>;
<span style="color: #000088;">$ver1</span> <span style="color: #339933;">=</span> <span style="color: #990000;">system</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$program</span><span style="color: #339933;">,</span> <span style="color: #000088;">$retval</span><span style="color: #009900;">&#41;</span>;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$retval</span> <span style="color: #339933;">==</span> <span style="color:#800080;">0</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Returned 0&quot;</span>;
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;Returned not zero&quot;</span>;
<span style="color: #009900;">&#125;</span>
<span style="color: #990000;">die</span>;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Saved to same root location where your php.sh currently resides.</p>
<p>If you browse the page <em>test.php</em>, it would have a return value spitted out by <em>php.sh</em> bash script into <em>test.php</em> web page.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/17/alternative-linux-browsers-2/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>Alternative Linux Browsers</title>
		<link>http://peacedata.info/2008/07/17/alternative-linux-browsers/en/</link>
		<comments>http://peacedata.info/2008/07/17/alternative-linux-browsers/en/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 14:01:58 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[curl]]></category>

		<category><![CDATA[dillo]]></category>

		<category><![CDATA[elinks]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[links]]></category>

		<category><![CDATA[lynx]]></category>

		<category><![CDATA[mozillla]]></category>

		<category><![CDATA[opera]]></category>

		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=50</guid>
		<description><![CDATA[Currently, there are several linux-based browser running under most linux distros.
here are few of then:

firefox / mozilla - http://www.mozilla.com/en-US/firefox/
opera - http://www.opera.com/download/index.dml?platform=linux
netscape - ftp://ftp.netscape.com/pub/netscape7/english/7.1/unix/linux22/sea/
dillo - http://www.dillo.org/


And for fast alternative text-based browsers:

elinks
lynx
links

And non-interactive web browser:

wget
curl

There are may ways how these tools can be beneficial. Say, we need to download
an image from web and send it to our [...]]]></description>
			<content:encoded><![CDATA[<p>Currently, there are several linux-based browser running under most linux distros.<br />
here are few of then:</p>
<ul>
<li>firefox / mozilla - <a href="http://www.mozilla.com/en-US/firefox/">http://www.mozilla.com/en-US/firefox/</a></li>
<li>opera - <a href="http://www.opera.com/download/index.dml?platform=linux">http://www.opera.com/download/index.dml?platform=linux</a></li>
<li>netscape -<a href=" ftp://ftp.netscape.com/pub/netscape7/english/7.1/unix/linux22/sea/"> ftp://ftp.netscape.com/pub/netscape7/english/7.1/unix/linux22/sea/</a></li>
<li>dillo - <a href="http://www.dillo.org/">http://www.dillo.org/</a></li>
</ul>
<p><img class="size-full wp-image-123" style="float: left; margin: 20px;" title="Alternative linux browsers" src="http://peacedata.info/wp-content/uploads/netscape9logo.png" alt="Alternative linux browsers" width="124" height="124" /><br />
And for fast alternative text-based browsers:</p>
<ul>
<li>elinks</li>
<li>lynx</li>
<li>links</li>
</ul>
<p>And non-interactive web browser:</p>
<ul>
<li>wget</li>
<li>curl</li>
</ul>
<p>There are may ways how these tools can be beneficial. Say, we need to download<br />
an image from web and send it to our email box on daily basis. Making use of linux crontab for scheduling this kind of daily job would be nice like so:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #000000;">30</span> 08 <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>scripts ; <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> pic_pag00.jpg; <span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;http://images.inq7.net/img/thumbnails/new/hea/pag/img/pic_pag00.jpg&quot;</span> ; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;INQ7&quot;</span> | mutt <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;INQ7 front page&quot;</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>pic_pag00.jpg</pre></div></div>

<p>Explained:</p>
<p><em>30 08</em> = this cronjob should be executed exactly 8:30AM<br />
<em>cd /root/scripts</em> = cd to this /root/scripts folder when cronjob starts<br />
<em> rm -rf pic_pag00.jpg</em> = deletes this file from current path location regardless if it exists or not<br />
<em>wget -c &#8220;http://images.inq7.net/img/thumbnails/new/hea/pag/img/pic_pag00.jpg&#8221;</em> = download the same new pix pic_pag00.jpg non-interactively and save it with the same filename to current path location,</p>
<p>then finally</p>
<p><em>echo &#8220;INQ7&#8243; | mutt -s &#8220;INQ7 front page&#8221; -a /root/scripts/pic_pag00.jpg youremail@domain.com</em> = created an email with subject name &#8220;INQ7 front page&#8221;, attaches pic_pag00.jpg as email attachment with email body of &#8220;INQ7&#8243; and sends it back to your email box - works like a charm.</p>
<p>Alternatively, you can browse and dump a specific site so you can view it on daily basis from your MUAs or mail user agent like outlook, eudora, thunderbird, like so:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;">01 07 <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #c20cb9; font-weight: bold;">lynx</span> <span style="color: #660033;">-dump</span> www.google.com <span style="color: #000000; font-weight: bold;">&amp;</span>gt; google.txt ; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Google dumped&quot;</span> | mutt <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;Google dumped&quot;</span> <span style="color: #660033;">-a</span> google.txt you<span style="color: #000000; font-weight: bold;">@</span>here.com</pre></div></div>

<p>The above would be executed exactly 7:01AM , browse and dump the URL, save it as google.txt file, attaches the file and sends it right away to your email box.</p>
<p>How about checking for new download files</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #000000;">33</span> 01 <span style="color: #000000;">30</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-c</span> www.google.com<span style="color: #000000; font-weight: bold;">/</span>files.rpm; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Google file&quot;</span> | mutt <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;Google dumped&quot;</span> <span style="color: #660033;">-a</span> files.rpm you<span style="color: #000000; font-weight: bold;">@</span>here.com</pre></div></div>

<p>Exactly 1:30AM exeucted every 30th day of the month, browse and dumps www.google.com/files.rpm file, attaches to email composition and sends it to your email box.</p>
<p>Well, combine it from server side script, like compare it to previous download file, if there is difference, emails you to inform you that there is a new version of that file.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/17/alternative-linux-browsers/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>last / currently logged in users</title>
		<link>http://peacedata.info/2008/07/17/last-currently-logged-in-users/en/</link>
		<comments>http://peacedata.info/2008/07/17/last-currently-logged-in-users/en/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 14:00:14 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[login]]></category>

		<category><![CDATA[shell]]></category>

		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=49</guid>
		<description><![CDATA[here are several ways of knowing the last logged in users from your box. most of them shows similar details like username, date stamp, hostname, ip address and the like:
Individually issuing them as root :
#last -a
#lastb -a
#lastb username
#lastb
#lastb username
#lastlog
So, who is currently logged in?
#who
#who -a
#w
Some dirty roots:
#ps axuw &#124; grep bash
#ps axuw &#124; grep bash [...]]]></description>
			<content:encoded><![CDATA[<p>here are several ways of knowing the last logged in users from your box. most of them shows similar details like username, date stamp, hostname, ip address and the like:</p>
<p>Individually issuing them as root :</p>
<p>#last -a<br />
#lastb -a<br />
#lastb username<br />
#lastb<br />
#lastb username<br />
#lastlog</p>
<p>So, who is currently logged in?</p>
<p>#who<br />
#who -a<br />
#w</p>
<p>Some dirty roots:</p>
<p>#ps axuw | grep bash<br />
#ps axuw | grep bash | awk &#8216;{print $1}&#8217;</p>
<p>(since by default the default drop shell is bash)</p>
<p>Sideslide, if you have freeradius currently running, the below will show you the currently authenticated users from freeradius:</p>
<p>#radwho -r<br />
#radwho</p>
<p>Who are you?</p>
<p>#whoami</p>
<p>cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/17/last-currently-logged-in-users/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>install google earth in linux</title>
		<link>http://peacedata.info/2008/07/17/install-google-earth-in-linux/en/</link>
		<comments>http://peacedata.info/2008/07/17/install-google-earth-in-linux/en/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 13:44:03 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[earth]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[maps]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=48</guid>
		<description><![CDATA[Here&#8217;s a very simple, quick and easy way for installing google earth under linux.
First, download google earth binary file like so:
#wget -c http://dl.google.com/earth/client/current/GoogleEarthLinux.bin
This would fetch the binary file and save it to your current location. It would take some time specially if you are using a dialup connection, so take a break and come back [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a very simple, quick and easy way for installing google earth under linux.</p>
<p>First, download google earth binary file like so:</p>
<p>#wget -c http://dl.google.com/earth/client/current/GoogleEarthLinux.bin</p>
<p>This would fetch the binary file and save it to your current location. It would take some time specially if you are using a dialup connection, so take a break and come back later.</p>
<p>&#8230;</p>
<p>Welcome back!</p>
<p>Now that you have downloaded the file, make sure to have it as root executable by doing so:</p>
<p>#chmod 700 GoogleEarthLinux.bin</p>
<p>I never added any folder or directory as you can see.</p>
<p>And execute it:</p>
<p>#./GoogleEarthLinux.bin</p>
<p>as usual, press Forward (Next) to continue and finish installation</p>
<p>Some CLI outputs:</p>
<p>Verifying archive integrity&#8230; All good.<br />
Uncompressing Google Earth for GNU/Linux 4.1.7076.4458&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
Installing mimetypes&#8230;<br />
Installing desktop menu entries&#8230;<br />
Installing desktop icon&#8230;</p>
<p>Just give it some time to connect&#8230;and there you go.</p>
<p>To relaunch from X, do it from Application > Internet and look for GoogleEarth/</p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/17/install-google-earth-in-linux/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>/etc/nologin</title>
		<link>http://peacedata.info/2008/07/17/etcnologin/en/</link>
		<comments>http://peacedata.info/2008/07/17/etcnologin/en/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 13:42:50 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[nologin]]></category>

		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=47</guid>
		<description><![CDATA[This command politely refuses any login or authentication attempt. Could be helpful when you are trying to accomplish something or do stuff from the server while restricting login attempts. And doing this, any message inside this file could be possibly shown to any user with current connection attempts.
If /etc/nologin does exists, any attempts even popping [...]]]></description>
			<content:encoded><![CDATA[<p>This command politely refuses any login or authentication attempt. Could be helpful when you are trying to accomplish something or do stuff from the server while restricting login attempts. And doing this, any message inside this file could be possibly shown to any user with current connection attempts.</p>
<p>If /etc/nologin does exists, any attempts even popping out your emails, ssh connections, or webmail logins are completely denied. Just make sure you don&#8217;t logout from that server after issuing this command remotely or you have an active multiple ssh connections remotely to your server when you issue this command! If all fails, it would require direct physical access with your next ssh logins or tell someone to reboot the production server for you, which is bad.</p>
<p>Upon reboot, linux deletes this file automatically.</p>
<p>Sample:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># cat /etc/nologin</span>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any connection and authentication attempts are being
denied <span style="color: #000000; font-weight: bold;">for</span> now due to module authentication upgrade.
Please try back later after a few minutes. Thank you
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/17/etcnologin/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>ss - an alternative to netstat</title>
		<link>http://peacedata.info/2008/07/16/ss-an-alternative-to-netstat/en/</link>
		<comments>http://peacedata.info/2008/07/16/ss-an-alternative-to-netstat/en/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 13:18:08 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[netstat]]></category>

		<category><![CDATA[network]]></category>

		<category><![CDATA[ss]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=44</guid>
		<description><![CDATA[ss is used to dump socket statistics. It shows information similar to netstat. And It can display more TCP information than state than other tools .
As root, just issue:

#ss

This would you show you listening/established/past/ongoing connections with details such as IP address, sockets, protocol types, port numbers and some received/sent stats:

#ss -a

shows you more details.

#ss -h

helps [...]]]></description>
			<content:encoded><![CDATA[<p>ss is used to dump socket statistics. It shows information similar to netstat. And It can display more TCP information than state than other tools .</p>
<p>As root, just issue:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#ss</pre></div></div>

<p>This would you show you listening/established/past/ongoing connections with details such as IP address, sockets, protocol types, port numbers and some received/sent stats:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#ss -a</pre></div></div>

<p>shows you more details.</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#ss -h</pre></div></div>

<p>helps you out ofcourse.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/16/ss-an-alternative-to-netstat/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>find / delete files owned by user / group</title>
		<link>http://peacedata.info/2008/07/16/find-delete-files-owned-by-user-group/en/</link>
		<comments>http://peacedata.info/2008/07/16/find-delete-files-owned-by-user-group/en/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 06:31:42 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[find]]></category>

		<category><![CDATA[gid]]></category>

		<category><![CDATA[uid]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=43</guid>
		<description><![CDATA[Here are alternative ways to find files owned by a user or certain group. Incase a person resigned, just incase you would need to backup or delete all files owned by that specific user or group not located from his own folder. Remember to do this using the root user, however you need to have [...]]]></description>
			<content:encoded><![CDATA[<p>Here are alternative ways to <strong>find files</strong> owned by a user or certain group. Incase a person resigned, just incase you would need to backup or delete all files owned by that specific user or group not located from his own folder. Remember to do this using the root user, however you need to have extra care as some commands could be irreversible!</p>
<p>If looking for files owned by a user, we need to know the user’s UID/GID by looking at password file</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;"># cat /etc/passwd | grep USERNAME</pre></div></div>

<p>Make sure this spits out a one liner for that specific user, if not, try do restrict the filter or do an exact match.</p>
<p>See my own result:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">redline:x:1000:1000::/home/redline:/bin/bash</pre></div></div>

<p>Jot down the UID field which is 1000 and the group field which is 1000, you would use it later.</p>
<p>Now, begin search from root location if you want to search from the root, you can change that in any way like /home instead of / .</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#find / -uid 1000</pre></div></div>

<p>To look for the files owned by that group</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#find / -gid 1000</pre></div></div>

<p>Lastly, combine them with any linux command that you want to do with those resulting files or even an input field for a bash script. Be warned again that this could be irreversible!</p>
<p>Let’s say I want to see them first:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#find / -gid 1000 -exec ls -la {} \;</pre></div></div>

<p>Now, let us delete these files owned by that user:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#find / -uid 1000 -exec rm -rf {} \;</pre></div></div>

<p>If you want to delete those files owned by that group id:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#find / -gid 1000 -exec rm -rf {} \;</pre></div></div>

<p>For verification, you can issue your first search commands again if they are really deleted.</p>
<p>That’s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/16/find-delete-files-owned-by-user-group/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>uptime</title>
		<link>http://peacedata.info/2008/07/16/uptime/en/</link>
		<comments>http://peacedata.info/2008/07/16/uptime/en/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 06:11:33 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[uptime]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=41</guid>
		<description><![CDATA[here’s a quick way to tell how long your system has been running, using root, just issue:

#uptime

would show you more likely this output:

08:02:46 up 66 days, 58 min, 2 users, load average: 0.10, 0.11, 0.03

this is the same information of the first output line from issuing

#w

fields:
1 - current date and time
2 - uptime in days [...]]]></description>
			<content:encoded><![CDATA[<p>here’s a quick way to tell how long your system has been running, using root, just issue:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#uptime</pre></div></div>

<p>would show you more likely this output:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">08:02:46 up 66 days, 58 min, 2 users, load average: 0.10, 0.11, 0.03</pre></div></div>

<p>this is the same information of the first output line from issuing</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">#w</pre></div></div>

<p>fields:<br />
1 - current date and time<br />
2 - uptime in days + hours + minutes<br />
3 - number of currently logged in users<br />
5.- your current load average stats</p>
<p>You can graph these number using tools like Cacti, MRTG or more.</p>
<p>See more with <a href="http://uptime.netcraft.com" target="_blank">uptime.netcraft.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/16/uptime/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>The fastest way to see how many people are online at your site</title>
		<link>http://peacedata.info/2008/07/14/the-fastest-way-to-see-how-many-people-are-online-at-your-site/en/</link>
		<comments>http://peacedata.info/2008/07/14/the-fastest-way-to-see-how-many-people-are-online-at-your-site/en/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 14:10:17 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=40</guid>
		<description><![CDATA[Php in most cases uses files to store session data. In general those files are stored in the /tmp directory (for unix based servers) and this is defined in the session.save_path php.ini directive.
The cool thing about php is that we can have different directives for each site, so we could use a different directory for [...]]]></description>
			<content:encoded><![CDATA[<p>Php in most cases uses files to store session data. In general those files are stored in the /tmp directory (for unix based servers) and this is defined in the session.save_path php.ini directive.</p>
<p>The cool thing about php is that we can have different directives for each site, so we could use a different directory for each site. This way our site specific directory will hold one file for each session, and without any extra overhead we will be able to know how many people are browsing the site.</p>
<p>In fact this tweak will have better performance, as there will be less files for php to handle, and it is more secure. The last one is because if all sessions are stored in the same directory then it is possible for someone to hijack a session from another domain.</p>
<p><strong>Let&#8217;s play with the sessions</strong></p>
<p>To do this we will first need to create a directory which will hold the files. The important thing on this is to know the directory path in the filesystem. So if the directory is under our home dir, then we will need to know the path /usr/home/sessions This directory should have write permissions, so to be sure you can chmod it to 755.</p>
<p>Now we need to change some php directives in order to make this work. If your host provides you with a php.ini file for your site, then you should open it and edit it as follows:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="sh" style="font-family:monospace;">session.save_handler = &quot;files&quot;
session.save_path = &quot;/usr/home/sessions/&quot;
session.auto_start = 1</pre></td></tr></table></div>

<p>You can also set these values in .htaccess of in *.php file that is included in your whole web site.</p>
<p>Now that your site has each own session directory, you can easily get the number of online visitors by using something like this :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">echo</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span><span style="color: #990000;">shell_exec</span><span style="color: #009900;">&#40;</span><span style="">'ls /usr/home/sessions'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="">' users online'</span>;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://peacedata.info/2008/07/14/the-fastest-way-to-see-how-many-people-are-online-at-your-site/en/feed/en/</wfw:commentRss>
		</item>
		<item>
		<title>CSS reset</title>
		<link>http://peacedata.info/2008/07/14/css-reset/en/</link>
		<comments>http://peacedata.info/2008/07/14/css-reset/en/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 13:56:34 +0000</pubDate>
		<dc:creator>redline</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[browser]]></category>

		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://peacedata.info/?p=39</guid>
		<description><![CDATA[No need to explain. You all know that different browsers renders the default css in different ways. To make them all to do it the same way we should reset some specific browsers&#8217; defaults values. Let&#8217;s see couple of examples.
Eric Meier&#8217;s reset

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
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, [...]]]></description>
			<content:encoded><![CDATA[<p>No need to explain. You all know that different browsers renders the default css in different ways. To make them all to do it the same way we should reset some specific browsers&#8217; defaults values. Let&#8217;s see couple of examples.</p>
<p><strong>Eric Meier&#8217;s reset</strong></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
</pre></td><td class="code"><pre class="css css" style="font-family:monospace;">html<span style="color: #00AA00;">,</span> body<span style="color: #00AA00;">,</span> div<span style="color: #00AA00;">,</span> span<span style="color: #00AA00;">,</span> applet<span style="color: #00AA00;">,</span> object<span style="color: #00AA00;">,</span> iframe<span style="color: #00AA00;">,</span>
h1<span style="color: #00AA00;">,</span> h2<span style="color: #00AA00;">,</span> h3<span style="color: #00AA00;">,</span> h4<span style="color: #00AA00;">,</span> h5<span style="color: #00AA00;">,</span> h6<span style="color: #00AA00;">,</span> p<span style="color: #00AA00;">,</span> blockquote<span style="color: #00AA00;">,</span> pre<span style="color: #00AA00;">,</span>
a<span style="color: #00AA00;">,</span> abbr<span style="color: #00AA00;">,</span> acronym<span style="color: #00AA00;">,</span> address<span style="color: #00AA00;">,</span> big<span style="color: #00AA00;">,</span> cite<span style="color: #00AA00;">,</span> code<span style="color: #00AA00;">,</span>
del<span style="color: #00AA00;">,</span> dfn<span style="color: #00AA00;">,</span> em<span style="color: #00AA00;">,</span> <span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">,</span> img<span style="color: #00AA00;">,</span> ins<span style="color: #00AA00;">,</span> kbd<span style="color: #00AA00;">,</span> q<span style="color: #00AA00;">,</span> s<span style="color: #00AA00;">,</span> samp<span style="color: #00AA00;">,</span>
small<span style="color: #00AA00;">,</span> strike<span style="color: #00AA00;">,</span> strong<span style="color: #00AA00;">,</span> sub<span style="color: #00AA00;">,</span> sup<span style="color: #00AA00;">,</span> tt<span style="color: #00AA00;">,</span> var<span style="color: #00AA00;">,</span>
dl<span style="color: #00AA00;">,</span> dt<span style="color: #00AA00;">,</span> dd<span style="color: #00AA00;">,</span> ol<span style="color: #00AA00;">,</span> ul<span style="color: #00AA00;">,</span> li<span style="color: #00AA00;">,</span>
fieldset<span style="color: #00AA00;">,</span> form<span style="color: #00AA00;">,</span> label<span style="color: #00AA00;">,</span> legend<span style="color: #00AA00;">,</span>
table<span style="color: #00AA00;">,</span> caption<span style="color: #00AA00;">,</span> tbody<span style="color: #00AA00;">,</span> tfoot<span style="color: #00AA00;">,</span> thead<span style="color: #00AA00;">,</span> tr<span style="color: #00AA00;">,</span> th<span style="color: #00AA00;">,</span> td <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inherit</span>;
<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inherit</span>;
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span>;
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inherit</span>;
<span style="color: #000000; font-weight: bold;">vertical-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">baseline</span>;
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* remember to define focus styles! */</span>
<span style="color: #3333ff;">:focus </span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #00AA00;">&#125;</span>
body <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">1</span>;
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">black</span>;
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span>;
<span style="color: #00AA00;">&#125;</span>
ol<span style="color: #00AA00;">,</span> ul <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>;
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* tables still need 'cellspacing=&quot;0&quot;' in the markup */</span>
table <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border-collapse</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">separate</span>;
<span style="color: #000000; font-weight: bold;">border-spacing</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #00AA00;">&#125;</span>
caption<span style="color: #00AA00;">,</span> th<span style="color: #00AA00;">,</span> td <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span>;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span>;
<span style="color: #00AA00;">&#125;</span>
blockquote<span style="color: #3333ff;">:before</span><span style="color: #00AA00;">,</span> blockquote<span style="color: #3333ff;">:after</span><span style="color: #00AA00;">,</span>
q<span style="color: #3333ff;">:before</span><span style="color: #00AA00;">,</span> q<span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot;&quot;</span>;
<span style="color: #00AA00;">&#125;</span>
blockquote<span style="color: #00AA00;">,</span> q <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">quotes</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #ff0000;">&quot;&quot;</span>;
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>YUI Library reset</strong></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
</pre></td><td class="code"><pre class="css css" style="font-family:monospace;"> body<span style="color: #00AA00;">,</span>div<span style="color: #00AA00;">,</span>dl<span style="color: #00AA00;">,</span>dt<span style="color: #00AA00;">,</span>dd<span style="color: #00AA00;">,</span>ul<span style="color: #00AA00;">,</span>ol<span style="color: #00AA00;">,</span>li<span style="color: #00AA00;">,</span>h1<span style="color: #00AA00;">,</span>h2<span style="color: #00AA00;">,</span>h3<span style="color: #00AA00;">,</span>h4<span style="color: #00AA00;">,</span>h5<span style="color: #00AA00;">,</span>h6<span style="color: #00AA00;">,</span>pre<span style="color: #00AA00;">,</span>form<span style="color: #00AA00;">,</span>fieldset<span style="color: #00AA00;">,</span>input<span style="color: #00AA00;">,</span>textarea<span style="color: #00AA00;">,</span>p<span style="color: #00AA00;">,</span>blockquote<span style="color: #00AA00;">,</span>th<span style="color: #00AA00;">,</span>td <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span>0;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>0;
<span style="color: #00AA00;">&#125;</span>
table <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border-collapse</span><span style="color: #00AA00;">:</span><span style="color: #993333;">collapse</span>;
<span style="color: #000000; font-weight: bold;">border-spacing</span><span style="color: #00AA00;">:</span>0;
<span style="color: #00AA00;">&#125;</span>
fieldset<span style="color: #00AA00;">,</span>img <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span>0;
<span style="color: #00AA00;">&#125;</span>
address<span style="color: #00AA00;">,</span>caption<span style="color: #00AA00;">,</span>cite<span style="color: #00AA00;">,</span>code<span style="color: #00AA00;">,</span>dfn<span style="color: #00AA00;">,</span>em<span style="color: #00AA00;">,</span>strong<span style="color: #00AA00;">,</span>th<span style="color: #00AA00;">,</span>var <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">normal</span>;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">normal</span>;
<span style="color: #00AA00;">&#125;</span>
ol<span style="color: #00AA00;">,</span>ul <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span>;
<span style="color: #00AA00;">&#125;</span>
caption<span style="color: #00AA00;">,</span>th <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span>;
<span style="color: #00AA00;">&#125;</span>
h1<span style="color: #00AA00;">,</span>h2<span style="color: #00AA00;">,</span>h3<span style="color: #00AA00;">,</span>h4<span style="color: #00AA00;">,</span>h5<span style="color: #00AA00;">,</span>h6 <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span>;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">normal</span>;
<span style="color: #00AA00;">&#125;</span>
q<span style="color: #3333ff;">:before</span><span style="color: #00AA00;">,</span>q<span style="color: #3333ff;">:after </span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">''</span>;
<span style="color: #00AA00;">&#125;</span>
abbr<span style="color: #00AA00;">,</span>acronym <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span>0;
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>Kyle Neath&#8217;s reset</strong></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="css css" style="font-family:monospace;"> <span style="color: #00AA00;">*</span>
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>0;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span>0;
<span style="color: #00AA00;">&#125;</span>
h1<span style="color: #00AA00;">,</span> h2<span style="color: #00AA00;">,</span> h3<span style="color: #00AA00;">,</span> h4<span style="color: #00AA00;">,</span> h5<span style="color: #00AA00;">,</span> h6<span style="color: #00AA00;">,</span> p<span style="color: #00AA00;">,</span> pre<span style="color: #00AA00;">,</span> blockquote<span style="color: #00AA00;">,</span> label<span style="color: #00AA00;">,</span> ul<span style="color: #00AA00;">,</span> ol<span style="color: #00AA00;">,</span> dl<span style="color: #00AA00;">,</span> fieldset<span style="color: #00AA00;">,</span> address <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">1em</span> 0; <span style="color: #00AA00;">&#125;</span>
li<span style="color: #00AA00;">,</span> dd <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">5</span>%</span>; <span style="color: #00AA00;">&#125;</span>
fieldset <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">.5em</span>; <span style="color: #00AA00;">&#125;</span>
select option<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>0 <span style="color: #933;">5px</span>; <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.hide</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.print-logo</span><span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.close-button</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span>; <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.left</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span>; <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.right</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span>; <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.clear</span><span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #993333;">both</span>; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span>; <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span>; <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span>; <span style="color: #00AA00;">&#125;</span>
a img<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span>; <span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>Pavel Markovnin&#8217;s reset</strong></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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
</pre></td><td class="code"><pre class="css css" style="font-family:monospace;"> html
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#2d2d2d</span>;
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> Verdana<span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span>;
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10pt</span>;
<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.4em</span>;
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#f7f4ea</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../images/bodyBg.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">top</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #993333;">repeat-x</span>;
<span style="color: #00AA00;">&#125;</span> 
&nbsp;
<span style="color: #00AA00;">*</span>
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>;
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span>;
<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inherit</span>;
_line-<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.4em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
input<span style="color: #00AA00;">,</span> textarea
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.2em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
img<span style="color: #00AA00;">,</span> a<span style="color: #3333ff;">:link </span>img<span style="color: #00AA00;">,</span> a<span style="color: #3333ff;">:visited </span>img<span style="color: #00AA00;">,</span> a<span style="color: #3333ff;">:hover </span>img<span style="color: #00AA00;">,</span> a<span style="color: #3333ff;">:active </span>img
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
&nbsp;
a<span style="color: #3333ff;"><span style="color: #00AA00;">:</span>link
</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inherit</span>;
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#0e8db7</span>;
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>;
<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span>;
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">underline</span>;
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
a<span style="color: #3333ff;"><span style="color: #00AA00;">:</span>active
</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span>;
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#0e8db7</span>;
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>;
<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span>;
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">underline</span>;
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
a<span style="color: #3333ff;"><span style="color: #00AA00;">:</span>hover
</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span>;
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#cc4e4e</span> !important;
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>;
<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span>;
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">underline</span>;
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
a<span style="color: #3333ff;"><span style="color: #00AA00;">:</span>visited
</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span>;
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#9268b5</span>;
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>;
<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span>;
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">underline</span>;
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
a<span style="color: #6666ff;">.dashed</span><span style="color: #3333ff;">:link</span><span style="color: #00AA00;">,</span> a<span style="color: #6666ff;">.dashed</span><span style="color: #3333ff;">:active</span><span style="color: #00AA00;">,</span> a<span style="color: #6666ff;">.dashed</span><span style="color: #3333ff;"><span style="color: #00AA00;">:</span>visited
</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#0e8db7</span>;
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>;
<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">dashed</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
a<span style="color: #6666ff;">.dashed</span><span style="color: #3333ff;"><span style="color: #00AA00;">:</span>hover
</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>;
<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">dashed</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
&nbsp;
h1
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.8em</span>;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.2em</span> 0 <span style="color: #933;">0.6em</span> 0;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span>;
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#0e8db7</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h2
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.7em</span>;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.8em</span> 0 <span style="color: #933;">0.5em</span> 0;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span>;
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#0e8db7</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h3
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.6em</span>;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.7em</span> 0 <span style="color: #933;">0.5em</span> 0;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h4
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.3em</span>;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.5em</span> 0 <span style="color: #933;">0.4em</span> 0;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h5
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.2em</span>;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.5em</span> 0 <span style="color: #933;">0.4em</span> 0;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">normal</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h6
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.1em</span>;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.5em</span> 0 <span style="color: #933;">0.4em</span> 0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
p
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.8em</span> 0 <span style="color: #933;">0.9em</span> 0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
table
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #000000; font-weight: bold;">border-collapse</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">collapse</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
table td<span style="color: #00AA00;">,</span> th
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> 0;
<span style="color: #000000; font-weight: bold;">vertical-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">top</span>;
<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
ul<span style="color: #00AA00;">,</span> ol
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.2em</span> 0 <span style="color: #933;">1.4em</span> 0;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> 0 0 0 <span style="color: #933;">2em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul li<span style="color: #00AA00;">,</span> ol li
<span style="color: #00AA00;">&#123;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
small<span style="color: #00AA00;">,</span> sup<span style="color: #00AA00;">,</span> sub
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.8em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
big
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1.2em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul li
<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0.5em</span> 0;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> 0 0 0 <span style="color: #933;">15px</span>;
<span style="color: #000000; font-weight: bold;">list-style-type</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span>;
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">../images/bullet.gif</span><span style="color: #00AA00;">&#41;</span> 0 <span style="color: #933;">0.5em</span> <span style="color: #993333;">no-repeat</span>;
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>master styles</strong></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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
</pre></td><td class="code"><pre class="css css" style="font-family:monospace;">html<span style="color: #00AA00;">,</span> body <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span>0;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span>0;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
body <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span>/<span style="color: #cc66cc;">1.25</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/***** Headings *****/</span>
&nbsp;
h1<span style="color: #00AA00;">,</span> h2<span style="color: #00AA00;">,</span> h3<span style="color: #00AA00;">,</span> h4<span style="color: #00AA00;">,</span> h5<span style="color: #00AA00;">,</span> h6 <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span>0;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>0;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">normal</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h1 <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">30px</span> 0 <span style="color: #933;">25px</span> 0;
<span style="color: #000000; font-weight: bold;">letter-spacing</span><span style="color: #00AA00;">:</span><span style="color: #933;">-1px</span>;
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">2em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h2 <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span> 0;
<span style="color: #000000; font-weight: bold;">letter-spacing</span><span style="color: #00AA00;">:</span><span style="color: #933;">-1px</span>;
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">1.5em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h3 <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">1em</span>;
<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/***** Common Formatting *****/</span>
&nbsp;
p<span style="color: #00AA00;">,</span> ul<span style="color: #00AA00;">,</span> ol <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span>0;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>0 0 <span style="color: #933;">1.25em</span> 0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul<span style="color: #00AA00;">,</span> ol <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>0 0 <span style="color: #933;">1.25em</span> <span style="color: #933;">2.5em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
blockquote <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">1.25em</span>;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">1.25em</span> <span style="color: #933;">1.25em</span> 0 <span style="color: #933;">1.25em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
small <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">0.85em</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
img <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span>0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
sup <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span>;
<span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">0.3em</span>;
<span style="color: #000000; font-weight: bold;">vertical-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">baseline</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
sub <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span>;
<span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #3333ff;">:-0</span><span style="color: #933;">.2em</span>;
<span style="color: #000000; font-weight: bold;">vertical-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">baseline</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
acronym<span style="color: #00AA00;">,</span> abbr <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span><span style="color: #993333;">help</span>;
<span style="color: #000000; font-weight: bold;">letter-spacing</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span>;
<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">dashed</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/***** Links *****/</span>
&nbsp;
a<span style="color: #00AA00;">,</span>
a<span style="color: #3333ff;">:link</span><span style="color: #00AA00;">,</span>
a<span style="color: #3333ff;">:visited</span><span style="color: #00AA00;">,</span>
a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/***** Forms *****/</span>
&nbsp;
form <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span>0;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>0;
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">inline</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
input<span style="color: #00AA00;">,</span> select<span style="color: #00AA00;">,</span> textarea <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span><span style="color: #933;">1em</span> Arial<span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
textarea <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span>;
<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">1.25</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
label <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span><span style="color: #993333;">pointer</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/***** Tables *****/</span>
&nbsp;
table <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span>0;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span>0 0 <span style="color: #933;">1.25em</span> 0;
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span>0;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
table tr td <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/***** Wrapper *****/</span>
&nbsp;
<span style="color: #cc00cc;">#wrap</span> <span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">960px</span>;
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span>0 <span style="color: #993333;">auto</span>;
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/***** Global Classes *****/</span>
&nbsp;
<span style="color: #6666ff;">.clear</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #993333;">both</span>; <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.float-left</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span>; <span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.float-right</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span>; <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.text-left</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font