<?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>Penguin Geek &#187; Geeky</title>
	<atom:link href="http://penguin-geek.org/category/geeky/feed/" rel="self" type="application/rss+xml" />
	<link>http://penguin-geek.org</link>
	<description>Life, the Universe, and Everything... plus Penguins.</description>
	<lastBuildDate>Fri, 22 May 2009 17:53:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Moved back in with my Parents??</title>
		<link>http://penguin-geek.org/2007/01/15/moved-back-in-with-my-parents/</link>
		<comments>http://penguin-geek.org/2007/01/15/moved-back-in-with-my-parents/#comments</comments>
		<pubDate>Tue, 16 Jan 2007 04:58:22 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Geeky]]></category>

		<guid isPermaLink="false">http://penguin-geek.org/2007/01/15/moved-back-in-with-my-parents/</guid>
		<description><![CDATA[No, no, no. Not me. The web site moved. After some pain and some gain, I have successfully migrated this web site to my dad&#8217;s web server. I&#8217;m still using the same name, all of the adjustments have been done. It was lots of fun, actually, because I had to renew my linux skills in [...]]]></description>
			<content:encoded><![CDATA[<p>No, no, no. Not me. The web site moved. After some pain and some gain, I have successfully migrated this web site to my dad&#8217;s web server. I&#8217;m still using the same name, all of the adjustments have been done. It was lots of fun, actually, because I had to renew my linux skills in configure Apache, installing PHP and MySQL, and migrating databases. The photo album was the biggest part of the move, but it was no sweat thanks to the scp command. With the server change, I thought the layout needed redone. I didn&#8217;t really have time to work out a new design so I just went with a template I found on WordPress.com. Yeah, I didn&#8217;t design this layout but I think it&#8217;ll work until I make a new one sometime this year. I did have to make some adjustments to this one to get my logo up and the photo album working sanely in Firefox.</p>
<p>The main reason for the move was that 1.) Kirby&#8217;s a bit loud in the storage room 2.) the cabinet that he&#8217;s sitting on is starting to wean itself from the wall, and 3.) we want to give the kids their own computer for some educational software. Kirby&#8217;s not much in power but it should be quite enough for them. It won&#8217;t be hooked up to the Internet so I&#8217;m not too worried about the security and wacky issues. Maybe later on, but not now. Once I get all of the data off or backed up, I can reformat and set it up for them.</p>
<p>Otherwise, the web site&#8217;s up and running again, hopefully faster and a little more reliable. Alas to Kirby, though. He&#8217;s in for some remodeling.</p>
]]></content:encoded>
			<wfw:commentRss>http://penguin-geek.org/2007/01/15/moved-back-in-with-my-parents/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IE7 final available</title>
		<link>http://penguin-geek.org/2006/10/19/ie7-final-available/</link>
		<comments>http://penguin-geek.org/2006/10/19/ie7-final-available/#comments</comments>
		<pubDate>Thu, 19 Oct 2006 12:16:13 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Geeky]]></category>

		<guid isPermaLink="false">http://penguin-geek.org/2006/10/19/ie7-final-available/</guid>
		<description><![CDATA[Microsoft released its final version of Internet Explorer 7 last night. I haven&#8217;t had the chance to check it out yet. I don&#8217;t expect a lot of changes from the RC1 release that I installed on my test box at work since release candidates are most done with bug fixes needed. I had been testing [...]]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">M</span>icrosoft <a href="http://blogs.msdn.com/ie/archive/2006/10/18/internet-explorer-7-for-windows-xp-available-now.aspx">released its final version</a> of <a href="http://www.microsoft.com/windows/ie/">Internet Explorer 7</a> last night.  I haven&#8217;t had the chance to check it out yet.  I don&#8217;t expect a lot of changes from the RC1 release that I installed on my test box at work since release candidates are most done with bug fixes needed.  I had been testing my sites and web applications with the betas and as far as I could tell they didn&#8217;t break.  The CSS support was better although not perfectly supported like in other browsers.  I&#8217;ll see how the release version goes and find a link to have both IE7 &amp; IE6 installed at the same time.  Also seems it&#8217;s only available for Windows XP and Server 2003 &#8211; no Windows 2000 support.  Geesh.  I may have to actually put XP on my home Windows partition&#8230; or get IE7 working in Ubuntu&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://penguin-geek.org/2006/10/19/ie7-final-available/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Random C# &#8211; Active Directory</title>
		<link>http://penguin-geek.org/2006/10/10/random-c-active-directory/</link>
		<comments>http://penguin-geek.org/2006/10/10/random-c-active-directory/#comments</comments>
		<pubDate>Tue, 10 Oct 2006 20:20:15 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Geeky]]></category>

		<guid isPermaLink="false">http://penguin-geek.org/2006/10/10/random-c-active-directory/</guid>
		<description><![CDATA[Recently I&#8217;ve had to create a web form that would submit a request through our internal trouble ticket system. That part&#8217;s fine. It was the part where I needed to filter the requesting users according to a few criteria. In order to submit the form, the the user would need to be (1) on our [...]]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">R</span>ecently I&#8217;ve had to create a web form that would submit a request through our internal trouble ticket system.  That part&#8217;s fine.  It was the part where I needed to filter the requesting users according to a few criteria.  In order to submit the form, the the user would need to be (1) on our new domain, (2) based in a certain city, and (3) on certain email exchanges.  At first, I was thinking how I would accomplish this task.  <em>Active Directory!  Right!  That&#8217;s what ASP.Net is good for!  But how?&#8230;</em></p>
<p>I searched and searched.  I did find articles but the wording, bad grammar, and confusing posts made it a tad difficult to understand at first.  I asked a co-worker who actually had wrote a site that interacted with Active Directory.  Thank you, Matt, for getting me started on this.  The example code he gave me was very helpful and I found it was easier than I thought.  I tried it out and was overjoyed.  <em>There.  I can search AD and grab the account name with no problem!  But&#8230; What about the other properties I need for this project?  What are their names?</em> I scoured the Interweb in search for an answer to my plea: Where&#8217;s a list of all of the properties that I can access?  No luck at all.  All of my searches ended with the same old articles.  The fact turned out to be that all Directories are going to be different according to the infrastructure&#8217;s needs.  <em>Slap myself.  Duh.</em> Well then, back to the old coding board with me.<br />
<span id="more-71"></span></p>
<pre style="font-size: smaller"><code lang="c#">
Using System.DirectoryServices;  // Don't forget this at the top

private static String GetADInfo(String user)
{
   String output = "";
   // Fill in with your own LDAP domain path
   DirectorySearcher searcher = new DirectorySearcher(new DirectoryEntry(”LDAP://DC=“);
   searcher.Filter = “(&amp;(anr=” + user + “) (objectCategory=Person))”;
   SearchResult result = searcher.FindOne();

   try
   {
      if (result != null)
      {
         foreach (string key in result.Properties.PropertyNames)
         {
            foreach (object propValue in result.Properties[key])
            {
               output += key + ” = ” + propValue + ““;
            }
         }
      }
      else
      {
         output = “User ”" + user + “” does not exist in AD.”;
      }
   }
   catch (Exception e)
   {
      Response.Write(e.Message);
   }

   return output;
}

</code></pre>
<p>Assign that function to a text field on the page and it will output every single property AD will allow you to retrieve for a user account.  With all seven pages of results printed out, I was able to find the properties I needed to stick into:</p>
<p><code lang="c#">searcher.PropertiesToLoad.AddRange(new String[] { "property1", "property2" });</code></p>
<p>Sometimes you can&#8217;t find everything on the Internet and you have to figure it out yourself.  This project is looking good so far and I hope it works out.  At least I learned something.  Useful links for future reference:</p>
<ul style="margin-left: 15px; margin-bottom: 15px;">
<li><a href="http://www.codeproject.com/dotnet/QueryADwithDotNet.asp">Querying AD with .Net [codeproject.com]</a></li>
<li><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetadsearch.asp">Using System.DirectoryServices to search AD [msdn.microsoft.com]</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://penguin-geek.org/2006/10/10/random-c-active-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Straight Outta Lynwood</title>
		<link>http://penguin-geek.org/2006/09/21/straight-outta-lynwood/</link>
		<comments>http://penguin-geek.org/2006/09/21/straight-outta-lynwood/#comments</comments>
		<pubDate>Thu, 21 Sep 2006 19:45:54 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Geeky]]></category>

		<guid isPermaLink="false">http://penguin-geek.org/2006/09/21/straight-outta-lynwood/</guid>
		<description><![CDATA[Hooray! Weird Al Yankovic has a new album coming out on Tuesday called Straight Outta Lynwood. So far from the two singles he has out are pretty good. I can&#8217;t wait to add this to my collection. You can watch the videos for White &#038; Nerdy and Don&#8217;t Download This Song on YouTube. Glee! Song [...]]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">H</span>ooray! Weird Al Yankovic has a new album coming out on Tuesday called <em><a href="http://en.wikipedia.org/wiki/Straight_Outta_Lynwood">Straight Outta Lynwood</a></em>.  So far from the two singles he has out are pretty good.  I can&#8217;t wait to add this to my collection.  You can watch the videos for <a href="#TB_inline?height=375&#038;width=450&#038;inlineId=-xEzGIuY7kw" title="White &#038; Nerdy [YouTube]" class="thickbox">White &#038; Nerdy</a> and <a href="#TB_inline?height=375&#038;width=450&#038;inlineId=0C93_0L2Z9c" title="Don't Download This Song [YouTube]" class="thickbox">Don&#8217;t Download This Song</a> on YouTube. Glee!</p>
<p><span id="more-63"></span><br />
<blockquote style="border: 0px none; font-size: .9em; margin: 2.5em">Song List</p>
<ol style="list-style: decimal outside; position: relative">
<a href="http://upload.wikimedia.org/wikipedia/en/e/e1/Soli4.jpg" title="Weird Al Yankovic: Straight Outta Lynwood" class="lightbox"><img src="http://upload.wikimedia.org/wikipedia/en/e/e1/Soli4.jpg" width="200" height="200" style="float: right; border: 1px solid #000" /></a></p>
<li>&#8220;White &#038; Nerdy&#8221; – 2:52 (Parody of &#8220;Ridin&#8217;&#8221; by Chamillionaire featuring Krayzie Bone)</li>
<li>&#8220;Pancreas&#8221; &#8211; 3:50 </li>
<li>&#8220;Canadian Idiot&#8221; &#8211; 2:25 (Parody of &#8220;American Idiot&#8221; by Green Day)</li>
<li>&#8220;I&#8217;ll Sue Ya&#8221; &#8211; 3:53 </li>
<li>&#8220;Polkarama!&#8221; &#8211; 4:19<br />A polka medley including the following songs:
<ul style="list-style: square outside; position: relative; left: 1em">
<li>&#8220;The Chicken Dance&#8221; by Werner Thomas </li>
<li>&#8220;Let&#8217;s Get It Started&#8221; by The Black Eyed Peas </li>
<li>&#8220;Take Me Out&#8221; by Franz Ferdinand </li>
<li>&#8220;Beverly Hills&#8221; by Weezer </li>
<li>&#8220;Speed Of Sound&#8221; by Coldplay </li>
<li>&#8220;Float On&#8221; by Modest Mouse </li>
<li>&#8220;Feel Good Inc.&#8221; by Gorillaz </li>
<li>&#8220;Don&#8217;t Cha&#8221; by The Pussycat Dolls </li>
<li>&#8220;Somebody Told Me&#8221; by The Killers </li>
<li>&#8220;Slither&#8221; by Velvet Revolver </li>
<li>&#8220;Candy Shop&#8221; by 50 Cent </li>
<li>&#8220;Drop It Like It&#8217;s Hot&#8221; by Snoop Dogg </li>
<li>&#8220;Pon de Replay&#8221; by Rihanna </li>
<li>&#8220;Gold Digger&#8221; by Kanye West </li>
</ul>
</li>
<li>&#8220;Virus Alert&#8221; &#8211; 3:48 </li>
<li>&#8220;Confessions Part III&#8221; &#8211; 3:54 (Parody of &#8220;Confessions Part II&#8221; by Usher)</li>
<li>&#8220;Weasel Stomping Day&#8221; &#8211; 1:36 </li>
<li>&#8220;Close But No Cigar&#8221; &#8211; 3:57 </li>
<li>&#8220;Do I Creep You Out&#8221; &#8211; 2:48 (Parody of &#8220;Do I Make You Proud&#8221; by Taylor Hicks)</li>
<li>&#8220;Trapped in the Drive Thru&#8221; &#8211; 10:53 (Parody of &#8220;Trapped in the Closet&#8221; by R. Kelly &#038; Contains sample of &#8220;Black Dog&#8221; by Led Zeppelin </li>
<li>&#8220;Don&#8217;t Download This Song&#8221; &#8211; 3:54 </li>
</ol>
</blockquote>
<div id="-xEzGIuY7kw" style="display: none"><center><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/-xEzGIuY7kw"></param><embed src="http://www.youtube.com/v/-xEzGIuY7kw" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center></div>
<div id="0C93_0L2Z9c" style="display: none"><center><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/0C93_0L2Z9c"></param><embed src="http://www.youtube.com/v/0C93_0L2Z9c" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center></div>
]]></content:encoded>
			<wfw:commentRss>http://penguin-geek.org/2006/09/21/straight-outta-lynwood/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Well, shiver me timbers!</title>
		<link>http://penguin-geek.org/2006/09/19/well-shiver-me-timbers/</link>
		<comments>http://penguin-geek.org/2006/09/19/well-shiver-me-timbers/#comments</comments>
		<pubDate>Tue, 19 Sep 2006 14:35:36 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Geeky]]></category>

		<guid isPermaLink="false">http://penguin-geek.org/2006/09/19/well-shiver-me-timbers/</guid>
		<description><![CDATA[Avast, me hearties! Today be International Talk Like a Pirate Day! Ye best be puttin&#8217; on yer patches and yer best pirate voice or ye be walkin&#8217; the plank! Here arrrr some links t&#8217; get ye movin&#8217; a&#8217;long. How to talk like a pirate. Translator for ye lazy swabs! Pirate stuff for the little minnows! [...]]]></description>
			<content:encoded><![CDATA[<p><span class="dropcap">A</span>vast, me hearties! Today be <a href="http://www.talklikeapirate.com/piratehome.html">International Talk Like a Pirate Day</a>! Ye best be puttin&#8217; on yer patches and yer best pirate voice or ye be walkin&#8217; the plank! Here arrrr some links t&#8217; get ye movin&#8217; a&#8217;long.</p>
<ul style="position: relative; left: 20px"><a href="http://www.flickr.com/photos/a_romig/247751079/"><img src="http://static.flickr.com/98/247750675_3ee3abd36c_m.jpg" style="float: right; border: 2px solid #000" /></a></p>
<li><a href="http://www.talklikeapirate.com/howto.html">How to talk like a pirate.</a></li>
<li><a href="http://www.talklikeapirate.com/translator.html">Translator for ye lazy swabs!</a></li>
<li><a href="http://www.talklikeapirate.com/juniorpirates.html#kidstuff">Pirate stuff for the little minnows!</a></li>
</ul>
<p>Aye! And you can also view this very site using a <a href="http://penguin-geek.org/?filter=pirate">piratey filter</a>! Arrr!!</p>
]]></content:encoded>
			<wfw:commentRss>http://penguin-geek.org/2006/09/19/well-shiver-me-timbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

