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

<channel>
	<title>The Infinite Loop - Beginner&#039;s SEO, Beginner C# &#38; JQuery Tutorials &#187; General</title>
	<atom:link href="http://theinfiniteloopblog.com/category/gen/feed/" rel="self" type="application/rss+xml" />
	<link>http://theinfiniteloopblog.com</link>
	<description>Problem. Problem Solved. Loop. - The life of a programmer</description>
	<lastBuildDate>Wed, 17 Aug 2011 15:29:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Automatic Get/Set Visual C# 2010</title>
		<link>http://theinfiniteloopblog.com/gen/automatic-getset-visual-c-2010/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=automatic-getset-visual-c-2010</link>
		<comments>http://theinfiniteloopblog.com/gen/automatic-getset-visual-c-2010/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 15:29:45 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=445</guid>
		<description><![CDATA[One of my favorite features of c#. Automatic getters/setters! Before, one would have to declare a variable. private int _x; And then write get/set methods: public int X{ get{return _x;} set{x=value;} } However, in VISUAL C# 2010 - you can now do the following: public int X{get;set;} Which is the same as the code above! [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>One of my favorite features of c#. Automatic getters/setters!</p>
<p>Before, one would have to declare a variable.</p>
<p><code>private int _x;</code><br />
And then write get/set methods:</p>
<p><code>public int X{<br />
     get{return _x;}<br />
     set{x=value;}<br />
}</code></p>
<p>However, in VISUAL C# 2010 - you can now do the following:<br />
<code>public int X{get;set;}</code>  Which is the same as the code above!</p>
<p>Note: If you want to wrap any validation or anything around the get/set you will still need to write out the full get/set. However, for quick variables that require no extra work - the automatic get/set is a lifesaver! (or timesaver - if you're life is not in danger...whichever you prefer)</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/automatic-getset-visual-c-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C#/PHP Database Object Generator/Database Access Layer Generator</title>
		<link>http://theinfiniteloopblog.com/gen/c-database-object-generatordatabase-access-layer-generator/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=c-database-object-generatordatabase-access-layer-generator</link>
		<comments>http://theinfiniteloopblog.com/gen/c-database-object-generatordatabase-access-layer-generator/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 05:36:29 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=433</guid>
		<description><![CDATA[This is something i have been working on. It is virtually a tool I use to generate c#/php classes based on a database schema. The c#/SQL integration works well, however, I am still working to support the php/mysql generation. It creates very simple base C# classes based on a database connection. The program includes Saving [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>This is something i have been working on.<br />
It is virtually a tool I use to <strong>generate c#/php classes based on a database schema.</strong><br />
The c#/SQL integration works well, however, I am still working to support the php/mysql generation.</p>
<p>It creates very simple base C# classes based on a database connection. The program includes Saving Generation profiles and reloading them at a later time. It has a recently loaded profiles list - and allows you to regenerate the DAO as many times as you like.</p>
<p>By using this C# Database Object Generator/Database Access Layer Creation Tool I can focus on my application development as opposed to my DAL (data access layer) development.</p>
<p>This piece of software is currently in beta - and I am the only beta tester! <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you would like the installer - you can send me an email and I can send you a copy. </p>
<p>Here are some screenshots and some example usage!<br />

<a href='http://theinfiniteloopblog.com/gen/c-database-object-generatordatabase-access-layer-generator/attachment/cap1/' title='C# Database Object Creator'><img width="150" height="150" src="http://theinfiniteloopblog.com/wp-content/uploads/2011/06/cap1-150x150.jpg" class="attachment-thumbnail" alt="C# Database Object Creator (Schema and Profile)" title="C# Database Object Creator" /></a>
<a href='http://theinfiniteloopblog.com/gen/c-database-object-generatordatabase-access-layer-generator/attachment/cap2/' title='File Generation'><img width="150" height="150" src="http://theinfiniteloopblog.com/wp-content/uploads/2011/06/cap2-150x150.jpg" class="attachment-thumbnail" alt="Generated Entity Files" title="File Generation" /></a>
<a href='http://theinfiniteloopblog.com/gen/c-database-object-generatordatabase-access-layer-generator/attachment/cap3/' title='Generated Base File Example (hero.cs)'><img width="150" height="150" src="http://theinfiniteloopblog.com/wp-content/uploads/2011/06/cap3-150x150.jpg" class="attachment-thumbnail" alt="HeroBase.cs" title="Generated Base File Example (hero.cs)" /></a>
<a href='http://theinfiniteloopblog.com/gen/c-database-object-generatordatabase-access-layer-generator/attachment/cap4/' title='File Generation (Figure 2)'><img width="150" height="150" src="http://theinfiniteloopblog.com/wp-content/uploads/2011/06/cap4-150x150.jpg" class="attachment-thumbnail" alt="File Generation (Figure 2)" title="File Generation (Figure 2)" /></a>
<br />
And example usage of the classes generated by the c# database object generator tool. Note - the class HeroBase was from the generation files.</p>
<p><code>public HeroBase GetHeroById(int id)<br />
        {</p>
<p>            SqlConnection conn = serv.GetConnection();<br />
            try<br />
            {<br />
                conn.Open();<br />
                SqlCommand cmd = new SqlCommand();<br />
                cmd.CommandText = "SELECT * FROM hero WHERE hero_id="+id;<br />
                cmd.Connection = conn;<br />
                SqlDataReader rdr = cmd.ExecuteReader();<br />
                while (rdr.Read())<br />
                {<br />
                    HeroBase h = HeroFromReaderRow(rdr);<br />
                    if (h != null)<br />
                        return h;<br />
                }<br />
            }<br />
            catch (Exception ex)<br />
            {<br />
                throw new Exception("Could not load Heros " + ex.Message);<br />
            }<br />
            finally<br />
            {<br />
                conn.Close();<br />
            }<br />
            return null;<br />
        }</p>
<p>        public HeroBase HeroFromReaderRow(SqlDataReader rdr)<br />
        {<br />
            if (rdr == null)<br />
                return null;</p>
<p>            HeroBase h = new HeroBase();<br />
            h.HeroId = Convert.ToInt32(rdr["hero_id"]);<br />
            h.HeroName = rdr["hero_name"].ToString();<br />
            h.HeroDescription = rdr["hero_description"].ToString();<br />
            h.HeroType = rdr["hero_type"].ToString();<br />
            h.ImageFile = rdr["image_file"].ToString();<br />
            h.ModelFile = rdr["model_file"].ToString();<br />
            h.BaseAutoAttackLow = Convert.ToInt32(rdr["base_auto_attack_low"]);<br />
            h.BaseAutoAttackHigh = Convert.ToInt32(rdr["base_auto_attack_high"]);<br />
            h.BaseMovementSpeed = Convert.ToInt32(rdr["base_movement_speed"]);<br />
            h.Premium = Convert.ToBoolean(rdr["premium"]);<br />
            h.Concentration = Convert.ToInt32(rdr["concentration"]);<br />
            h.ModelRotation = Convert.ToDouble(rdr["model_rotation"]);<br />
            h.ModelScale = Convert.ToDouble(rdr["model_scale"]);<br />
            h.Active = Convert.ToBoolean(rdr["active"]);<br />
            return h;</p>
<p>        }</code></p>
<p>The reason the classes are affixed with the 'Base' word, is because this allows for the extension of these classes. HeroBase is the database version of the class - which includes base_hp, base_energy, base_movement_speed etc etc, however, an actual hero in a game will have much more than this (hp timers, energy/mana timers, current hp, current energy) - the naming of the classes allows for you to easily extend them.</p>
<p>For example:<br />
<code><br />
public class Hero:HeroBase(){<br />
       public Hero():base(){<br />
               CurrentHP=MaxHP;<br />
       }<br />
       public int CurrentHP{get;set;}<br />
}<br />
</code></p>
<p>I have classes created named service.<br />
E.g HeroService - this service has necessary methods for loading heroes from the database. This service returns objects of the Hero/HeroBase type.</p>
<p>All in all - it saves me a ton of time and I am glad Ive written this tool. Please comment if you have any interest in it - as I would like to gauge interest before I invest more of my time into refining it. As it sits now - it is perfect for my side project development, however, if there is enough interest - I am more than willing to improve it <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/c-database-object-generatordatabase-access-layer-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beginner Game programming jobs in Toronto</title>
		<link>http://theinfiniteloopblog.com/gen/beginner-game-programming-jobs-in-toronto/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=beginner-game-programming-jobs-in-toronto</link>
		<comments>http://theinfiniteloopblog.com/gen/beginner-game-programming-jobs-in-toronto/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 05:09:36 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=429</guid>
		<description><![CDATA[Well, it seems to me that finding a game programming job in Toronto is going to be pretty hard. I have used XNA and am currently working on a small c#/xna based engine for a game. Currently I have the following, none of which are graphical (except for the heroes with a small chase camera): [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Well, it seems to me that finding a game programming job in Toronto is going to be pretty hard.<br />
I have used XNA and am currently working on a small c#/xna based engine for a game.<br />
Currently I have the following, none of which are graphical (except for the heroes with a small chase camera):</p>
<p>Heroes (Health, HP regen, Energy Regen, Attacking Mechanisms, Defense Mechanisms)<br />
Hero Abilities<br />
Hero Stats<br />
Creep Waves (CreepEngine class responsible for spawning waves and keeping track of wave timers etc)</p>
<p>and am currently working on a few mechanics - like stealing gold etc.<br />
I guess Im just doing this to kill time and practice coding a game engine, but hopefully it gets to a point where it could be useful to someone. </p>
<p>It seems breaking into the game programming industry will be harder than I thought - teachers in college often discouraged me from it - saying it was a hard industry with tight deadlines etc etc...but what can be more fun than MAKING GAMES?!</p>
<p> <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  There will be a point in time where I know that programming business apps will no longer do it for me - and thats when I want to switch over to game programming. Call it a midlife crisis (at 22 years old) - but I am passionate about it! It seems that most video game companies already want a ton of experience in the game industry - how can someone get that experience if no one in the industry will hire?</p>
<p>Its nuts.<br />
3years with an advanced college diploma - and its not enough.<br />
Everyone wants a bachelors degree in comp sci - because having the money to pay your way through university and being in debt is somehow a sign that your dedicated. I will continue working on my little demo - it wont be easy and it will take a while but, I will get there.</p>
<p>Is anyone in the same situation as me?<br />
Does anyone feel helpless with this whole video game industry?</p>
<p>Its such a big industry - I don't even know where to start (Sure, I can go to a game programming school for $15,000/yr) - but life isnt a crystal staircase and I have bills to pay).</p>
<p>Any tips, inside knowledge etc, is highly appreciated - [b]comment if you'd like please!!! <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> [/b]</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/beginner-game-programming-jobs-in-toronto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HostGator 2010 Black Friday Sale Special 50-80% off hosting!</title>
		<link>http://theinfiniteloopblog.com/gen/cheap-hosting/hostgator-2010-black-friday-sale-special-50-80-off-hosting/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hostgator-2010-black-friday-sale-special-50-80-off-hosting</link>
		<comments>http://theinfiniteloopblog.com/gen/cheap-hosting/hostgator-2010-black-friday-sale-special-50-80-off-hosting/#comments</comments>
		<pubDate>Fri, 26 Nov 2010 03:55:24 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Cheap Hosting]]></category>
		<category><![CDATA[cheap web hosting]]></category>
		<category><![CDATA[cheapest hosting]]></category>
		<category><![CDATA[host gator]]></category>
		<category><![CDATA[host gator black friday 2010]]></category>
		<category><![CDATA[hostgator]]></category>
		<category><![CDATA[hostgator 2010 blackfriday]]></category>
		<category><![CDATA[hostgator black friday]]></category>
		<category><![CDATA[hostgator blackfriday sale]]></category>
		<category><![CDATA[really cheap hosting]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=415</guid>
		<description><![CDATA[We're offering 50% OFF EVERYTHING From 12:00AM CST – 5AM CST <em>(11am EST - 4am EST)</em><br/>
We're offering 80% OFF EVERYTHING From 5AM – 9AM CST <em>(4am EST - 9am EST)</em> WHILE SUPPLIES LAST (first come, first receive; so definitely don't miss out!)]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Discounted hosting has never been better!<br />
As a hostgator affiliate I get emails and notices about their specials. And this one blew my mind.<br/><br/></p>
<p>One day only 50-80% off!!<br/><br />
Now - let me be perfectly frank - I am an affiliate and do make commissions off referrals - but come on 80% off hosting for 3 years? Thats awesome any way you slice it. (horizontal, vertical, or diagonal). But, even if I didn't make any commission referring - i would still HIGHLY recommend them. Their live support chat always gets 10 ratings from me across the board!<br/><br/></p>
<p>Here is an excerpt from my affiliate email (we're obviously refers to hostgator) <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  :<br/><br />
<b>We're offering 50% OFF EVERYTHING From 12:00AM CST – 5AM CST <em>(11am EST - 4am EST)</em><br/><br />
We're offering 80% OFF EVERYTHING From 5AM – 9AM CST <em>(4am EST - 9am EST)</em> WHILE SUPPLIES LAST (first come, first receive; so definitely don't miss out!)<br/><br />
From 9AM – 11:59PM CST <em>(8am-10:59pm)</em> OR after 80% OFF accounts have sold out, we will continue to offer 50% OFF EVERYTHING<br/><br />
This applies to ALL Accounts and ALL Term Lengths. So you're visitors and friends will have the opportunity to receive up to 80% off of up to 3 years worth of Hosting! That would come out to $35.64 for 3 FULL YEARS!<br/></b></p>
<p>And - The links you have all been waiting for:<br />
(Feel free to use hostgator.com if you do not want me to get commission on your referral)</p>
<p><a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=aburningflame-blackfriday"><img src="http://tracking.hostgator.com/img/Green/468x60.gif" border=0></a><br/><br />
<a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=aburningflame-blackfriday"><img src="http://tracking.hostgator.com/img/Extras/468x60-animated.gif" border=0></a><br/><br />
<a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=aburningflame-blackfriday"><img src="http://tracking.hostgator.com/img/Reseller/468x60.gif" border=0></a></p>
<p>ENJOY!!!! <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Theyve treated me really well - and they will treat you just as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/cheap-hosting/hostgator-2010-black-friday-sale-special-50-80-off-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HostGator Discount Code 2010 &#8211; Cheap Web Hosting</title>
		<link>http://theinfiniteloopblog.com/gen/cheap-hosting/hostgator-discount-code-cheap-web-hosting/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hostgator-discount-code-cheap-web-hosting</link>
		<comments>http://theinfiniteloopblog.com/gen/cheap-hosting/hostgator-discount-code-cheap-web-hosting/#comments</comments>
		<pubDate>Mon, 24 May 2010 07:57:40 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Cheap Hosting]]></category>
		<category><![CDATA[host gator discount code 2010]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=332</guid>
		<description><![CDATA[Affordable and cheap shared web hosting with great live chat support. Get one month now for $0.01 cent using the coupon code: 994offhgpackage or 2010hostgatorcoupon or hostgatorcoupon2010]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>By far one of the best hosting companies I have had the experience of being a customer of is HostGator. Their prices are extremely affordable and their customer support is SUPERB. I have never had a web hosting company with the technical expertise and patience of the live support chat. They always answer questions and help configure servers. I have had live support chat agents sit there patiently and wait for me to re-test my site after their changes.</p>
<p>Our programming company uses HostGator to host all of our sites - they have shared web hosting, reseller accounts, and others.<br />
They offer UNLIMITED disk space hosting (250,000 files maximum ...100,000 if you intend to use the auto-backup feature) and<br />
UNLIMITED bandwidth and are just the best hosting company i have ever had the pleasure of working with.</p>
<p>Use one of these HostGator 2010 coupon codes  to receive $9.94 off your first month!</p>
<h2>HostGator Discount Coupons/Promo Codes:</h2>
<p><strong>HostGator 2010 coupon/promo code 1: 994offhgpackage</strong><br />
<strong>HostGator 2010 coupon/promo code 2: 2010hostgatorcoupon</strong><br />
<strong>HostGator 2010 coupon/promo code 3: hostgatorcoupon2010</strong><br />
With the "BABY" plan for 1 month this means you pay $0.01 for 1 month hosting!</p>
<p><a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=aburningflame-"><img src="http://tracking.hostgator.com/img/Shared/300x250.gif" border=0></a></p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/cheap-hosting/hostgator-discount-code-cheap-web-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Remove Viruses and Spyware Manually</title>
		<link>http://theinfiniteloopblog.com/gen/pc-maintenance/how-to-remove-viruses-and-spyware-manually/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-remove-viruses-and-spyware-manually</link>
		<comments>http://theinfiniteloopblog.com/gen/pc-maintenance/how-to-remove-viruses-and-spyware-manually/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 23:04:49 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[PC Maintenance]]></category>
		<category><![CDATA[adware removal]]></category>
		<category><![CDATA[adware removal tips]]></category>
		<category><![CDATA[malware removal tips]]></category>
		<category><![CDATA[spyware removal]]></category>
		<category><![CDATA[spyware removal tips]]></category>

		<guid isPermaLink="false">http://theinfiniteloopblog.com/?p=303</guid>
		<description><![CDATA[Prevention is the best medicine. I'm sure you've heard something like that before but its true. Knowing about how to prevent spyware goes a long way. There are many programs that offer virus+spyware/malware protection and they will monitor your computer for changes to  your registry and files. I recommend the following programs for spyware/malware protection and scans.]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<h2>Remove Viruses and Spyware Manually</h2>
<p>Viruses,spyware, malware - whatever you want to call it, these things wreak havoc on your computer. Browser hijacks, file deletion, disabling ctrl+alt+delete are just a few things that some of these baddies can do. However, there are some tools to help you remove viruses and spyware manually.</p>
<h2>Preventing Viruses and Spyware</h2>
<p>Prevention is the best medicine. I'm sure you've heard something like that before but its true. Knowing about how to prevent spyware goes a long way. There are many programs that offer virus+spyware/malware protection and they will monitor your computer for changes to  your registry and files. I recommend the following programs for spyware/malware protection and scans.</p>
<p><a href="http://www.safer-networking.org/index2.html">Spyware Search &amp; Destroy (Spybot S&amp;D)</a></p>
<p><a href="http://www.lavasoft.com/">Ad-aware SE (Free for personal use)</a><a href="http://www.malwarebytes.org/"></a></p>
<p><a href="http://www.malwarebytes.org/">Malware Bytes</a></p>
<h2>Steps To Remove Viruses and Spyware Manually</h2>
<ol>
<li><strong>Download and Update 1 of the above software (or all 3! [recommended])</strong><br/></li>
<li><strong>Perform scans</strong> - Use the above programs to perform viruses, spyware, and adware scans. This is usually the initial step in removal as it will remove most of the spyware/adware/malware on your computer.  I recommend using safe mode to do these scans. In safe mode, your computer does not load extra applications and drivers, only the bare minimum need to run  your operating system, so these programs will have an easier time removing/deleting files from these viruses. There are different ways to get into Windows Safe Mode. On my computer, I turn off the power and turn the computer on. I keep hitting the F5 key until i get a prompt asking how I want to boot. I select safe mode and let it load. On your computer it may be a different F  key...like F7.<br/></li>
<li><strong>Check your startup</strong> <strong>using  msconfig </strong> - Now that we have run scans and have done an initial clean on our computer. We can check our startup. Hit Start, then Run and type msconfig. Hit OK. Click the Startup tab, and look through the list. For the most part, anything here can really be unchecked. Try to look at the file path and the name of the checked items, this will usually give you a hint of what is what. Example: Logitech Quickcam Driver -&gt; This is probably your camera driver, dont disable it. Once you go through the list and uncheck unwated items, click apply. Restart when you are prompted to. After restarting, click Do Not Show This Message Again and click OK.<br/></li>
<li><strong>HijackThis! - </strong><a href="http://free.antivirus.com/hijackthis/">Download Hijack This</a> Hijack This is a program that will scan your computer and show information about changes that have been made to it. Download and install hijack this and run a scan and produce a log. You can copy and paste your log into this site: <a href="http://hjt.networktechs.com/">http://hjt.networktechs.com/</a> and it will guide you onto what to remove (To remove items, place checks next to them and click Fix Selected Issues) .  Also, there are many forums which will let you paste a HJT log and other kind users will help you analyze it. Alternatively, you can post your HJT log in the comments below and I will try to assist you with it.<br/></li>
<li><strong>CC Cleaner  - </strong><a href="http://www.piriform.com/ccleaner">Download CC Cleaner</a> CC Cleaner will help remove temporary browser files, cookies, recycle bin, some program cache info. It is a good idea to run this program every once in a while just to help free up some space and keep your programs running in top shape.<br/></li>
<li><strong>Reformat (Last Resort/First Resort) - </strong>A lot of viruses and spyware can be removed with the above steps, however, sometimes you get very pesky viruses and programs.  If you think the malware/adware/virus will be extremely difficult to remove, or if it is extremely malicious (i.e rootkit viruses that attach to windows files) sometimes the BEST option is to reformat and reinstall windows. This is the ONLY way to ensure your computer is COMPLETELY free of spyware. The programs listed above often do the trick. Sometimes you will do Steps 1-5 and then decide to reformat anyways because they couldn't completely remove the infection. Sometimes when I get extremely pesky infections, I reformat as my first resort. A backup, reformat and reinstall of all my programs takes me less than 4hours. Sometimes, virus removal and infection cleaning takes more than this.<br/></li>
</ol>
<p><br/><br />
Hope this guide helps you remove viruses and spyware infections. I often get paid to clean and remove spyware, adware, and viruses, however, I don't mind sharing how I do it. Most people just cant be bothered with it, but, if you can take the time to do the steps above, you will have a cleaner, faster, better, smoother running computer.<br />
Comment if this helped you!<br />
Paste your HJT logs if you need assistance.</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/pc-maintenance/how-to-remove-viruses-and-spyware-manually/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dreamweaver error: xml parsing fatal error: Invalid document structure</title>
		<link>http://theinfiniteloopblog.com/gen/dreamweaver-error-xml-parsing-fatal-error-invalid-document-structure/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dreamweaver-error-xml-parsing-fatal-error-invalid-document-structure</link>
		<comments>http://theinfiniteloopblog.com/gen/dreamweaver-error-xml-parsing-fatal-error-invalid-document-structure/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 04:59:56 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://scottmoniz.com/programmingBlog/?p=260</guid>
		<description><![CDATA[If you get an error like this, chances are one of your layout files went corrupt. I received an xml parsing fatal error: mentioning that my workspace file Designer.xml could not be read. If you get this error too, no worries, fixing it is simple. Go to C:/. Click Tools&#62;Folder Options. Click the View Tab. [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>If you get an error like this, chances are one of your layout files went corrupt.<br />
I received an xml parsing fatal error: mentioning that my workspace file Designer.xml could not be read.<br />
If you get this error too, no worries, fixing it is simple.<br />
Go to C:/.  Click Tools&gt;Folder Options. Click the View Tab. Click 'Show hidden files and folders'.<br />
<!--adsense--><br />
Navigate to C:/Documents and Settings/username/Application Data/Adobe/Dreamweaver/en_us/Configuration/Workspace. Make a new folder and move all files in that directory into this new folder. Close Dreamweaver and restart it.  You should have no more problems with Dreamweaver (this may also work with Flash) and it should load.</p>
<p>Comment if this helped <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/dreamweaver-error-xml-parsing-fatal-error-invalid-document-structure/feed/</wfw:commentRss>
		<slash:comments>88</slash:comments>
		</item>
		<item>
		<title>Easy, Simple Paging Using PHP</title>
		<link>http://theinfiniteloopblog.com/dbs/easy-simple-paging-using-php/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=easy-simple-paging-using-php</link>
		<comments>http://theinfiniteloopblog.com/dbs/easy-simple-paging-using-php/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 07:10:16 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[custom php paging]]></category>
		<category><![CDATA[easy php paging]]></category>
		<category><![CDATA[how to php paging]]></category>
		<category><![CDATA[php automatic pagination]]></category>
		<category><![CDATA[php automatic paging]]></category>
		<category><![CDATA[php pagination]]></category>
		<category><![CDATA[php paging]]></category>
		<category><![CDATA[php paging tutorial]]></category>
		<category><![CDATA[simple php paging]]></category>

		<guid isPermaLink="false">http://scottmoniz.com/programmingBlog/?p=243</guid>
		<description><![CDATA[Easy &#38; Simple Paging using PHP. Here is the result: (DB has 8records, Rows per page is set to 5, and we're on page 2) Paging usually takes a while but here we will do it quickly and cleanly. Your page will be named page.php. And when we want to switch pages we will make [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p style="text-align: center;">Easy &amp; Simple Paging using PHP. Here is the result: (DB has 8records, Rows per page is set to 5, and we're on page 2)<br />
<a href="http://coulditgetworse.com/theinfiniteloopblog/wp-content/uploads/2009/09/advertisers1.jpg"><img class="aligncenter size-full wp-image-252" title="advertisers" src="http://coulditgetworse.com/theinfiniteloopblog/wp-content/uploads/2009/09/advertisers1.jpg" alt="advertisers" width="489" height="128" /></a></p>
<p>Paging usually takes a while but here we will do it quickly and cleanly.</p>
<p>Your page will be named page.php. And when we want to switch pages we will make it page.php?pg=2.<br />
Im sure you've seen this before. Anyways lets dive in.</p>
<p>I use shorthand to clean stuff up, but basically shorthand is</p>
<p>$returnvalue=(condition ?  "true" : "false");<br />
Example:</p>
<p>$is_loggedin=(isset($_SESSION["loggedin"]) ? 1 : 0);<br />
After this statement, if the session variable is set, $is_loggedin will equal 1, else it will equal 0.</p>
<p>At the top of your PHP page type the following:</p>
<pre>&lt;?php
/*paging*/
Line 1: $pg=(isset($_GET["pg"]) &amp;&amp; is_numeric($_GET["pg"]) &amp;&amp; $_GET["pg"]&gt;0 ? $_GET["pg"] : 1);
Line 2: $rowsperpage=10;
Line 3: $offset=($pg&gt;1 ? ($pg-1)*$rowsperpage : 0 );
Line 4: $limitstr=" LIMIT $offset, $rowsperpage";
?&gt;</pre>
<p>Explanation:<br />
First of all Limit is : LIMIT $startrowid, $number of entries to return<br />
So LIMIT 55, 5  means start at row 55 and return 5 rows (55, 56, 57, 58, 59)</p>
<p><strong>Line 1</strong>: If in the query string the pg is set  e.g page.php?pg=4, and it is numeric, and greater than 0 we will assign the value of $_GET["pg"] to our $pg variable. If it is not set, or it is not numeric, or zero or less, we set the $pg variable to 1.<br />
<strong>Line 2</strong>: We set our rows per page<br />
<strong>Line 3</strong>: If the page is greater than 1, we set the offset to ($pg-1)*rowsperpage. If the page is 1 or less, we set offset to 0.<br />
<strong>Line 4</strong>: We create the limit string for the sql statement. This will output something like LIMIT x, y.<br />
(rowsperpage set to 10)</p>
<p>In this case page.php?pg=1<br />
$pg = 1;<br />
$offset = 0;<br />
$rowsperpage=10;<br />
$limitstr="LIMIT 0, 10"; //this string will pull 10 rows starting from row 0 (the first row) (rows 0-9)</p>
<p>In this case page.php?pg=3<br />
$pg=3;<br />
$offset= (3-1) * 10;  //offset calculates to 20<br />
$limitstr="LIMIT 20, 10";  //this string will pull 10 rows starting from  and including row 20 (rows 20-29)</p>
<p><strong>Ok. Now that we got that out of the way.</strong></p>
<p>We will use a simple query, then we will attach our new limit string (looking at case 2 above)<br />
$sql="SELECT * FROM MEMBERS $limitstr"; //sql = "SELECT * FROM MEMBERS LIMIT 20,10";<br />
$res=mysql_query($sql);<br />
while($row=mysql_fetch_array($res)){</p>
<p>//processing if you need to<br />
}</p>
<p>We also need to know the total count for this table<br />
$sql="SELECT COUNT(memberid) FROM MEMBERS";<br />
$res=mysql_query($sql);<br />
$row=mysql_fetch_array($res);<br />
$total = $row[0];</p>
<p>Now we know the total count.</p>
<p>So we need to calculate the number of pages. That is done by this formula:<br />
($total/$rowsperpage);<br />
Now in the case of 26 members and 5 rows per page. Using this formula 26/5 =  5.2pages, so we need to round up!</p>
<p>$maxpage=ceil($total/$rowsperpage); //max page is now 6.</p>
<p>Ok, we got everything set up <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Just need to print out our paging!<br />
Wherever you want your paging setup add this:</p>
<pre>&lt;?php
print '&lt;div class="paging"&gt;&lt;ul&gt;';
for($i=1; $i&lt;=$maxpage; $i++){
  if($pg==$i)
     print '&lt;li&gt;&lt;span&gt;'.$i.'&lt;/span&gt;&lt;/li&gt;';
  else
     print '&lt;li&gt;&lt;a href="?pg='.$i.'"&gt;'.$i.'&lt;/a&gt;&lt;/li&gt;';
}
print "&lt;/ul&gt;&lt;/div&gt;";
?&gt;</pre>
<p>Then we can do some nice styling (Mess around with margins to setup spacing)<br />
CSS<br />
div.paging {text-align: center; margin-top: 5px;}<br />
div.paging span{font-weight: bold;}<br />
div.paging ul{overflow: hidden;}<br />
div.paging ul li{width: 10px; float: left; margin: 0px 10px 5px 0px;}</p>
<p>This will page across until it hits the edge of the div, then it will move to the next line.</p>
<p>ENJOY and comment ! <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/dbs/easy-simple-paging-using-php/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Recursing through a directory/filesystem using C#</title>
		<link>http://theinfiniteloopblog.com/gen/recursing-through-a-directoryfilesystem-using-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=recursing-through-a-directoryfilesystem-using-c</link>
		<comments>http://theinfiniteloopblog.com/gen/recursing-through-a-directoryfilesystem-using-c/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 21:34:37 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://scottmoniz.com/programmingBlog/?p=220</guid>
		<description><![CDATA[This will teach you how to recurse through a directory/filesystem using C#.. The problem comes from not knowing how many folders/files exist. One folder can have many folders inside it, those folders can each have many folders inside it. I will show you how to recurse through the filesystem and explain it so that you [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>This will teach you how to <strong>recurse through a directory/filesystem using C#.</strong>.<br />
The problem comes from not knowing how many folders/files exist.<br />
One folder can have many folders inside it, those folders can each have many folders inside it.</p>
<p>I will show you how to recurse through the filesystem and explain it so that you UNDERSTAND it. This isnt for copy-paste.</p>
<p>We will start with a C# console application and pick a path, we'll use C: for this.<br />
First of all, we're going to need the IO namespace. The IO namespace has access to File and Directory methods.</p>
<p>At the top add these lines:</p>
<pre>
using System; //Just so we can use the shortcut Console instead of System.Console
using System.IO; //Gives us access to file, directory objects</pre>
<p>Now, in our "main" method, we are going to write the following:</p>
<pre>
string path="C:/"; //set the root path we want to recurse through.

//check if the directory exists
if(Directory.Exists(path)){
        DirectoryInfo di=new DirectoryInfo(path);
        //based on a path, this object will give you directory information about that directory
        printDirectories(di);
        //this method will actually go through our directories and print out information
}else{
        Console.WriteLine("Directory does not exist. Press Enter to exit");
        Console.ReadLine(); //when you hit return the program will terminate.
}
</pre>
<p><!--adsense--><br />
Now we will write the print directories method. It takes a DirectoryInfo object as a parameter and will use that to recurse through the file system.</p>
<p>//declared as static because were a console app, this can be private in your application if it a utility method.<br />
2 Important methods we're going to be looking at are in the DirectoryInfo object. They are</p>
<p>public FileInfo[] directoryInfoObject.GetFiles() //returns an array of FileInfo objects<br />
public DirectoryInfo[] directoryInfoObject.GetDirectories() //returns an array of DirectoryInfo objects</p>
<pre>static void printDirectories(DirectoryInfo di){
       foreach(FileInfo fi in di.GetFiles()){
              //we are going to run code for each file
              Console.WriteLine(fi.FullName); //this prints out the full file name including the path
       }

      //now that we process this directory for files, we do the same for every subdirectory in this directory
      foreach(DirectoryInfo subDir in di.GetDirectories()){
             //we are going to call the printDirectories method, with the subdirectory as the root.
            //its files will be processed, then its subdirectories will be checked
            //this happens foreach Directory in the current directory
            printDirectories(subDir); //recurse
      }
}</pre>
<p>Thats simple recursion. The most common use of this is for populating a treeview and another use that comes to mind is file searching. Keep an eye out for the next tutorial: Populating a Treeview from a file system!</p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/recursing-through-a-directoryfilesystem-using-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding/Insert Line Breaks into a Textarea</title>
		<link>http://theinfiniteloopblog.com/gen/addinginsert-line-breaks-into-a-textarea/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=addinginsert-line-breaks-into-a-textarea</link>
		<comments>http://theinfiniteloopblog.com/gen/addinginsert-line-breaks-into-a-textarea/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 07:14:20 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[XHTML/CSS]]></category>
		<category><![CDATA[line breaks in textarea]]></category>
		<category><![CDATA[text area line break]]></category>
		<category><![CDATA[textaera \n]]></category>
		<category><![CDATA[textarea doesnt work]]></category>
		<category><![CDATA[textarea line break]]></category>
		<category><![CDATA[textarea line break problem]]></category>

		<guid isPermaLink="false">http://scottmoniz.com/programmingBlog/?p=184</guid>
		<description><![CDATA[Seems like a simple enough problem to solve...just use \n or a br tag right? ...wrong. This markup &#60;textarea&#62;Test&#60;br/&#62;Newline&#60;/textarea&#62; produces: Test&#60;br/&#62;Newline And the markup &#60;textarea&#62;Test\nNewline&#60;/textarea&#62; produces: Test\nNewline The trick to inserting a new line is to use the character for a carriage return. I stumbled upon this when I ran into this problem. I opened [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Seems like a simple enough problem to solve...just use \n or a br tag<br />
right? ...wrong.<br />
This markup &lt;textarea&gt;Test&lt;br/&gt;Newline&lt;/textarea&gt; produces:<br />
<textarea>Test&lt;br/&gt;Newline</textarea></p>
<p>And the markup &lt;textarea&gt;Test\nNewline&lt;/textarea&gt; produces:<br />
<textarea>Test\nNewline</textarea></p>
<p>The trick to inserting a new line is to use the character for a carriage return. I stumbled upon this when I ran into this problem. I opened a new notepad file and made a simple textarea. When typing in it, I noticed that when I press enter it goes to a new line (obviously), so I figured why not try to put a carriage return into the textarea. The carriage return representation is &amp;#13; .</p>
<p>So the markup &lt;textarea&gt;Test&amp;#13;Newline&lt;/textarea&gt; produces:<br />
<textarea>Test&#13;Newline</textarea></p>
<p>And there you have it, simple problem to which the answer may take 30+ minutes to find.<br />
Hopefully I save you that 30 mins <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Comment, Enjoy <img src='http://theinfiniteloopblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://theinfiniteloopblog.com/gen/addinginsert-line-breaks-into-a-textarea/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

