<?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>moGhoul</title>
	<atom:link href="http://moghoul.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://moghoul.com</link>
	<description></description>
	<lastBuildDate>Thu, 24 Jun 2010 21:33:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>imgInfo Chrome Extension</title>
		<link>http://moghoul.com/coding/imginfo-chrome-extension/</link>
		<comments>http://moghoul.com/coding/imginfo-chrome-extension/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 17:44:19 +0000</pubDate>
		<dc:creator>Bogdan Covaci</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://moghoul.com/?p=372</guid>
		<description><![CDATA[I just published my first Google Chrome extension. I feel it addresses the lack of a feature I deem very important &#8211; image information. Get it here.
How to use it? Simply hover an image for the amount of time specified in the options page.
All sources are available on GitHub here and here.
]]></description>
			<content:encoded><![CDATA[<p>I just published my first Google Chrome extension. I feel it addresses the lack of a feature I deem very important &#8211; image information. Get it <a href="https://chrome.google.com/extensions/detail/cppcfjomiccbijjegfcplbgcdjbhkdch">here</a>.</p>
<p>How to use it? Simply hover an image for the amount of time specified in the options page.</p>
<p>All sources are available on GitHub <a href="http://github.com/moghoul/imgInfo">here</a> and <a href="http://github.com/moghoul/imgInfoGoogleApp">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://moghoul.com/coding/imginfo-chrome-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl: Mass Domain Checker Script</title>
		<link>http://moghoul.com/coding/perl-mass-domain-checker-script/</link>
		<comments>http://moghoul.com/coding/perl-mass-domain-checker-script/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 01:30:51 +0000</pubDate>
		<dc:creator>Bogdan Covaci</dc:creator>
				<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://moghoul.com/?p=361</guid>
		<description><![CDATA[A quick and dirty script to mass check domain names.

#!/usr/bin/perl -w
use strict;
use Socket;
no warnings;

print "checking domains...\n\n";

while()
{
	chomp($_);

	if(rindex($_, ".") == -1)
	{
		$_ = $_.".com";
	};

	eval
	{
		my $address;
		$address = inet_ntoa(inet_aton($_));
		print "not available\t -- $_\n";
	};
	if($@)
	{
		print "available\t -- $_\n";
	};
}

print "\ndone.\n";

Usage:

Copy, paste &#038; save the script as domainchecker &#8211; make sure you have Perl installed.
If you&#8217;re on a *NIX platform (Macs included) chmod 770 [...]]]></description>
			<content:encoded><![CDATA[<p>A quick and dirty script to mass check domain names.</p>
<pre name="code" class="perl">
#!/usr/bin/perl -w
use strict;
use Socket;
no warnings;

print "checking domains...\n\n";

while(<>)
{
	chomp($_);

	if(rindex($_, ".") == -1)
	{
		$_ = $_.".com";
	};

	eval
	{
		my $address;
		$address = inet_ntoa(inet_aton($_));
		print "not available\t -- $_\n";
	};
	if($@)
	{
		print "available\t -- $_\n";
	};
}

print "\ndone.\n";
</pre>
<p>Usage:</p>
<ul>
<li>Copy, paste &#038; save the script as domainchecker &#8211; make sure you have Perl installed.</li>
<li>If you&#8217;re on a *NIX platform (Macs included) chmod 770 domainchecker.</li>
<li>Save the list of domain you want to check in a separate file, e.g: domains.txt, one domain name per line</li>
<li>Run the script: ./domainchecker domains.txt</li>
<ul>
<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://moghoul.com/coding/perl-mass-domain-checker-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Source Code for DEX Available on GitHub</title>
		<link>http://moghoul.com/news/source-code-dex-github/</link>
		<comments>http://moghoul.com/news/source-code-dex-github/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 13:25:22 +0000</pubDate>
		<dc:creator>Bogdan Covaci</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://moghoul.com/?p=356</guid>
		<description><![CDATA[Direct link to GitHub page here.
Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>Direct link to GitHub page <a href="http://github.com/moghoul/DEX">here</a>.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://moghoul.com/news/source-code-dex-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Valid Email NSString Category</title>
		<link>http://moghoul.com/coding/valid-email-nsstring-category/</link>
		<comments>http://moghoul.com/coding/valid-email-nsstring-category/#comments</comments>
		<pubDate>Thu, 27 May 2010 13:35:27 +0000</pubDate>
		<dc:creator>Bogdan Covaci</dc:creator>
				<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://moghoul.com/?p=338</guid>
		<description><![CDATA[A quick NSString addition to check if the string is a valid email address:

@interface NSString (ValidEmailAddition)
-(BOOL) isValidEmail;
@end

@implementation NSString (ValidEmailAddition)
-(BOOL) isValidEmail
{
	NSString *emailRegEx =
		@"(?:[a-z0-9!#$%\\&#038;'*+/=?\\^_`{&#124;}~-]+(?:\\.[a-z0-9!#$%\\&#038;'*+/=?\\^_`{&#124;}"
		@"~-]+)*&#124;\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\"
		@"x7f]&#124;\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-"
		@"z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?&#124;\\[(?:(?:25[0-5"
		@"]&#124;2[0-4][0-9]&#124;[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]&#124;2[0-4][0-9]&#124;[01]?[0-"
		@"9][0-9]?&#124;[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21"
		@"-\\x5a\\x53-\\x7f]&#124;\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])";

	NSPredicate *regExPredicate = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", emailRegEx];
	return [regExPredicate evaluateWithObject:self];
}
@end

]]></description>
			<content:encoded><![CDATA[<p>A quick NSString addition to check if the string is a valid email address:</p>
<pre name="code" class="objc">
@interface NSString (ValidEmailAddition)
-(BOOL) isValidEmail;
@end

@implementation NSString (ValidEmailAddition)
-(BOOL) isValidEmail
{
	NSString *emailRegEx =
		@"(?:[a-z0-9!#$%\\&#038;'*+/=?\\^_`{|}~-]+(?:\\.[a-z0-9!#$%\\&#038;'*+/=?\\^_`{|}"
		@"~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\"
		@"x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-"
		@"z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:25[0-5"
		@"]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-"
		@"9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21"
		@"-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])";

	NSPredicate *regExPredicate = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", emailRegEx];
	return [regExPredicate evaluateWithObject:self];
}
@end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://moghoul.com/coding/valid-email-nsstring-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I♥QUOTES code now on GitHub</title>
		<link>http://moghoul.com/news/i-love-quotes-code-now-on-github/</link>
		<comments>http://moghoul.com/news/i-love-quotes-code-now-on-github/#comments</comments>
		<pubDate>Sun, 02 May 2010 13:27:19 +0000</pubDate>
		<dc:creator>Bogdan Covaci</dc:creator>
				<category><![CDATA[git]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://moghoul.com/?p=309</guid>
		<description><![CDATA[The source code for I♥QUOTES Reloaded is now available on GitHub.
Direct link to the repository here.
Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>The source code for <a href="http://moghoul.com/apps/i-love-quotes-reloaded/">I♥QUOTES Reloaded</a> is now available on GitHub.</p>
<p>Direct link to the repository <a href="http://github.com/moghoul/I-QUOTES">here</a>.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://moghoul.com/news/i-love-quotes-code-now-on-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gitting it!</title>
		<link>http://moghoul.com/news/gitting-it/</link>
		<comments>http://moghoul.com/news/gitting-it/#comments</comments>
		<pubDate>Sun, 02 May 2010 13:17:13 +0000</pubDate>
		<dc:creator>Bogdan Covaci</dc:creator>
				<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://moghoul.com/?p=300</guid>
		<description><![CDATA[Starting from now, I&#8217;ll try to open source as much of my code as possible. I chose GitHub to host my code as I really wanted to give git a try.
The code can be found at http://github.com/moghoul.
By the way, for git newbies like me, some really helpful tips and cheat sheets can be found here.
]]></description>
			<content:encoded><![CDATA[<p>Starting from now, I&#8217;ll try to open source as much of my code as possible. I chose GitHub to host my code as I really wanted to give git a try.</p>
<p>The code can be found at <a href="http://github.com/moghoul">http://github.com/moghoul</a>.</p>
<p>By the way, for git newbies like me, some really helpful tips and cheat sheets can be found <a href="http://github.com/guides/git-cheat-sheet">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://moghoul.com/news/gitting-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install an AdHoc iPhone application</title>
		<link>http://moghoul.com/tips/how-to-install-an-adhoc-iphone-application/</link>
		<comments>http://moghoul.com/tips/how-to-install-an-adhoc-iphone-application/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 09:37:57 +0000</pubDate>
		<dc:creator>Bogdan Covaci</dc:creator>
				<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://moghoul.com/?p=281</guid>
		<description><![CDATA[AdHoc distribution allows you to beta test an application before it hits the App Store.
What you need to install an AdHoc application on your device:

The .zip file for the application.
The .mobileprovision file the developer provided you with.
The device for which the application was created (the device whose UDID you sent to the developer).

Steps to install [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">AdHoc distribution allows you to beta test an application before it hits the App Store.</p>
<p>What you need to install an AdHoc application on your device:</p>
<ul>
<li>The .zip file for the application.</li>
<li>The .mobileprovision file the developer provided you with.</li>
<li>The device for which the application was created (the device whose UDID you sent to the developer).</li>
</ul>
<p>Steps to install the application:</p>
<ol class="numberlist">
<li>Unzip the file you received. If you&#8217;re on a Mac the zip file will contain a single file; if you&#8217;re on Windows it will contain a folder ending with <q>.app</q></li>
<li>Drag the .mobileprovision file onto the <q>Library</q> pane in iTunes.</li>
<li>Drag the application file (or folder for Windows) onto the <q>Applications</q> tab in the <q>Library</q> pane.</li>
<li>Verify that the application shows up in <q>Applications</q> tab. Note that it will not have its normal icon.</li>
<li>Select your device under <q>Devices</q>, choose the <q>Application</q> tab, and make sure that the new application is checked.</li>
<li>Sync your device and try out the app.</li>
</ol>
<p>Troubleshooting:</p>
<ul>
<li>If you encounter the error 0xE8000001 when syncing, your device thinks the application should not be allowed to install. This could either mean the developer did not add your UDID to the AdHoc certificate, or you have an old certificate that’s conflicting.</li>
<li>AdHoc applications get a generic logo when shown in iTunes, but the real logo will show when the application is posted on the App Store. This is purely a cosmetic issue.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://moghoul.com/tips/how-to-install-an-adhoc-iphone-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find out your device&#8217;s UDID</title>
		<link>http://moghoul.com/tips/find-out-your-devices-udid/</link>
		<comments>http://moghoul.com/tips/find-out-your-devices-udid/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 01:50:09 +0000</pubDate>
		<dc:creator>Bogdan Covaci</dc:creator>
				<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://moghoul.com/?p=260</guid>
		<description><![CDATA[So you need to find out your device&#8217;s Unique Device Identifier (UDID).
Every device launched by Apple in the past 3 years &#8211; starting with the original iPhone &#8211; has an Unique Device Identifier. The UDID is a sequence of 40 letters and numbers.
Say you&#8217;re a beta customer and you want a preview of some app [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">So you need to find out your device&#8217;s <q>Unique Device Identifier</q> (UDID).</p>
<p>Every device launched by Apple in the past 3 years &#8211; starting with the original iPhone &#8211; has an Unique Device Identifier. The UDID is a sequence of 40 letters and numbers.</p>
<p>Say you&#8217;re a beta customer and you want a preview of some app before it hits the App Store. The only way you can do that is if the app&#8217;s developer makes a custom build of the application especially for your device. But for him to be able to do that, he first needs to register your device with Apple. As UDIDs are unique, they&#8217;re perfect for this task.</p>
<p>There are 2 ways you can find out your device&#8217;s UDID:</p>
<ol class="numberlist">
<li>Install and run the <a href="http://itunes.apple.com/ro/app/ad-hoc-helper/id285691333?mt=8">Ad Hoc Helper</a> app on your device. It will create an email with your UDID which you can easily send to the developer.</li>
<li>Retrieve it manually using iTunes.</li>
<ol class="numberlist">
<li>Fire up iTunes and connect your device.</li>
<li>In iTunes&#8217; left pane, right above the playlists you should find your device under the <q>DEVICES</q> section. Select it.</li>
<li>In the right pane you should now be able to see information about your device such as it&#8217;s name, capacity, software version and serial number.</li>
<li>Click the <q>Serial Number</q>label. The text will change to <q>Identifier (UDID)</q>.</li>
<li>Press Command+C (or Control+C on Windows) to copy the UDID to clipboard.</li>
<li>Paste the UDID anywhere you like.</li>
</ol>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://moghoul.com/tips/find-out-your-devices-udid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back online!</title>
		<link>http://moghoul.com/news/back-online/</link>
		<comments>http://moghoul.com/news/back-online/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 23:04:48 +0000</pubDate>
		<dc:creator>Bogdan Covaci</dc:creator>
				<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://moghoul.com/?p=251</guid>
		<description><![CDATA[moGhoul is finally back online &#8211; for good!
I switched hosts and rebuilt everything from scratch, just for the fun of it. Mental memo to self: never do that again!
Have a good one!
]]></description>
			<content:encoded><![CDATA[<p class="intro">moGhoul is finally back online &#8211; for good!</p>
<p>I switched hosts and rebuilt everything from scratch, just for the fun of it. Mental memo to self: never do that again!</p>
<p>Have a good one!</p>
]]></content:encoded>
			<wfw:commentRss>http://moghoul.com/news/back-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I♥QUOTES Reloaded</title>
		<link>http://moghoul.com/apps/i-love-quotes-reloaded/</link>
		<comments>http://moghoul.com/apps/i-love-quotes-reloaded/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 20:37:25 +0000</pubDate>
		<dc:creator>Bogdan Covaci</dc:creator>
				<category><![CDATA[apps]]></category>

		<guid isPermaLink="false">http://moghoul.com/?p=189</guid>
		<description><![CDATA[Bringing you the finest quotes since 2009, here is I♥QUOTES &#8211; Reloaded.
What can it do for you? Browse through random quotes, record your favorites and share your findings + it&#8217;s FREE!
Enjoy the fine pondering material brought to you by I♥QUOTES.
Powered by www.iheartquotes.com

]]></description>
			<content:encoded><![CDATA[<p>Bringing you the finest quotes since 2009, here is I♥QUOTES &#8211; Reloaded.<br />
What can it do for you? Browse through random quotes, record your favorites and share your findings + it&#8217;s FREE!<br />
Enjoy the fine pondering material brought to you by I♥QUOTES.</p>
<p>Powered by www.iheartquotes.com</p>
<div style="margin-top:50px; text-align:center;"><a href="http://itunes.apple.com/ro/app/id351361309?mt=8"><img src="http://moghoul.com/images/app-store.png" alt="Get it now on the App Store" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://moghoul.com/apps/i-love-quotes-reloaded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
