<?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>Alexandru Dinulescu&#039;s Thoughts&#187; Nerd Rage</title>
	<atom:link href="http://alexdweb.com/blog/tag/nerd-rage/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexdweb.com/blog</link>
	<description>This blog is about everything/anything related to XHTML/CSS and of course my favourite js library, jQuery.</description>
	<lastBuildDate>Thu, 09 Dec 2010 12:04:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>jQuery/javascript negation</title>
		<link>http://alexdweb.com/blog/2010/01/25/jqueryjavascript-negation/</link>
		<comments>http://alexdweb.com/blog/2010/01/25/jqueryjavascript-negation/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 16:42:23 +0000</pubDate>
		<dc:creator>Dinulescu Alexandru Adrian</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Nerd Rage]]></category>

		<guid isPermaLink="false">http://alexdweb.com/blog/?p=291</guid>
		<description><![CDATA[JQuery Negation &#160;if&#40;!$&#40;stuff&#41;.length &#62; 5&#41;&#123; &#160; &#160;// If element ISNT LARGER THAN 5 so in our case the number of elements must be 0 1 2 3 4 and 5 &#160; $&#40;this&#41;.doSomething&#40;&#41;; &#125; else &#123; &#160;// The number of elements is GRATER THAN 5 // do another thing &#125; Basically this is a negation of [...]]]></description>
			<content:encoded><![CDATA[<p> JQuery Negation </p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>$<span style="color: #009900;">&#40;</span>stuff<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span> <span style="color: #339933;">&gt;</span> <span style="color: #CC0000;">5</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #006600; font-style: italic;">// If element ISNT LARGER THAN 5 so in our case the number of elements must be 0 1 2 3 4 and 5 </span><br />
&nbsp; $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">doSomething</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span><br />
&nbsp;<span style="color: #006600; font-style: italic;">// The number of elements is GRATER THAN 5 // do another thing </span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p> Basically this is a negation of the following, god damnit my head hurts </p>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span>stuff<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">length</span> <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">5</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp;$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">doSomething</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span><br />
&nbsp;$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">doAnotherThing</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<p> Oh well new day, new learned things. God Bless Amerika </p>
]]></content:encoded>
			<wfw:commentRss>http://alexdweb.com/blog/2010/01/25/jqueryjavascript-negation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery IE Document/Window Errors</title>
		<link>http://alexdweb.com/blog/2009/12/28/jquery-ie-documentwindow-errors/</link>
		<comments>http://alexdweb.com/blog/2009/12/28/jquery-ie-documentwindow-errors/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 16:28:19 +0000</pubDate>
		<dc:creator>Dinulescu Alexandru Adrian</dc:creator>
				<category><![CDATA[IE6 Bugs]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[IE Bugs]]></category>
		<category><![CDATA[Nerd Rage]]></category>

		<guid isPermaLink="false">http://alexdweb.com/blog/?p=166</guid>
		<description><![CDATA[Hello After working on the google shortcuts for a while, i decided to open up IE 8 and see if the application works or not. I was surprised and started to do the old alert&#40;&#34;hax&#34;&#41; thing every dozen lines. The problem is with the $&#40;window&#41;.keypress&#40;function&#40;e&#41;&#123;&#125;&#41;. It seems that IE doesnt understand at all the $&#40;window&#41; [...]]]></description>
			<content:encoded><![CDATA[<p> Hello </p>
<p> After working on the google shortcuts for a while, i decided to open up <acronym title="Internet Explorer">IE</acronym> 8 and see if the application works or not. I was surprised and started to do the old <code class="codecolorer javascript default"><span class="javascript"><span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;hax&quot;</span><span style="color: #009900;">&#41;</span></span></code> thing every dozen lines. The problem is with the <code class="codecolorer javascript default"><span class="javascript">$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">keypress</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span></span></code>. It seems that <acronym title="Internet Explorer">IE</acronym> doesnt understand at all the <code class="codecolorer javascript default"><span class="javascript">$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span></span></code> property at all when it comes with keypress/keydown/keyup events. </p>
<p><span id="more-166"></span></p>
<p> After some research, this is a known issue from <acronym title="Internet Explorer">IE</acronym>5 days, which is quite weird that jQuery didnt fix it in a way so it works with <code class="codecolorer javascript default"><span class="javascript">$<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span></span></code></p>
<p> However i did check the width/height properties and both values return different values. </p>
<h3> jQuery </h3>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// instead of $(window).keypress(function(){});</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// use </span><br />
&nbsp; &nbsp; &nbsp; &nbsp; $<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">keypress</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// this is the testing </span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> windowH <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">height</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> windowW <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">width</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> documentH <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">height</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> documentW <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">width</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>windowH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>documentH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>windowW<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>documentW<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p> I did look over this issue over Google but I couldnt find any information about it. Really sad you know. </p>
]]></content:encoded>
			<wfw:commentRss>http://alexdweb.com/blog/2009/12/28/jquery-ie-documentwindow-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Taskbar</title>
		<link>http://alexdweb.com/blog/2009/12/03/windows-7-taskbar/</link>
		<comments>http://alexdweb.com/blog/2009/12/03/windows-7-taskbar/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 02:06:15 +0000</pubDate>
		<dc:creator>Dinulescu Alexandru Adrian</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[dock]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Nerd Rage]]></category>
		<category><![CDATA[Quick Launch]]></category>
		<category><![CDATA[start menu]]></category>
		<category><![CDATA[taskbar]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://alexdweb.com/blog/?p=115</guid>
		<description><![CDATA[Evening All MS messed up again, as always, Windows vista task bar is superior to windows 7 taskbar, both in look and feel (as well as polishing) and as functionality. My Crucial issue with Windows 7 taskbar, was that in previous versions you could put only your taskbar on a side of the screen, like [...]]]></description>
			<content:encoded><![CDATA[<p> Evening All </p>
<p> <acronym title="Microsoft">MS</acronym> messed up again, as always, Windows vista task bar is superior to windows 7 taskbar, both in look and feel (as well as polishing) and as functionality. </p>
<p><span id="more-115"></span></p>
<p> My Crucial issue with Windows 7 taskbar, was that in previous versions you could put only your taskbar on a side of the screen, like quick launch on the left side of the screen, and on the bottom the start menu / opened programs / right side icons ( the ones with the clock ). Well this is impossible to do with Windows 7, and i was so mad that i nearly uninstalled the software and switched to vista again HOWEVER, i found a program that can simulate this crucial missing feature called <a href="http://rocketdock.com/">rocketdock</a> which set with the windows vista black theme, left side alignment, 28px icons, no zoom when you touch an icon (mac dock sux), and always on top + autohide and some separators for good measurement (since the icons are too close together and you get something very similar. </p>
<div><a href="http://alexdweb.com/blog/2009/12/03/windows-7-taskbar/rocketdock/" rel="attachment wp-att-119"><img src="http://alexdweb.com/blog/wp-content/uploads/2009/12/rocketdock.jpg" alt="rocketdock" title="rocketdock" width="83" height="694" class="aligncenter size-full wp-image-119" /></a></div>
<p> SHAME ON YOU MICROSOFT! </p>
]]></content:encoded>
			<wfw:commentRss>http://alexdweb.com/blog/2009/12/03/windows-7-taskbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress DB possible issue -&gt; Blog Takeover</title>
		<link>http://alexdweb.com/blog/2009/05/08/wordpress-db-possible-issue-blog-takeover/</link>
		<comments>http://alexdweb.com/blog/2009/05/08/wordpress-db-possible-issue-blog-takeover/#comments</comments>
		<pubDate>Fri, 08 May 2009 18:04:49 +0000</pubDate>
		<dc:creator>Dinulescu Alexandru Adrian</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Nerd Rage]]></category>
		<category><![CDATA[Wordpress takeover]]></category>

		<guid isPermaLink="false">http://alexdweb.com/blog/?p=25</guid>
		<description><![CDATA[Hello Sometimes if your wordpress DB is down, you should normally get an error saying that the DB is unavailable and then some messages will appear with the possible cause of this, like the DB name is not found, the settings in the wp-config folder are wrong, and the like. However there is a case [...]]]></description>
			<content:encoded><![CDATA[<p> Hello </p>
<p> Sometimes if your wordpress <acronym title="DataBase">DB</acronym> is down, you should normally get an error saying that the <acronym title="DataBase">DB</acronym> is unavailable and then some messages will appear with the possible cause of this, like the <acronym title="DataBase">DB</acronym> name is not found, the settings in the wp-config folder are wrong, and the like. However there is a case that surprise surprise you get on the page with the INSTALLATION of wordpress and you&#8217;ve just lost your <acronym title="WordPress">WP</acronym> blog.</p>
<p> The file is found in wp-admin/install.php </p>
<p> As a good rule of thumb, it&#8217;s advisable to delete all readme.txt, nfo, info files from all plug-ins, there have been reports of some chinese bots crawling wordpress blogs for these, so save yourself some bandwidth and delete those </p>
<p> In order to make sure this doesnt happen at all, there are 3 methods </p>
<ul>
<li> Method 1: JUST <strong>NUKE</strong> the INSTALL.php file. After the blog has been installed you dont need this file anymore so just delete it </li>
<li> Method 2: htaccess file
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># PROTECT install.php<br />
</span><span style="color: #339933;">&lt;</span>Files install<span style="color: #339933;">.</span>php<span style="color: #339933;">&gt;</span><br />
&nbsp;Order Allow<span style="color: #339933;">,</span>Deny<br />
&nbsp;Deny from all<br />
&nbsp;Satisfy all<br />
<span style="color: #339933;">&lt;/</span>Files<span style="color: #339933;">&gt;</span></div></div>
</li>
<li> Method 3: Replace it entirely with something else that is written by you from the start </li>
</ul>
<p> Problem Fixed </p>
]]></content:encoded>
			<wfw:commentRss>http://alexdweb.com/blog/2009/05/08/wordpress-db-possible-issue-blog-takeover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

