<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>AnyExamples - latest examples feed</title>
		<description>Free, tested &amp; ready to use examples - for any topic we competent in</description>
		<link>http://www.anyexample.com/</link>
		<language>en-us</language>
		
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/java/">Java</category>
			<link>http://www.anyexample.com/programming/java/java_hashmap_example.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/java/java_hashmap_example.xml</guid>
			<title>Java HashMap example</title>
			<description>Java class HashMap(java.util.HashMap) is a fast and easy to use class representing hash table, a data structure that associates keys with values.</description>
			<pubDate>Mon, 21 Jan 2008 00:39:41 +0200</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/php/">PHP</category>
			<link>http://www.anyexample.com/programming/php/downloading_files_from_amazon_s3.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/php/downloading_files_from_amazon_s3.xml</guid>
			<title>Downloading files from Amazon S3</title>
			<description>This is an example of non-interactive PHP script which downloads file from Amazon S3 (Simple Storage Service). Additional libraries like HMAC-SHA1 are not required.</description>
			<pubDate>Fri, 19 Oct 2007 01:39:19 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/webdev/">WebDev</category>
			<category domain="http://www.anyexample.com/webdev/rails/">Rails</category>
			<link>http://www.anyexample.com/webdev/rails/rails_photo_gallery.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/webdev/rails/rails_photo_gallery.xml</guid>
			<title>Rails Photo Gallery</title>
			<description>This article contains step-by-step tutorial for creating photo gallery in Ruby On Rails -- basically a list of jpeg images with uploading/editing support. Command-line ImageMagick tools are used to generate thumbnails and determine image width and height. No Rails plugins or Ruby libraries (like RMagick) required.</description>
			<pubDate>Fri, 21 Sep 2007 19:06:52 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/php/">PHP</category>
			<link>http://www.anyexample.com/programming/php/php_whois_client_function.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/php/php_whois_client_function.xml</guid>
			<title>PHP whois client function </title>
			<description>This article contains PHP implementation of whois client (as a function ae_whois), which may be used to request domain information from specified whois servers</description>
			<pubDate>Wed, 19 Sep 2007 17:09:37 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/webdev/">WebDev</category>
			<category domain="http://www.anyexample.com/webdev/rails/">Rails</category>
			<link>http://www.anyexample.com/webdev/rails/how_to_allow_some_safe_html_in_rails_projects.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/webdev/rails/how_to_allow_some_safe_html_in_rails_projects.xml</guid>
			<title>How to allow some safe HTML in Rails projects</title>
			<description>Although Ruby On Rails has support for various markup languages like textile and markdown via RedCloth and BlueCloth gems, often simple HTML is more preferable solution(like "Some HTML is OK" on Flickr). This article contains simple Ruby function ae_some_html which allows usage of basic HTML tags and converts everything else to entity-escaped HTML code.  </description>
			<pubDate>Sun, 15 Jul 2007 17:07:44 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/php/">PHP</category>
			<link>http://www.anyexample.com/programming/php/gd___freetype_text_label_generator.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/php/gd___freetype_text_label_generator.xml</guid>
			<title>Gd / FreeType text label generator </title>
			<description>This is an example of using Gd / FreeType to generate image text labels with TTF font. Provided script could be used as "text rasterization service" to generate arbitrarily text-images for a web site. MD5-based authorization is used to avoid image generation by unauthorized users. </description>
			<pubDate>Tue, 19 Jun 2007 13:58:41 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/c/">C</category>
			<link>http://www.anyexample.com/programming/c/qsort__sorting_array_of_strings__integers_and_structs.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/c/qsort__sorting_array_of_strings__integers_and_structs.xml</guid>
			<title>qsort: sorting array of strings, integers and structs</title>
			<description>qsort() is standard C function for sorting arrays. It is defined by ISO C standard, and implemented in most C/C++ standard libraries(stdlib.h). This article contains an example of using qsort() for sorting integers, strings and structs. </description>
			<pubDate>Fri, 15 Jun 2007 19:06:04 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/webdev/">WebDev</category>
			<category domain="http://www.anyexample.com/webdev/css/">CSS</category>
			<link>http://www.anyexample.com/webdev/css/css_reset_styles.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/webdev/css/css_reset_styles.xml</guid>
			<title>CSS Reset Styles</title>
			<description>This is an example of CSS style sheet which resets presentation of every HTML tag (this technique is also called 'css zeroing'). This is useful for developing CSS-based sites with crossbrowser conformity. </description>
			<pubDate>Mon, 04 Jun 2007 20:40:15 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/php/">PHP</category>
			<link>http://www.anyexample.com/programming/php/uploading_files_to_amazon_s3_with_rest_api.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/php/uploading_files_to_amazon_s3_with_rest_api.xml</guid>
			<title>Uploading files to Amazon S3 with REST API</title>
			<description>Here is an example of command line non-interactive php script which uploads file to Amazon S3 (Simple Storage Service). Additional libraries like HMAC-SHA1 are not required.</description>
			<pubDate>Thu, 31 May 2007 21:27:30 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/php/">PHP</category>
			<link>http://www.anyexample.com/programming/php/completely_disable_any_browser_caching.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/php/completely_disable_any_browser_caching.xml</guid>
			<title>Completely disable any browser caching</title>
			<description>Here is a simple function which sends combination of headers that completely disable any browser caching.</description>
			<pubDate>Thu, 31 May 2007 16:43:23 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/php/">PHP</category>
			<link>http://www.anyexample.com/programming/php/redirect_function_with_permanent_301_redirect_support.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/php/redirect_function_with_permanent_301_redirect_support.xml</guid>
			<title>Redirect function with permanent 301 redirect support </title>
			<description>Here is an example of simple function ae_redir() for HTTP redirect. It supports relative site paths and permanent(seo-compatible) redirects. There is also function ae_redir_die() which stops execution of script after sending redirect. </description>
			<pubDate>Thu, 31 May 2007 16:29:25 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/php/">PHP</category>
			<link>http://www.anyexample.com/programming/php/bar_chart_html_generator.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/php/bar_chart_html_generator.xml</guid>
			<title>Bar chart HTML generator</title>
			<description>This article contains PHP function ae_bar_html for generating HTML/CSS based one-column bar charts. It is suitable for simple diagrams and does not require libgd.</description>
			<pubDate>Mon, 07 May 2007 17:43:33 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/php/">PHP</category>
			<link>http://www.anyexample.com/programming/php/making_xml_xslt_driven_site_using_php.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/php/making_xml_xslt_driven_site_using_php.xml</guid>
			<title>Making XML/XSLT driven site using PHP</title>
			<description>XML and XSLT technologies provides standard ways of separation of presentation and data. 
		This article contains an example of simple php "xslt engine" for XML driven web-sites which implements 
		caching techniques and Apache-based XML file processing. 
		</description>
			<pubDate>Tue, 17 Apr 2007 23:51:05 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/cplusplus/">C++</category>
			<link>http://www.anyexample.com/programming/cplusplus/cplusplus_dynamic_array_template_class.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/cplusplus/cplusplus_dynamic_array_template_class.xml</guid>
			<title>C++ dynamic array template class </title>
			<description>This article provides example of dynamic array implementation using C++ templates. It uses standard malloc/realloc memory allocation functions and simple "doubling size" resizing strategy. Our AeDynArray class interface resembles MFC standard CArray class, but uses only standard C libraries.</description>
			<pubDate>Fri, 13 Apr 2007 23:29:16 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/php/">PHP</category>
			<link>http://www.anyexample.com/programming/php/php_multiple_photo_thumbnail_generator.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/php/php_multiple_photo_thumbnail_generator.xml</guid>
			<title>PHP multiple photo thumbnail generator</title>
			<description>Built-in PHP library gd does not have ready-to-use function for photo(jpeg) thumbnail generation. Although there are many such examples on the net, they are usually not suitable for effective generating series of thumbnails (240x240, 140x140, 80x80). This article provides php function thumbnail_generator and trivial image uploading script, which generates series of thumbnails.</description>
			<pubDate>Thu, 29 Mar 2007 21:16:00 +0300</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/programming/">Programming</category>
			<category domain="http://www.anyexample.com/programming/php/">PHP</category>
			<link>http://www.anyexample.com/programming/php/5_useful_php_functions_for_mysql_data_fetching.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/programming/php/5_useful_php_functions_for_mysql_data_fetching.xml</guid>
			<title>5 useful PHP functions for MySQL data fetching</title>
			<description>PHP usually comes with mysql extension mysql (mysql_... functions) 
		which is rather low-level and requires writing too much code for a trivial tasks: 
		error-checked execution of SQL queries, getting single row from SQL table, getting value from SQL table cell, etc. 
		OOP mysqli extension isn't any better. 
		In this article we present 5 useful functions which greatly simplify majority of real-life MySQL operations. 
		</description>
			<pubDate>Wed, 21 Mar 2007 17:20:41 +0200</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/webdev/">WebDev</category>
			<category domain="http://www.anyexample.com/webdev/javascript/">JavaScript</category>
			<link>http://www.anyexample.com/webdev/javascript/ie7_javascript_prompt()_alternative.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/webdev/javascript/ie7_javascript_prompt()_alternative.xml</guid>
			<title>IE7 JavaScript prompt() alternative </title>
			<description>
		By default Internet Explorer 7.0 disables standard JavaScript prompt() function due to security reasons. 
		Although users can enable this function again it's very unlikely that they will do so.
		This article presents alternative javascript function ae_prompt which displays fancy transparently shaded CSS-based prompt dialog
		and works with any modern browser including IE7. 
		</description>
			<pubDate>Fri, 09 Mar 2007 04:12:50 +0200</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/webdev/">WebDev</category>
			<category domain="http://www.anyexample.com/webdev/ajax/">AJAX</category>
			<link>http://www.anyexample.com/webdev/ajax/ajax_web_counter_for_widgets.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/webdev/ajax/ajax_web_counter_for_widgets.xml</guid>
			<title>AJAX web-counter for widgets</title>
			<description>Modern widget engines 
		(Apple Dashboard, Yahoo!Widgets, Windows Vista Sidebar)
		use XML transport (AJAX) to constantly update 
		various information(like weather, stocks, etc) from web.

		In this article there is a source of trivial php web-counter which collects stats and 
		outputs number of page views(hits) and 
		visitors(in fact, unique hosts) since midnight as XML file. 
		
		There is also our special AeCounter Dashboard Widget (and it's sources) which receive these xml-statistics
		(with the help of XmlHttpRequest object) and displays numbers on a little nice panel. 
		</description>
			<pubDate>Fri, 02 Feb 2007 20:54:29 +0200</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/webdev/">WebDev</category>
			<category domain="http://www.anyexample.com/webdev/javascript/">JavaScript</category>
			<link>http://www.anyexample.com/webdev/javascript/javascript_getelementsbyclass_function.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/webdev/javascript/javascript_getelementsbyclass_function.xml</guid>
			<title>JavaScript getElementsByClass function</title>
			<description>
			Modern JavaScript implementations has DOM functions getElementById and getElementsByTagName. However there is no function which return list of elements by the given CSS class name. This article provide function getElementsByClass which do this.  
		</description>
			<pubDate>Thu, 01 Feb 2007 04:38:57 +0200</pubDate>
		</item>
				<item>
			<category domain="http://www.anyexample.com/linux_bsd/">Linux,BSD</category>
			<category domain="http://www.anyexample.com/linux_bsd/bash/">bash</category>
			<link>http://www.anyexample.com/linux_bsd/bash/recursively_delete_backup_files.xml</link>
			<guid isPermaLink="true">http://www.anyexample.com/linux_bsd/bash/recursively_delete_backup_files.xml</guid>
			<title>Recursively delete backup files</title>
			<description>
			This is a simple example of a unix command, which recursively deletes backup files.
			Many advanced text-editors (jEdit, emacs, vim) produce temporary backup copies of edited files. 
			They usually look Like "file~" (with tilde at the end). While it's not a bad idea to have backup files, 
			they are not needed if you want, for example, redistribute your source code. 
		</description>
			<pubDate>Wed, 24 Jan 2007 20:08:30 +0200</pubDate>
		</item>
			</channel>
</rss>
<!-- 0.0173 -->