<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>swape.net</title>
	<link>http://www.swape.net/w</link>
	<description>alireza balouch</description>
	<lastBuildDate>Wed, 21 Jul 2010 19:00:49 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0.1" -->

	<item>
		<title>My PHP Code-Standards Part 2</title>
		<description><![CDATA[Classses Class name and and file name should have the same name. Let us say you have a class called "myFirstClass" then your file should be myFirstClass.class.php Remember to have some kind of comment on top of the file to describe important information about the class like author, version nr or created date. &#160; class [...]]]></description>
		<link>http://www.swape.net/w/2010/03/my-php-code-standards-part-2/</link>
			</item>
	<item>
		<title>My PHP Code-Standards Part 1</title>
		<description><![CDATA[Here is a tutorial on how to write a nice and clean PHP code. Let us start with variables. I use prefix for variables with camel notation. This makes it easy to see and check the right variable for its type. $strName = 'ali' ; $intCounter = 1; $arrData = array&#40;'a'=&#62;'ali' , 'i'=&#62;'is' , 'p'=&#62;'perfect'&#41;; [...]]]></description>
		<link>http://www.swape.net/w/2009/11/my-php-code-standards-part-1/</link>
			</item>
	<item>
		<title>Swape Gallery Light</title>
		<description><![CDATA[SGL is a php5 script to list pictures. This script finds all the pictures in a directory under ./test_pic/ and makes menus based on directories. All you have to do is putt your pictures in ./test_pic/ directory. Or edit $strPathToFiles = './test_pic'; in sgl4.class.php file. You can organize your pictures by category, by putting it [...]]]></description>
		<link>http://www.swape.net/w/2009/08/swape-gallery-light/</link>
			</item>
	<item>
		<title>swape09 theme</title>
		<description><![CDATA[Here is my "swape09" wordpress theme. Free to download. 850px width and centered. jQuery Ready, simple and easy. Right side menu.]]></description>
		<link>http://www.swape.net/w/2009/04/swape09-theme/</link>
			</item>
	<item>
		<title>rsync</title>
		<description><![CDATA[I sync my picture folders and my music and documents to my backup server via rsync. I use ssh on my server. Rsync is fast way of syncing my files. Here is the commend line rsync -vrutzp --exclude=.DS_Store -e &#34;ssh -p 22&#34; /Users/swape/Sites me@myserver.com:/home/mysite I use: (--exclude=.DS_Store) to exclude the mac files (-e "ssh -p [...]]]></description>
		<link>http://www.swape.net/w/2009/03/rsync/</link>
			</item>
	<item>
		<title>Horizontal menu</title>
		<description><![CDATA[Here is an old trick to make horizontal menu with CSS. First you have to make a list with UL and LI tags. &#160; &#60;ul class=&#34;menu&#34;&#62; &#160; &#160; &#60;li&#62;&#60;a href=&#34;http://swape.net&#34;&#62;My homepage&#60;/a&#62;&#60;/li&#62; &#160; &#160; &#60;li&#62;&#60;a href=&#34;http://linux.org&#34;&#62;Linux.org&#60;/a&#62;&#60;/li&#62; &#160; &#160; &#60;li&#62;&#60;a href=&#34;http://google.com&#34;&#62;Link to google&#60;/a&#62;&#60;/li&#62; &#60;/ul&#62; &#160; My homepage Linux.org Link to google Ok here is a list. Now we [...]]]></description>
		<link>http://www.swape.net/w/2008/05/horizontal-menu/</link>
			</item>
	<item>
		<title>VolumeSize</title>
		<description><![CDATA[VolumeSize is a free small mac app that shows size of all your disks that are attached to your mac. (including the internal hard drives) Works on PPCs and Intel Macs. Download: VolumeSize-app]]></description>
		<link>http://www.swape.net/w/2008/04/volumesize/</link>
			</item>
	<item>
		<title>SwapeStarter</title>
		<description><![CDATA[This free windows program is very useful to make a startup menu from an autorun CD/DVD under windows env. Or just a menu to run a command or program. You can list 6 different programs to start from. All the text, heading image and titles are configurable from an ini file. Download: my_starter]]></description>
		<link>http://www.swape.net/w/2008/04/swapestarter/</link>
			</item>
	<item>
		<title>PassKeeper</title>
		<description><![CDATA[Sometimes it is hard to remember many passwords. PassKeeper is password manager program to stores all your password. You can export passwords to xml file. PassKeeper dose also generate random passwords so you can have a strong and random made passwords that is hard to crack. Download: passKeeper]]></description>
		<link>http://www.swape.net/w/2008/04/passkeeper/</link>
			</item>
	<item>
		<title>Key Code Make</title>
		<description><![CDATA[Key Code Maker is free windows program for making lots of 8 digit passwords. Very useful for administrators who makes hundreds of passwords at a time. And you can save the password-list on a file. Download: KCM_10]]></description>
		<link>http://www.swape.net/w/2008/04/key-code-make/</link>
			</item>
	<item>
		<title>FileDate Mover v1.0</title>
		<description><![CDATA[FileDate Mover is a program that moves files from one directory to directory tree based on file date. If you have a file that have a date 2006.12.24 then it makes directory called 2006/12/filename.ext. This program runs through a directory and moves all the files to date-based-directory-tree. You can edit the i18n.ini file to change [...]]]></description>
		<link>http://www.swape.net/w/2008/04/filedate-mover-v10/</link>
			</item>
	<item>
		<title>Directory/File-chooser tool</title>
		<description><![CDATA[This is an open and free program. Here is a small GUI for those old DOS command. With this program you can run programs with given file or directory input and output. Here is how the ini file looks like: &#91;gui&#93; lprog=Title of the window goes here lin= INPUT: lout= OUTPUT: lrun= RUN lexit= CLOSE [...]]]></description>
		<link>http://www.swape.net/w/2008/04/directoryfile-chooser-tool/</link>
			</item>
	<item>
		<title>Checkbox value</title>
		<description><![CDATA[When you post a form with checkbox it dose not return any value when the checkbox is not ticked. This is something that should have been fixed a long time ago. But for now here is the solution: &#60;form action=&#34;?&#34; method=&#34;post&#34;&#62; &#60;input name=&#34;myCheckbox&#34; type=&#34;hidden&#34; value=&#34;0&#34; /&#62; &#60;input name=&#34;myCheckbox&#34; type=&#34;checkbox&#34; /&#62; &#60;/form&#62; You put an hidden [...]]]></description>
		<link>http://www.swape.net/w/2008/04/checkbox-value/</link>
			</item>
	<item>
		<title>favicon2png</title>
		<description><![CDATA[Here is a script to download the favicon.ico files from a website and save it as a png file. You must have imagemagick installed on your server to convert the ico file to png. &#160; &#60;!--- html code ----&#62; &#60;form action=&#34;?&#34; method=&#34;post&#34;&#62; &#160; &#60;input id=&#34;site&#34; name=&#34;site&#34; type=&#34;text&#34; value=&#34;&#60;?php echo $_POST['site']; ?/&#62;&#34; /&#62; &#160; &#60;input type=&#34;submit&#34; [...]]]></description>
		<link>http://www.swape.net/w/2008/02/favicon2png/</link>
			</item>
	<item>
		<title>Semi-transparent png fix in IE6 with CSS</title>
		<description><![CDATA[This example shows how you can show semi-transparent png images in IE and don't mess up the code in other browsers. It uses only CSS and no JavaScript.I use the attribute style to make a style for other browsers then IE. And I'm using the filter style that works only for IE in the normal [...]]]></description>
		<link>http://www.swape.net/w/2007/02/semi-transparent-png-fix-in-ie-with-css/</link>
			</item>
</channel>
</rss>
