<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-1235541569374917409</atom:id><lastBuildDate>Thu, 05 Sep 2024 02:24:19 +0000</lastBuildDate><category>Linux</category><category>Wordpress</category><category>Ubuntu</category><category>Windows</category><category>Flickr</category><category>PHP</category><category>.NET</category><category>Laptop</category><category>Plugin</category><category>Portable</category><category>API</category><category>C#</category><category>CSS</category><category>Debian</category><category>Dell</category><category>Eclipse</category><category>FTP</category><category>Firefox</category><category>Gnome</category><category>Gparted</category><category>IBM</category><category>Mainframe</category><category>Mono</category><category>S-Video</category><category>TRAC</category><category>VPC</category><category>XAMPP</category><category>f-spot</category><category>gtk-sharp</category><category>phpflickr</category><title>Josh Gerdes - Tech Notes</title><description>A centralized location for tech related notes and tips for all to enjoy.</description><link>http://joshgerdes.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-3795158887710687555</guid><pubDate>Thu, 30 Apr 2009 17:42:00 +0000</pubDate><atom:updated>2009-10-06T13:42:40.166-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.NET</category><category domain="http://www.blogger.com/atom/ns#">C#</category><category domain="http://www.blogger.com/atom/ns#">FTP</category><category domain="http://www.blogger.com/atom/ns#">IBM</category><category domain="http://www.blogger.com/atom/ns#">Mainframe</category><title>FtpWebRequest - Access to IBM Mainframe FTP Server</title><description>I came across an interesting problem while trying to FTP a file to the wonderful mainframe at work the other day.  As many already know, working with the mainframe is always a joy, and this recent endeavor was no exception.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;The Problem&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
When attempting to access the mainframe via FTP in the code of a web application I came across this error:&lt;br /&gt;
&lt;blockquote&gt;&lt;em&gt;&quot;The remote server returned an error: (501) Syntax error in parameters or arguments.&quot;&lt;/em&gt;&lt;br /&gt;
&lt;/blockquote&gt;There is not much to creating a FTP connection in C# so it was quite annoying to have to debug this mainframe related.  The underlying error cleared up a lot thought.  The error read:&lt;br /&gt;
&lt;blockquote&gt;&lt;em&gt;&quot;501 Character (/) not allowed in object name.&quot;&lt;/em&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;strong&gt;The Solution&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
The solution turned out to be quite a simple.  The URI just needed to be adjusted by replacing all forward slashes with &#39;/%2F&#39;.  Here is an example:&lt;br /&gt;
&lt;blockquote&gt;&lt;em&gt;FtpWebRequest myFtpWebRequest = (FtpWebRequest)WebRequest.Create(new Uri(&quot;ftp://&quot; + ftpHostname + &quot;/%2F&#39;&quot; + ftpFilename + &quot;&#39;&quot;));&lt;/em&gt;&lt;br /&gt;
&lt;/blockquote&gt;Always interesting to see how something so simple can cause you so much grief.</description><link>http://joshgerdes.blogspot.com/2009/04/ftpwebrequest-access-to-ibm-mainframe.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-4470965908697273763</guid><pubDate>Thu, 10 Apr 2008 18:43:00 +0000</pubDate><atom:updated>2009-10-06T13:30:34.741-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">TRAC</category><category domain="http://www.blogger.com/atom/ns#">Wordpress</category><title>New wordpress ticket and patch submitted</title><description>I finally got around to submitting a ticket (&lt;a href=&quot;http://trac.wordpress.org/ticket/6664&quot; target=&quot;_blank&quot;&gt;#6664&lt;/a&gt;) for that bug I found in the latest version of &lt;a href=&quot;http://wordpress.org/&quot; target=&quot;_blank&quot;&gt;Wordpress&lt;/a&gt;.  You can read more about the bug &lt;a href=&quot;http://www.joshgerdes.com/2008/04/02/fix-current_page_parent-for-posts-page-in-wordpress-25/&quot;&gt;here&lt;/a&gt;.  &lt;br /&gt;
&lt;br /&gt;
It is nice, they use &lt;a href=&quot;http://trac.edgewall.org/&quot; target=&quot;_blank&quot;&gt;Trac&lt;/a&gt; software for their system.  I used to use it at a former company I worked for and it is great.  More information can be found at &lt;a href=&quot;http://trac.wordpress.org/&quot; target=&quot;_blank&quot;&gt;http://trac.wordpress.org&lt;/a&gt;.</description><link>http://joshgerdes.blogspot.com/2008/04/new-wordpress-ticket-and-patch_10.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-4683786529845317247</guid><pubDate>Wed, 02 Apr 2008 19:34:00 +0000</pubDate><atom:updated>2009-10-06T13:30:04.104-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CSS</category><category domain="http://www.blogger.com/atom/ns#">PHP</category><category domain="http://www.blogger.com/atom/ns#">Wordpress</category><title>fix &amp;#39;current_page_parent&amp;#39; for posts page in Wordpress 2.5</title><description>While in the process of updating my site I came across this interesting bug in the latest version of Wordpress 2.5.  It has to do with how wordpress sets CSS classes for highlighting navigation menus.  the problem arises when you have set a specific page as the &#39;posts page&#39; for the site.  When you are on a post the expected result would be for the &#39;current_page_parent&#39; class to be set in the menu for the page you specified as the &#39;posts page&#39; in for the site.  This is not the result you get with the release 2.5 version of wordpress.  After a little digging I found the following fixes the issue:&lt;br /&gt;
&lt;br /&gt;
Add these lines to &lt;strong&gt;wp-includes/classes.php&lt;/strong&gt; after line 562:&lt;br /&gt;
&lt;blockquote&gt;&lt;pre lang=&quot;php&quot;&gt;elseif ($page-&amp;gt;ID == get_settings(’page_for_posts’))
$css_class .= ‘ current_page_parent’;&lt;/pre&gt;&lt;/blockquote&gt;I am planning on submitting this bug along with a patch to &lt;a href=&quot;http://trac.wordpress.org/&quot; target=&quot;_blank&quot;&gt;WordPress Trac&lt;/a&gt; soon but until then enjoy the fix.&lt;br /&gt;
&lt;br /&gt;
You can read more about the related issue in an older version of Wordpress here:&lt;br /&gt;
&lt;a href=&quot;http://www.umaitech.com/cms/?p=27&quot; target=&quot;_blank&quot;&gt;Wordpress&#39; current_page_item Selector Got You Down?&lt;/a&gt;</description><link>http://joshgerdes.blogspot.com/2008/04/fix-for-posts-page-in-wordpress-25_02.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-7371436433105791729</guid><pubDate>Wed, 21 Nov 2007 04:55:00 +0000</pubDate><atom:updated>2009-10-06T13:29:29.036-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Dell</category><category domain="http://www.blogger.com/atom/ns#">Laptop</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">Ubuntu</category><title>Fix Ubuntu 7.10 Suspend Issue on Dell M140 Laptop</title><description>So I have finally found an actual solution to the suspend issues I have been having on my Dell M140 Laptop with Ubuntu 7.10.  Previously I was having problems with losing my wireless network connection when my laptop came up from a suspended state.  Basically you just have to create the following three scripts then your wireless should reconnect properly.&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Create &lt;em&gt;/etc/acpi/suspend.d/07-network-manager.sh&lt;/em&gt;&lt;/li&gt;
&lt;code&gt;#!/bin/sh /etc/dbus-1/event.d/25NetworkManager stop&lt;/code&gt;
&lt;li&gt;Create &lt;em&gt;/etc/acpi/resume.d/63-network-manager.sh&lt;/em&gt;&lt;/li&gt;
&lt;code&gt;#!/bin/sh /etc/dbus-1/event.d/25NetworkManager start&lt;/code&gt;
&lt;li&gt;Create &lt;em&gt;/etc/acpi/resume.d/99-fixwifi.sh&lt;/em&gt;&lt;/li&gt;
&lt;code&gt;#!/bin/sh&lt;/code&gt;  #stop everything using the ipw2200 module /etc/init.d/networking stop /etc/acpi/suspend.d/07-network-manager.sh  #remove the module modprobe -r -f ipw2200  #add it back modprobe ipw2200  #start everything back up /etc/init.d/networking start /etc/acpi/resume.d/63-network-manager.sh
&lt;li&gt;Make the scripts executable with the following commands&lt;/li&gt;
&lt;em&gt;sudo chmod +x /etc/acpi/suspend.d/07-network-manager.sh sudo chmod +x /etc/acpi/resume.d/63-network-manager.sh sudo chmod +x /etc/acpi/resume.d/99-fixwifi.sh&lt;/em&gt;&lt;/ol&gt;Resources:&lt;br /&gt;
&lt;a href=&quot;https://help.ubuntu.com/community/WifiDocs/NetworkManager#head-b651559fa3b43d055bfda1c52d9b7966938a204e&quot; target=&quot;_blank&quot; title=&quot;WifiDocs/NetworkManager - Community Ubuntu Documentation&quot;&gt;WifiDocs/NetworkManage &lt;/a&gt; (Ubuntu Docs)&lt;br /&gt;
&lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=461294&quot; target=&quot;_blank&quot; title=&quot;Wifi not working after hibernation/suspend&quot;&gt;Wifi not working after hibernation/suspend&lt;/a&gt; (Ubuntu Forums)</description><link>http://joshgerdes.blogspot.com/2007/11/fix-ubuntu-710-suspend-issue-on-dell_20.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-6618833167128216828</guid><pubDate>Thu, 15 Nov 2007 16:15:00 +0000</pubDate><atom:updated>2009-10-06T13:28:54.982-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Debian</category><category domain="http://www.blogger.com/atom/ns#">f-spot</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">Ubuntu</category><title>Build latest f-spot SVN source and install as Debian package in Ubuntu 7.10</title><description>With the recent install of &lt;a href=&quot;http://releases.ubuntu.com/7.10/&quot; target=&quot;_blank&quot; title=&quot;Ubuntu 7.10&quot;&gt;Ubuntu 7.10&lt;/a&gt; on my main laptop I have had the opportunity of testing a variety of software as new user needs arise.  On Windows my wife and I used Picasa for handling the management of our photos.  I felt it worked well and was easy enough for my wife to use as well which was a plus.  Since Google also has a Linux version available I thought it would be a no brainer to continue using Picasa.  Unfortunately, Google decided not to implement a native version of the application and created a post that uses a custom wine instance.  I would be fine with that if the port actually had the same functionality as the windows version of the software and actually ran efficiently.  But that is not the case.  The Linux version is missing functionality (like backups) and also for me runs very slow and buggy.  It crashes often and at times does some weird things with the cursor.  The speed issue is just not acceptable for me and the other bugs make Laura&#39;s experience with the application unbearable.&lt;br /&gt;
&lt;br /&gt;
Since most tasks on a computer have many software solutions I thought I would give a few a try.  After some initial testing I thought I would give &lt;a href=&quot;http://f-spot.org/Main_Page&quot; target=&quot;_blank&quot; title=&quot;f-spot photo management&quot;&gt;f-spot&lt;/a&gt; a try.  I thought it was very responsive and thought the tagging might prove worthwhile.  The problem I ran into was some of the functionality (mainly the ability to merge RAW and Jpeg images from my camera into one image in the application database) was no working correctly on the latest version available to me in the main Ubuntu apt repositories.  After some digging and testing I found that the latest SVN version of the application functioned correctly including the missing functionality.  Yet another bonus of the open source community, I had questions and could easily find answers.  And unlike closed source application where I would have to wait for an update who&#39;s release pended on the whim of a faceless company I could actually get the fix immediately.&lt;br /&gt;
&lt;br /&gt;
So I was able to compile the latest SVN version of the application but I wanted to install it system wide and integrate it with my current apt installs so my system could still keep the application version up to date.  The solution was to figure out a way to create a Debian package of the latest SVN compiled version so that I could install it via apt.   After some trial and error here are the steps I found to make that happen:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Follow the instruction &lt;a href=&quot;http://f-spot.org/How_To_Build_from_HEAD&quot; target=&quot;_blank&quot; title=&quot;How to Build F-Spot from HEAD&quot;&gt;here&lt;/a&gt; to download the latest version of f-spot from SVN (Stop at the &lt;em&gt;Build&lt;/em&gt; section)&lt;/li&gt;
&lt;li&gt;Make sure f-spot is already installed (Ubuntu installs it by default)&lt;/li&gt;
&lt;li&gt;From terminal in the trunk directory, run &lt;strong&gt;&lt;code&gt;./autogen.sh --prefix=/usr --disable-scrollkeeper&lt;/code&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;strong&gt;&lt;code&gt;make all&lt;/code&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Run &lt;strong&gt;&lt;code&gt;sudo checkinstall -D&lt;/code&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;When prompted, set the &lt;strong&gt;version&lt;/strong&gt; (I used  &#39;0.4.1-svn3457&#39;)&lt;/li&gt;
&lt;li&gt;Then set the &lt;strong&gt;name&lt;/strong&gt; (use &#39;f-spot&#39;)&lt;/li&gt;
&lt;/ol&gt;This should create and install a Debian package of the compiled version of the latest SVN code.  On a test instance of Ubuntu I did have an issue with the dbus session not being launched.  I ended up having to launch the application by running the following command: &lt;strong&gt;dbus-launch f-spot&lt;/strong&gt;.  I was informed by the f-spot mailing list that this is an issue with gnome and not the f-spot application.  I did not have any issues when I installed on my main system though.I hope this helps out with people in a similar situation.  I ended up finding out that f-spot was created in C# which is one of the primary languages I code in professionally so I might try my hand and helping out with the f-spot project.  I will be sure and let you know how that turns out.</description><link>http://joshgerdes.blogspot.com/2007/11/build-latest-f-spot-svn-source-and_15.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-4732822325644165845</guid><pubDate>Tue, 30 Oct 2007 18:56:00 +0000</pubDate><atom:updated>2009-10-06T13:28:15.199-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Gnome</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">Ubuntu</category><title>Hide mounted partition icons from the Desktop in Ubuntu 7.10</title><description>I was meddling around the Internet the other day and notice &lt;a href=&quot;http://lifehacker.com/software/linux-tip/hide-partition-icons-on-gnome-desktops-316179.php&quot; target=&quot;_blank&quot;&gt;this article&lt;/a&gt; on &lt;a href=&quot;http://lifehacker.com/&quot; target=&quot;_blank&quot;&gt;lifehacker&lt;/a&gt; that sparked my interest.  With my recent switch to Ubuntu 7.10 at home, I have been spending some time getting used to the new Linux environment and ironing out the kinks.  On my list of slight annoyances was the fact that my windows partition (yes, I am dual booting at the moment until everything has been tested) was being automatically mounted and an icon to that partition was being displayed on the desktop.  I am one of those people who likes to keep my desktop clear of clutter so of course I wanted this icon removed.  The problem was that I could not get it to disappear.  The article mentioned hiding all icons for mounted media on the desktop which is nice for some but I enjoy having them pop up when I install a CD or plug in my USB flash drive.  So to solve this problem, and just remove a single icon for the windows partition, I have found the following solution:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Open a Terminal (press Alt+F2, then type &lt;strong&gt;gnome-terminal&lt;/strong&gt; and hit &lt;strong&gt;enter&lt;/strong&gt;)&lt;/li&gt;
&lt;li&gt;Make a new mount point, type &lt;strong&gt;sudo mkdir /mnt/sda1&lt;/strong&gt; (or change the path to wherever you would like to mount the partition)&lt;/li&gt;
&lt;li&gt;Open fstab, type &lt;strong&gt;sudo gedit /etc/fstab&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Edit the mount point of the partition, my my case it was the line for my windows partition sda1.  I changed &lt;em&gt;/media/sda1&lt;/em&gt; to &lt;em&gt;/mnt/sda1&lt;/em&gt; (the path of the mount point you created)&lt;/li&gt;
&lt;li&gt;Save fstab&lt;/li&gt;
&lt;li&gt;Restart your computer&lt;/li&gt;
&lt;/ol&gt;Now your partition should be mounted and accessible but not showing up as an icon on your desktop.  In addition, when you mount other media it should mount automatically and appear as an icon on your desktop.  Please let me know if you have found another way of doing this.</description><link>http://joshgerdes.blogspot.com/2007/10/hide-mounted-partition-icons-from_30.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-555147917392977188</guid><pubDate>Mon, 29 Oct 2007 14:29:00 +0000</pubDate><atom:updated>2009-10-06T13:27:40.688-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Laptop</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">S-Video</category><category domain="http://www.blogger.com/atom/ns#">Ubuntu</category><title>S-video (TV out) with Ubuntu 7.10 on Dell XPS M140 Laptop</title><description>The transition to Ubuntu 7.10 on out home laptop has been pretty painless so far.  I have been impressed with how easy it has been.  I also have been happy to know that I did not need to manual edit a configuration file yet.  That is a huge step up for previous Linux distributions I have tried in the past.  It just works, and that is a good thing.  The only issue I have had with Ubuntu and our laptop is getting the s-video (TV output) to work.  Thankfully I found an easy solution which is to use the xrandr command.  There are lots of options for getting the video outputs setup on a laptop but I went with these two commands:&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Turn S-video on and clone the LCD and TV output displays at 800x600&lt;/strong&gt;&lt;br /&gt;
&lt;code&gt;xrandr --output LVDS --mode 800x600 --output TV --mode 800x600&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Reset LCD monitor to normal viewing&lt;/strong&gt;&lt;br /&gt;
&lt;code&gt;xrandr --auto&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
I setup a couple launcher links on my menu so I can easily switch between the two.  So now all I do is plug in the s-video cable. Click the first link to switch to a cloned display on both (LCD and TV) outputs.  Then when I&#39;m finished unplug the s-video cable and click the second link to go back to the normal LCD display and resolution.  I had to setup the cloned display command to have an 800x600 resolution so movies in full screen would display properly on my TV.  It is pretty straight-forward but I would be happy to post a more detailed step-by-step if people are interested.</description><link>http://joshgerdes.blogspot.com/2007/10/s-video-tv-out-with-ubuntu-710-on-dell_29.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-847782468086316558</guid><pubDate>Thu, 06 Sep 2007 16:42:00 +0000</pubDate><atom:updated>2009-10-06T13:27:09.821-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Gparted</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">Portable</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Run Gparted Live from a USB Flash Drive</title><description>Here are some instructions for setting up a USB flash drive to run &lt;a href=&quot;http://gparted.sourceforge.net/index.php&quot; target=&quot;_blank&quot;&gt;Gparted Live&lt;/a&gt; from a computer running Windows XP.  I thought the instructions that I found on the web were a little hard to follow since they generally were geared towards users setting up a USB flash drive from a computer running Linux.  I also just like compiling helpful tips on my site for easy access for me in the future.  Enjoy.&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Download the latest Gparted Live CD ISO file from &lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=115843&amp;amp;package_id=173828&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Download the latest syslinux.exe file from &lt;a href=&quot;http://www.kernel.org/pub/linux/utils/boot/syslinux/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. The executable file can be found in the win32 directory of the zip archive.&lt;/li&gt;
&lt;li&gt;Mount the ISO with your favorite virtual drive software.  I use Daemon Tools which can be found &lt;a href=&quot;http://www.daemon-tools.cc/dtcc/download.php?mode=ViewCategory&amp;amp;catid=5&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Copy the following files to the root of your USB flash drive:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;em&gt;gparted.dat&lt;br /&gt;
boot/gparted&lt;br /&gt;
boot/gparted.igz&lt;br /&gt;
syslinux/boot.img&lt;br /&gt;
syslinux/options.msg&lt;br /&gt;
syslinux/slash.lss&lt;br /&gt;
syslinux/syslinux.cfg&lt;/em&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;Open a command prompt and run &lt;strong&gt;syslinux.exe -ma X:&lt;/strong&gt; (where X: is the drive letter of the USB flash drive).&lt;/li&gt;
&lt;li&gt;Verify that the system file &lt;strong&gt;ldlinux.sys&lt;/strong&gt; was created at the root of the USB flash drive (You may need to change the Windows Explorer view options to show &#39;hidden files and folers&#39; and &#39;protected operating system files&#39; in order to see the file).&lt;/li&gt;
&lt;li&gt;Now your USB Flash Drive should be ready to boot from and run Gparted Live&lt;/li&gt;
&lt;/ol&gt;</description><link>http://joshgerdes.blogspot.com/2007/09/run-gparted-live-from-usb-flash-drive_06.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-5259952005777984579</guid><pubDate>Fri, 17 Aug 2007 19:45:00 +0000</pubDate><atom:updated>2009-10-06T13:26:16.018-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">Ubuntu</category><category domain="http://www.blogger.com/atom/ns#">VPC</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Getting Ubuntu 7.04 Fully Working in VPC 2007</title><description>I successfully got Ubuntu 7.04 working with mouse support in Microsoft Virtual PC 2007 and I thought I should share my findings.  This is a combination of instructions I found while searching on the Internet.  I thought it might be helpful and I wanted to make a note of it on my site for reference.  &lt;br /&gt;
Initially I tried the instructions for fixing Ubuntu found below but if you install all updates to the base installation the kernel will be upgraded to 2.6.20-16 which will lose the patch specified in the instructions.  So here are a combined set of instructions for getting everything running correctly:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Insert Ubuntu 7.04 Desktop CD and boot system&lt;/li&gt;
&lt;li&gt;Select &#39;Start Ubuntu in safe graphics mode&#39;&lt;/li&gt;
&lt;li&gt;Press &lt;em&gt;Alt+F1&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Tab to Places-&amp;gt;Desktop&lt;/li&gt;
&lt;li&gt;Tab to &#39;Install&#39; icon and hit &lt;em&gt;enter&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Run through the installation and install Ubuntu on the system (Note Alt+F is Forward)&lt;/li&gt;
&lt;li&gt;Reboot system&lt;/li&gt;
&lt;li&gt;Press &lt;em&gt;Control+Alt+F1&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Login to the system&lt;/li&gt;
&lt;li&gt;run &lt;em&gt;sudo vi /boot/grub/menu.lst&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Add &#39;i8042.noloop&#39; (without the quotes) to the end of the #kopt line.  You might also have to add it to the end of the entry for the 2.6.20-16 kernel (kernel /boot/vmlinuz-2.6.20.16-generic root=...) if you have already upgraded the system.&lt;/li&gt;
&lt;li&gt;run &lt;em&gt;sudo reboot&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Resource Links:&lt;/strong&gt;&lt;br /&gt;
Fixing Ubuntu 7.04 Fiesty Fawn Mouse under Virtual PC 2007&lt;br /&gt;
&lt;a href=&quot;http://arcanecode.wordpress.com/2007/05/17/fixing-ubuntu-704-fiesty-fawn-mouse-under-virtual-pc-2007/&quot;&gt;http://arcanecode.wordpress.com/2007/05/17/fixing-ubuntu-704-fiesty-fawn-mouse-under-virtual-pc-2007/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Ubuntu 7.04 and Virtual PC 2007 - Mouse Issue Workaround (sort of)&lt;br /&gt;
&lt;a href=&quot;http://arcanecode.wordpress.com/2007/04/25/ubuntu-704-and-virtual-pc-2007-mouse-issue-workaround-sort-of/&quot;&gt;http://arcanecode.wordpress.com/2007/04/25/ubuntu-704-and-virtual-pc-2007-mouse-issue-workaround-sort-of/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Ubuntu - How To Edit Grub Boot Parameters&lt;br /&gt;
&lt;a href=&quot;http://grumpymole.blogspot.com/2007/05/ubuntu-how-to-edit-grub-boot-parameters.html&quot;&gt;http://grumpymole.blogspot.com/2007/05/ubuntu-how-to-edit-grub-boot-parameters.html&lt;/a&gt;</description><link>http://joshgerdes.blogspot.com/2007/08/getting-ubuntu-704-fully-working-in-vpc_17.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-4126890686845340035</guid><pubDate>Fri, 25 May 2007 19:07:00 +0000</pubDate><atom:updated>2009-10-06T12:19:39.543-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Eclipse</category><category domain="http://www.blogger.com/atom/ns#">Portable</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><category domain="http://www.blogger.com/atom/ns#">XAMPP</category><title>Portable Eclipse on a USB Flash Drive</title><description>&lt;span style=&quot;font-family: inherit;&quot;&gt;I have been enjoying all the benefits of having a mobile web development environment with &lt;/span&gt;&lt;a href=&quot;http://www.apachefriends.org/en/xampp.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;XAMPP&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; and I thought it would be nice to have a mobile IDE as well.  I decided to look into making the &lt;/span&gt;&lt;a href=&quot;http://www.eclipse.org/downloads/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Eclipse&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; IDE portable for my PHP and JAVA development needs.  After trying out a few suggestions on the web I found a solution that works.  I thought I&#39;d make a note of it here for myself and for others to enjoy.&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Download &lt;/span&gt;&lt;a href=&quot;http://www.eclipse.org/downloads/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Eclipse&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; and extract it to your USB flash drive&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Install a &lt;/span&gt;&lt;a href=&quot;http://java.sun.com/javase/downloads/index.jsp&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;JDK&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; on your computer (Default install is C:\Programs Files\Java\jdk1.6.0_xx)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Create a folder &lt;/span&gt;&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;jdks&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; in your &lt;/span&gt;&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;eclipse&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; folder on your flash drive (ex: X:/eclipse/jdks)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Copy the jdk folder on your computer to the&lt;/span&gt;&lt;em&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; jdks&lt;/span&gt;&lt;/em&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; folder on your flash drive. (ex: X:\eclipse\jdks\jdk1.6.0_xx)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Edit the &lt;/span&gt;&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;eclipse.ini&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; file (ex: X:\eclipse\eclipse.ini) to look like this:&lt;br /&gt;
&lt;/span&gt;  &lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;      &lt;br /&gt;
-vm&lt;br /&gt;
.\jdks\jdk1.6.0_xx\bin\javaw&lt;br /&gt;
-vmargs&lt;br /&gt;
-Xms40m&lt;br /&gt;
-Xmx256m&lt;br /&gt;
&lt;/span&gt; &lt;/code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
(replace &quot;jdk1.6.0_xx&quot; with the actual folder name of the copied JDK)&lt;br /&gt;
&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Run &lt;/span&gt;&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;eclipse.exe&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; from your flash drive&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;When asked for a workspace location, you can enter &lt;/span&gt;&lt;em&gt;&lt;strong&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&#39;.\workspace&#39;&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;, which will create a workspace in your eclipse folder (ex: X:\eclipse\workspace\)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;You&#39;re Done!&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description><link>http://joshgerdes.blogspot.com/2007/05/portable-eclipse-on-usb-flash-drive_25.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-504075848509511012</guid><pubDate>Tue, 22 May 2007 21:08:00 +0000</pubDate><atom:updated>2009-10-06T12:18:36.103-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Windows Tip - Retrieving a window from off the screen</title><description>I always have to look this up so I thought I&#39;d posted it for my own reference. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Move a window when its title bar is off the screen&lt;/strong&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Hold down &lt;strong&gt;Alt&lt;/strong&gt; + &lt;strong&gt;Spacebar&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Press the &lt;strong&gt;M&lt;/strong&gt; key&lt;/li&gt;
&lt;li&gt;Use the arrow keys to relocate the window&lt;/li&gt;
&lt;li&gt;Press the &lt;strong&gt;Enter&lt;/strong&gt; key when you have the Window in the desired location.&lt;/li&gt;
&lt;/ol&gt;</description><link>http://joshgerdes.blogspot.com/2007/05/windows-tip-retrieving-window-from-off_22.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-8468858316195673098</guid><pubDate>Fri, 04 May 2007 16:33:00 +0000</pubDate><atom:updated>2009-10-06T12:17:56.419-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">PHP</category><category domain="http://www.blogger.com/atom/ns#">Wordpress</category><title>Getting Secure and Accessible Contact Form for Wordpress Plugin working on PARCOM</title><description>I decided to use Mike&#39;s &lt;a href=&quot;http://blue-anvil.com/archives/secure-accessible-contact-form-for-wordpress-multi-user-version&quot; target=&quot;_blank&quot;&gt;Secure and accessible contact form for wordpress&lt;/a&gt; plugin on my site and I ran across some trouble actually getting the form to send email. &lt;br /&gt;
After a little debug work I determined that my host &lt;a href=&quot;http://www.parcom.net/&quot; target=&quot;_blank&quot;&gt;PARCOM&lt;/a&gt; was not allowing the PHP mail function to send the email.  After some searching around I found this &lt;a href=&quot;http://kb.parcom.net/article.aspx?id=10169&amp;amp;cNode=7K6H5U&quot; target=&quot;_blank&quot;&gt;Basic Information for PHP Authentication&lt;/a&gt; knowledge base article which had the solution to my problem.&lt;br /&gt;
I was able to solve my &#39;not sending mail&#39; issue with adding the following lines to the top of &lt;em&gt;wp-gbcf_form.php&lt;/em&gt;:&lt;br /&gt;
&lt;code&gt; &lt;br /&gt;
ini_set(&quot;SMTP&quot;,&quot;mail.yourdomain.com&quot;);&lt;br /&gt;
ini_set(&quot;smtp_port&quot;,&quot;25&quot;);&lt;br /&gt;
ini_set(&quot;sendmail_from&quot;,&quot;fromYou@typeyourdomainhere.com&quot;);&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
After that it worked like a charm.  I just wanted to thank Mike again for is hard work on this plugin and I now you can &lt;a href=&quot;http://www.joshgerdes.com/contact/&quot;&gt;contact me&lt;/a&gt; whenever you like.</description><link>http://joshgerdes.blogspot.com/2007/05/getting-secure-and-accessible-contact_04.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-3777108329330774325</guid><pubDate>Wed, 02 May 2007 15:00:00 +0000</pubDate><atom:updated>2009-10-06T12:18:15.989-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">API</category><category domain="http://www.blogger.com/atom/ns#">Flickr</category><category domain="http://www.blogger.com/atom/ns#">PHP</category><category domain="http://www.blogger.com/atom/ns#">phpflickr</category><category domain="http://www.blogger.com/atom/ns#">Wordpress</category><title>phpFlickr Patch</title><description>&lt;span style=&quot;font-family: inherit;&quot;&gt;During the process of revamping my &lt;/span&gt;&lt;a href=&quot;http://www.joshgerdes.com/projects/simpleflickr-plugin/&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;SimpleFlickr&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; plugin I came across an interesting issues with using the &lt;/span&gt;&lt;a href=&quot;http://phpflickr.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;phpFlickr&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; wrapper library.  For those of you who do not know the phpFlickr library is this great wrapper for the &lt;/span&gt;&lt;a href=&quot;http://www.flickr.com/services/api/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;flickr API&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; in PHP written by &lt;/span&gt;&lt;a href=&quot;http://www.dancoulter.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dan Coulter&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;.  I have come across an issue dealing with multiple instances of phpflickr (and the accompanying libraries) not being able to load due to multiple wordpress plugins using phpflickr on the same site. I have found a solution which involves a some small tweaks to the phpflickr code. I&#39;m not sure if it is the most elegant php solution but basically any place where you do a require_once call I have added a check to see if the given class that is to be loaded already exists. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Here is an example: &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;original code:&lt;/span&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;require_once &#39;PEAR.php&#39;; &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;new code:&lt;/span&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;if(!class_exists(&quot;PEAR&quot;)) require_once &#39;PEAR.php&#39;; &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I just wanted to thank Dan again for his great work on phpFlickr and I hope this fix spares some other developer some time and sanity.&lt;/span&gt;</description><link>http://joshgerdes.blogspot.com/2007/05/phpflickr-patch_02.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-2230095653134780462</guid><pubDate>Thu, 22 Feb 2007 05:41:00 +0000</pubDate><atom:updated>2009-10-06T13:45:52.781-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Flickr</category><category domain="http://www.blogger.com/atom/ns#">Plugin</category><category domain="http://www.blogger.com/atom/ns#">Wordpress</category><title>SimpleFlickr Wordpress Plugin</title><description>This is a plugin for Wordpress that allows you to embed a flickr integrated simpleviewer into your Wordpress site.  In additional, you are able to specific a path to a standard SimpleViewer XML configuration file to display images from a local gallery.  &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Like this plugin?&lt;/b&gt;&lt;br /&gt;
&lt;form action=&quot;https://www.paypal.com/cgi-bin/webscr&quot; method=&quot;post&quot;&gt;&lt;input name=&quot;cmd&quot; type=&quot;hidden&quot; value=&quot;_s-xclick&quot; /&gt;&lt;br /&gt;
&lt;input alt=&quot;PayPal - The safer, easier way to pay online!&quot; border=&quot;0&quot; name=&quot;submit&quot; src=&quot;https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif&quot; type=&quot;image&quot; /&gt;&lt;br /&gt;
&lt;/form&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Download&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Please visit the &lt;a href=&quot;http://wordpress.org/extend/plugins/simpleflickr/&quot;&gt;SimpleFlickr Plugin Page&lt;/a&gt; to download the latest version of the plugin.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Upgrading&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The easiest way to upgrade from previous versions is to deactivate the plugin in wordpress and delete the plugin folder from your web server.  Once the new plugin files have been uploaded and you have activated the plugin in wordpress then you have authorized the new plugin with flickr before you can use the plugin.  It is also suggested to update your options to resave the values in the database to make sure you have all the latest option values saved.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Installation&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Extract all the contents of the plugin archive into your &#39;wp-content/plugins/simpleFlickr&#39; directory.&lt;/li&gt;
&lt;li&gt;Go to your wordpress admin pages and click on &#39;Plugins&#39; and activate the plugin called &#39;simpleFlickr&#39;.&lt;/li&gt;
&lt;li&gt;Go to your wordpress admin and click on &#39;Options&#39; then &#39;simpleFlickr&#39;.&lt;/li&gt;
&lt;li&gt;Following the instructions to authorize the plugin with flickr. (You only do this once initially.)&lt;/li&gt;
&lt;li&gt;Set your configuration option values and click &#39;update options&#39; to save.&lt;/li&gt;
&lt;li&gt;Add simpleflickr tag to your page or post with the set or group attribute defined.  (Please see Usage section for more details.)&lt;/li&gt;
&lt;/ol&gt;&lt;b&gt;Usage&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
After the plugin has been installed, activated, and the configuration options have been set you will be able to add a simpleviewer object to your content by adding a simpleflickr tag to your page or post.  Please see the examples below for tag details.&lt;br /&gt;
&lt;br /&gt;
Here is an example to show a set:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;i&gt;&lt;code&gt;[simpleflickr set=&quot;72157594408754918&quot; /]&lt;/code&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/blockquote&gt;Here is an example to show a group:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;i&gt;&lt;code&gt;[simpleflickr group=&quot;47755705@N00&quot; /]&lt;/code&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/blockquote&gt;Here is an example to show user&#39;s recent photos:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;i&gt;&lt;code&gt;[simpleflickr showrecent=&quot;true&quot; /]&lt;/code&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/blockquote&gt;Here is an example with all custom options:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;i&gt;&lt;code&gt;[simpleflickr width=&quot;100%&quot; height=&quot;800&quot; bgcolor=&quot;#FFFFFF&quot; quality=&quot;best&quot;&lt;br /&gt;
navposition=&quot;bottom&quot; title=&quot;Testing Demo&quot; set=&quot;YOUR_SET_NUMBER&quot; maximagewidth=&quot;500&quot;&lt;br /&gt;
maximageheight=&quot;300&quot; textcolor=&quot;0x333333&quot; framecolor=&quot;0xD5E6EB&quot;framewidth=&quot;10&quot;&lt;br /&gt;
stagepadding=&quot;40&quot; thumbnailcolumns=&quot;3&quot; thumbnailrows=&quot;3&quot;enablerightclickopen=&quot;false&quot; /]&lt;/code&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/blockquote&gt;The following are the attributes available for the tag:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Flickr Options&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The following options are related to how the plugin accesses and retrieves images from flickr.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Photo Count (count)&lt;/b&gt;  &lt;br /&gt;
The number of images to be displayed. The maximum number the flickr API allows is 500. For unlimited set to &#39;0&#39;. Default is &#39;0&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Show Recent Photos (showrecent)&lt;/b&gt;  &lt;br /&gt;
Determines the user&#39;s recent photos are displayed by default. This option takes precedences over the &#39;set&#39; and &#39;group&#39; options. So, if this is set to true then your recent photos will be displayed even if you have added the &#39;set&#39; or &#39;group&#39; attribute to the tag. Default is &#39;false&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Image Size (imagesize)&lt;/b&gt;  &lt;br /&gt;
You must provide the size of the image displayed in the simpleviewer flash object. Can be &#39;Square&#39;, &#39;Thumbnail&#39;, &#39;Small&#39;, &#39;Medium&#39;, &#39;Large&#39;, &#39;Original&#39;. Default is &#39;Medium&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Privacy Filter (privacyfilter)&lt;/b&gt;  &lt;br /&gt;
Determines what photos are displayed based on the level of privacy selected. Values can be &#39;Public photos&#39;, &#39;Private photos visible to friends&#39;, &#39;Private photos visible to family&#39;, &#39;Private photos visible to friends &amp;amp; family&#39;, &#39;Completely private photos&#39;. Default is &#39;Public photos&#39;.&lt;/li&gt;
&lt;/ul&gt;&lt;b&gt;Flash Object Options&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The following options are general options related to the flash object displayed by this plugin.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Width (width)&lt;/b&gt;  &lt;br /&gt;
Specifies the width of the movie in either pixels or percentage of browser window. Default is &#39;480&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Height (height)&lt;/b&gt;  &lt;br /&gt;
Specifies the height of the movie in either pixels or percentage of browser window. Default is &#39;680&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Quality (quality)&lt;/b&gt;  &lt;br /&gt;
Specifies the quality of the simpleviewer flash object. Can be &#39;low&#39;, &#39;high&#39;, &#39;autolow&#39;, &#39;autohigh&#39;, &#39;best&#39;. Default is &#39;best&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Background Color (bgcolor)&lt;/b&gt;  &lt;br /&gt;
Specifies the background color (hexidecimal color value e.g #FF00FF) of the movie. This attribute does not affect the background color of the HTML page. Default is #FFFFFF. Is ignored if Window Mode is set to &#39;transparent&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Window Mode (wmode)&lt;/b&gt;  &lt;br /&gt;
Sets the Window Mode property of the Flash movie for transparency, layering, and positioning in the browser. Can be &#39;window&#39;, &#39;opaque&#39;, &#39;transparent&#39;. Default is &#39;window&#39;. Overrides Background Color if set to &#39;transparent&#39;.&lt;/li&gt;
&lt;/ul&gt;&lt;b&gt;SimpleViewer Options&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This plugin uses the SimpleViewer flash application for displaying images from Flickr. SimpleViewer can be customized by setting the following options. Please visit the SimpleViewer Options Page for more details.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Max Image Width (maximagewidth)&lt;/b&gt;  &lt;br /&gt;
Width of the widest image in the gallery. Used to determine the best layout for your gallery (pixels). Default is &#39;480&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Max Image Height (maximageheight)&lt;/b&gt;  &lt;br /&gt;
Height of tallest image in the gallery. Used to determine the best layout for your gallery (pixels). Default is &#39;680&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Text Color (textcolor)&lt;/b&gt;  &lt;br /&gt;
Color of title and caption text (hexidecimal color e.g. 0xFF00FF). Default is &#39;0xFFFFFF&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Frame Color (framecolor)&lt;/b&gt;  &lt;br /&gt;
Color of image frame, navigation buttons and thumbnail frame (hexidecimal color value e.g. 0xFF00FF). Default is &#39;0xFFFFFF&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Frame Width (framewidth)&lt;/b&gt;  &lt;br /&gt;
Width of image frame (pixels). Default is &#39;20&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Stage Padding (stagepadding)&lt;/b&gt;  &lt;br /&gt;
Width of padding around gallery edge (pixels). To have the image flush to the edge of the swf, set this to &#39;0&#39;. Default is &#39;40&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Nav Padding (navpadding)&lt;/b&gt;  &lt;br /&gt;
Distance between image and thumbnails (pixels). Default is &#39;40&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Thumbnail Columns (thumbnailcolumns)&lt;/b&gt;  &lt;br /&gt;
Number of thumbnail columns. To disable thumbnails completely set this value to &#39;0&#39;. Default is &#39;3&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Thumbnail Rows (thumbnailrows)&lt;/b&gt;  &lt;br /&gt;
Number of thumbnail rows. To disable thumbnails completely set this value to &#39;0&#39;. Default is &#39;3&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Nav Position (navposition)&lt;/b&gt;  &lt;br /&gt;
Position of thumbnails relative to image. Can be &#39;top&#39;, &#39;bottom&#39;, &#39;left&#39; or &#39;right&#39;. Default is &#39;left&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Vertical Alignment (valign)&lt;/b&gt;  &lt;br /&gt;
Vertical placment of the image and thumbnails within the SWF. Can be &#39;center&#39;, &#39;top&#39; or &#39;bottom&#39;. Default is &#39;center&#39;.&lt;br /&gt;
For large format galleries this is best set to &#39;center&#39;. For small format galleries setting this to &#39;top&#39; or &#39;bottom&#39; can help get the image flush to the edge of the swf.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Horizontal Alignment (halign)&lt;/b&gt;  &lt;br /&gt;
Horizontal placement of the image and thumbnails within the SWF. Can be &#39;center&#39;, &#39;left&#39; or &#39;right&#39;. Default is &#39;center&#39;.&lt;br /&gt;
For large format galleries this is best set to &#39;center&#39;. For small format galleries setting this to &#39;left&#39; or &#39;right&#39; can help get the image flush to the edge of the swf.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Title (title)&lt;/b&gt;  &lt;br /&gt;
Text to display as gallery Title. Default is blank.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Enable Right Click Open (enablerightclickopen)&lt;/b&gt;  &lt;br /&gt;
Whether to display a &#39;Open In new Window...&#39; dialog when right-clicking on an image. Can be &#39;true&#39; or &#39;false&#39;. Default is &#39;true&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Background Image Path (backgroundimagepath)&lt;/b&gt;  &lt;br /&gt;
Relative or absolute path to a JPG or SWF to load as the gallery background. Default is blank.&lt;br /&gt;
Relative paths are relative to the HTML document that contains SimpleViewer. For example: &#39;images/bkgnd.jpg&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;First Image Index (firstimageindex)&lt;/b&gt;  &lt;br /&gt;
Index of image to display when gallery loads. Images are numbered beginning at zero. You can use this option to display a specific number based on the URL. Default is &#39;0&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Open Image Text (langopenimage)&lt;/b&gt;  &lt;br /&gt;
The text displayed for the right-click &#39;Open Image in New Window&#39; menu option. Can be used to translate SimpleViewer into a non-English language. Default is &#39;Open Image in New Window&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;About Text (langabout)&lt;/b&gt;  &lt;br /&gt;
The text displayed for the right-click &#39;About&#39; menu option. Can be used to translate SimpleViewer into a non-English language. Default is &#39;About&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Preloader Color (preloadercolor)&lt;/b&gt;  &lt;br /&gt;
Preloader color (hexidecimal color value). Default is &#39;0xFFFFFF&#39;.&lt;/li&gt;
&lt;/ul&gt;&lt;b&gt;Additional Options&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The following are additional options to control how SimpleViewer displays images within this plugin.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Show Image Caption (showimagecaption)&lt;/b&gt;  &lt;br /&gt;
Specifies if the image caption is displayed. Can be &#39;true&#39; or &#39;false&#39;. Default is &#39;true&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Image Caption Link (imagecaptionlink)&lt;/b&gt;  &lt;br /&gt;
Specifies if the image caption text is a link to the flickr image page. Can be &#39;true&#39; or &#39;false&#39;. Default is &#39;true&#39;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Image Caption Style (imagecaptionstyle)&lt;/b&gt;  &lt;br /&gt;
Specifies the font style for the image caption text if displayed. Can be &#39;bold&#39;, &#39;italic&#39;, &#39;underline&#39;, or &#39;none&#39;. Default is &#39;none&#39;.&lt;/li&gt;
&lt;/ul&gt;&lt;b&gt;Alternate SimpleViewer Options&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The following is an alternate option for using SimpleViewer within this plugin. If you provide a path to a standard SimpleViewer XML configuration file then this plugin will display the gallery and all settings specified in that file. This option overrides all other Simpleviewer options set for this plugin.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;XML Configuration File Path (xmldatapath)&lt;/b&gt;  &lt;br /&gt;
Relative or absolute URL of the gallery XML file. Relative paths are relative to the HTML page that contains the swf. Default is blank.&lt;/li&gt;
&lt;/ul&gt;&lt;b&gt;Copyright &amp;amp; Disclaimer:&lt;/b&gt;&lt;br /&gt;
Copyright (c) 2007-2008 by Josh Gerdes&lt;br /&gt;
&lt;br /&gt;
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:&lt;br /&gt;
&lt;br /&gt;
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.&lt;br /&gt;
&lt;br /&gt;
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Special Thanks&lt;/b&gt;&lt;br /&gt;
Special thanks to the developers and community around this great piece of software:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;b&gt;SimpleViewer&lt;/b&gt; by Airtight - &lt;a href=&quot;http://www.airtightinteractive.com/simpleviewer/&quot; target=&quot;_blank&quot;&gt;http://www.airtightinteractive.com/simpleviewer/&lt;/a&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;b&gt;Need Support?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Please &lt;b&gt;DO NOT&lt;/b&gt; post issues, bugs, feature requests, or ask for installation help in the comments section on this page.  I will not approve those types of comments on this page.  Instead, please visit the &lt;a href=&quot;http://wordpress.org/extend/plugins/simpleflickr/&quot;&gt;main plugin page&lt;/a&gt; hosted at wordpress.org to get the latest information on the plugin or visit the &lt;a href=&quot;http://wordpress.org/tags/simpleflickr&quot;&gt;support forum&lt;/a&gt; to get help with those types of problems.&lt;br /&gt;
&lt;br /&gt;
For help visit the &lt;a href=&quot;http://wordpress.org/tags/simpleflickr/&quot;&gt;Wordpress Support Forum&lt;/a&gt;.</description><link>http://joshgerdes.blogspot.com/2008/07/simpleflickr_24.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-8012434086359829896</guid><pubDate>Sat, 17 Feb 2007 05:30:00 +0000</pubDate><atom:updated>2009-10-06T13:46:42.334-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Flickr</category><category domain="http://www.blogger.com/atom/ns#">Plugin</category><category domain="http://www.blogger.com/atom/ns#">Wordpress</category><title>Flickr Tag Cloud Wordpress Widget</title><description>This is a plugin I wrote for the Widgets plugin by Automattic made for Wordpress 2.x.  It will display a tag cloud of links from your flickr account. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Like this plugin?&lt;/b&gt;&lt;br /&gt;
&lt;form action=&quot;https://www.paypal.com/cgi-bin/webscr&quot; method=&quot;post&quot;&gt;&lt;input name=&quot;cmd&quot; type=&quot;hidden&quot; value=&quot;_s-xclick&quot; /&gt;&lt;br /&gt;
&lt;input alt=&quot;PayPal - The safer, easier way to pay online!&quot; border=&quot;0&quot; name=&quot;submit&quot; src=&quot;https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif&quot; type=&quot;image&quot; /&gt;&lt;br /&gt;
&lt;/form&gt;&lt;br /&gt;
&lt;b&gt;Download&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Please visit the &lt;a href=&quot;http://wordpress.org/extend/plugins/flickr-tag-cloud-widget/&quot;&gt;Flickr Tag Cloud Widget Plugin Page&lt;/a&gt; to download the latest version of the plugin.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Requirements&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Wordpress 2.x or higher - &lt;a href=&quot;http://wordpress.com/&quot;&gt;http://wordpress.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Sidebar Widgets Plugin  - &lt;a href=&quot;http://automattic.com/code/widgets/&quot;&gt;http://automattic.com/code/widgets/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A Flickr API Key - &lt;a href=&quot;http://www.flickr.com/services/api/keys/&quot;&gt;http://www.flickr.com/services/api/keys/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A Sidebar enabled Theme&lt;/li&gt;
&lt;/ul&gt;&lt;b&gt;Installation&lt;/b&gt;&lt;br /&gt;
Extract the flickr-tagcloud-widget.php file into your wp-content/plugins/widgets/ directory.  Go to your wordpress admin pages and click on &#39;Plugins&#39; activate the plugin called &quot;Flickr Tag Cloud Widget&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Configuration&lt;/b&gt;&lt;br /&gt;
1. Go to your wordpress admin and click on &#39;Presentation&#39; then &#39;Sidebar Widgets&#39;.&lt;br /&gt;
2. Drag the widget called &quot;Flickr Tag Cloud&quot; to your sidebar.&lt;br /&gt;
3. Click the square icon next to the widget to open the config screen.&lt;br /&gt;
&lt;br /&gt;
The following are the settings available on the widget:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Title:&lt;/b&gt; The title that will appear in the sidebar (optional).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;API Key:&lt;/b&gt; Go to &lt;a href=&quot;http://www.flickr.com/services/api/keys/&quot;&gt;http://www.flickr.com/services/api/keys/&lt;/a&gt; to get an API key.  This is needed to access your tags.&lt;br /&gt;
&lt;b&gt;Flickr ID:&lt;/b&gt; Use http://idgettr.com/ to find your ID. Please note, this is not your username or screen name.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Cache Time&lt;/b&gt;:  The cache time value in seconds. ( -1 = disable, 604800 = a week )&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Min Font Size:&lt;/b&gt; The minimum size in pixels to be used for the tag links.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Max Font Size:&lt;/b&gt; The maximum size in pixels to be used for the tag links.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Max Count:&lt;/b&gt; The maximum number of tag links to be displayed. ( -1 = unlimited )&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Link Target&lt;/b&gt; The target attribute for the anchor tags. Allows you to set where the links open.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;b&gt;Copyright &amp;amp; Disclaimer:&lt;/b&gt;&lt;br /&gt;
Copyright (c) 2007-2008 by Josh Gerdes&lt;br /&gt;
&lt;br /&gt;
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:&lt;br /&gt;
&lt;br /&gt;
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.&lt;br /&gt;
&lt;br /&gt;
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Need Support?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Please &lt;b&gt;DO NOT&lt;/b&gt; post issues, bugs, feature requests, or ask for installation help in the comments section on this page. I will not approve those types of comments on this page. Instead, please visit the &lt;a href=&quot;http://wordpress.org/extend/plugins/flickr-tag-cloud-widget/&quot;&gt;main plugin page&lt;/a&gt; hosted at wordpress.org to get the latest information on the plugin or visit the &lt;a href=&quot;http://wordpress.org/tags/flickr-tag-cloud-widget&quot;&gt;support forum&lt;/a&gt; to get help with those types of problems.&lt;br /&gt;
&lt;br /&gt;
For help visit the &lt;a href=&quot;http://wordpress.org/tags/flickr-tag-cloud-widget&quot;&gt;Wordpress Support Forum&lt;/a&gt;.</description><link>http://joshgerdes.blogspot.com/2008/07/flickr-tag-cloud-widget_24.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-6211532090614680080</guid><pubDate>Fri, 16 Apr 2004 05:51:00 +0000</pubDate><atom:updated>2009-10-06T12:15:53.173-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Firefox</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>How to create a FireFox shortcut that opens a new browser window in Linux</title><description>This is just a fix to a little quirk in the Linux version of the great FireFox browser that took me a little while to find so I thought I would post it. Basically this allows you to open a new browser window when you click on a shortcut in Linux instead of opening the profile manager which does not let you open a new window because it tries to start a new instance of the profile which is in use. To fix the issue create this script (e.g. firefox-run.sh) and give in execute permissions:&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;i&gt;#!/bin/bash&lt;br /&gt;
cd /usr/local/apps/firefox&lt;br /&gt;
if [[ `ps -e | grep firefox-bin` ]]; then&lt;br /&gt;
`./firefox -remote &#39;xfeDoCommand(openBrowser)&#39;`&lt;br /&gt;
else&lt;br /&gt;
`./firefox $1 &amp;amp;`&lt;br /&gt;
fi&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
You should of course change the script to use the path where you installed FireFox. Then just create a shortcut to the newly created script and the issue should be resolved. More remote command information can be found at &lt;a href=&quot;http://www.mozilla.org/unix/remote.html&quot;&gt;http://www.mozilla.org/unix/remote.html&lt;/a&gt;.&lt;/div&gt;</description><link>http://joshgerdes.blogspot.com/2004/04/how-to-create-firefox-shortcut-that_15.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-1235541569374917409.post-7437192681650621440</guid><pubDate>Tue, 02 Mar 2004 20:20:00 +0000</pubDate><atom:updated>2009-10-06T12:08:21.496-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">.NET</category><category domain="http://www.blogger.com/atom/ns#">gtk-sharp</category><category domain="http://www.blogger.com/atom/ns#">Mono</category><category domain="http://www.blogger.com/atom/ns#">Windows</category><title>Build mono. mcs, and gtk-sharp from CVS on windows</title><description>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;I finally got mono, mcs, and gtk-sharp to build correctly on my windows cygwin environment and I thought I would write some detailed instructions for all to enjoy.  I also thought it was complicated enough that I probably needed to write it down so I don&#39;t forget either.  Either way you can check it out on the &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.nullenvoid.com/mono/wiki/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Mono Wiki&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; and &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.nullenvoid.com/gtksharp/wiki/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Gtk# Wiki&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;.  I hope it helps.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;==============================&lt;wbr&gt;&lt;/wbr&gt;========================&lt;br /&gt;
Building mono, mcs, and gtk-sharp from CVS for windows&lt;br /&gt;
by Josh Gerdes&lt;br /&gt;
==============================&lt;wbr&gt;&lt;/wbr&gt;========================&lt;br /&gt;
&lt;br /&gt;
I decided to write this guide to help those like myself who would like&lt;br /&gt;
to be able to build mono, mcs, and gtk-sharp on a windows platform. &amp;nbsp;I&lt;br /&gt;
have gathered information from various sources and I would like to thank&lt;br /&gt;
the following for their posts and information:&lt;br /&gt;
&lt;br /&gt;
Giovanni Zito&lt;br /&gt;
Bernie Solomon&lt;br /&gt;
Daniel Morgan&lt;br /&gt;
&lt;br /&gt;
Setting up the Environment and Dependencies&lt;br /&gt;
==============================&lt;wbr&gt;&lt;/wbr&gt;=============&lt;br /&gt;
&lt;br /&gt;
1) Install the .NET SDK V1.1 from&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/downloads&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;msdn.microsoft.com/downloads&lt;/a&gt;. I&#39;ve put&lt;br /&gt;
this step here simply because previous instructions states to install&lt;br /&gt;
it. I&#39;m don&#39;t know if and why this step is required. By the way, if you&lt;br /&gt;
have Microsoft Visual Studio .NET 2003 installed on your system then you&lt;br /&gt;
can skip this step.&lt;br /&gt;
&lt;br /&gt;
2) Install the latest cygwin setup (about 30MB). Start choosing the&lt;br /&gt;
default installation if you are not sure what packages you need. You&#39;ll&lt;br /&gt;
can always get the other missing packages later, if mono configure&lt;br /&gt;
script will require them. Be sure to get libiconv (not just libiconv2!).&lt;br /&gt;
I installed everything just to be safe.&lt;br /&gt;
&lt;br /&gt;
3) Download and install the gtk+ dependencies to /usr/local:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://prdownloads.sourceforge.net/gtk-win/GTK-Runtime-Environment-2.2.4.1.exe&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://prdownloads.&lt;wbr&gt;&lt;/wbr&gt;sourceforge.net/gtk-win/GTK-&lt;wbr&gt;&lt;/wbr&gt;Runtime-Environment-2.2.4.1.&lt;wbr&gt;&lt;/wbr&gt;exe&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://prdownloads.sourceforge.net/gtk-win/GTK-Development-Environment-2.2.4.1.exe&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://prdownloads.&lt;wbr&gt;&lt;/wbr&gt;sourceforge.net/gtk-win/GTK-&lt;wbr&gt;&lt;/wbr&gt;Development-Environment-2.2.4.&lt;wbr&gt;&lt;/wbr&gt;1.exe&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Note: The Runtime installer will delete the destination installation directory before&lt;br /&gt;
installing so it must be installed first. &amp;nbsp;This is optional if you do not want to compile gtk-sharp.&lt;br /&gt;
&lt;br /&gt;
4) Download and install the following dependencies packages and extract to /usr/local:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://www.go-mono.com/&lt;wbr&gt;&lt;/wbr&gt;archive/pkgconfig-0.11-&lt;wbr&gt;&lt;/wbr&gt;20020310.zip&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.go-mono.com/archive/glib-2.0.4-20020703.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://www.go-mono.com/&lt;wbr&gt;&lt;/wbr&gt;archive/glib-2.0.4-20020703.&lt;wbr&gt;&lt;/wbr&gt;zip&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://www.go-mono.com/&lt;wbr&gt;&lt;/wbr&gt;archive/glib-dev-2.0.4-&lt;wbr&gt;&lt;/wbr&gt;20020703.zip&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.go-mono.com/archive/libiconv-1.7.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://www.go-mono.com/&lt;wbr&gt;&lt;/wbr&gt;archive/libiconv-1.7.zip&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://www.go-mono.com/&lt;wbr&gt;&lt;/wbr&gt;archive/libiconv-dev-1.7-&lt;wbr&gt;&lt;/wbr&gt;20020101.zip&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://www.go-mono.com/&lt;wbr&gt;&lt;/wbr&gt;archive/libintl-0.10.40-&lt;wbr&gt;&lt;/wbr&gt;20020101.zip&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.go-mono.com/archive/libgc-dev.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://www.go-mono.com/&lt;wbr&gt;&lt;/wbr&gt;archive/libgc-dev.zip&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.go-mono.com/archive/icu-2.6.1-Win32_msvc7.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://www.go-mono.com/&lt;wbr&gt;&lt;/wbr&gt;archive/icu-2.6.1-Win32_msvc7.&lt;wbr&gt;&lt;/wbr&gt;zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
5) Open a cygwin prompt and edit your profile &quot;~/.bashrc&quot; by adding the following:&lt;br /&gt;
&lt;br /&gt;
#Environment Variables for Mono&lt;br /&gt;
export PATH=&quot;/usr/local/bin:/usr/&lt;wbr&gt;&lt;/wbr&gt;local/lib:$PATH&quot;&lt;br /&gt;
export ACLOCAL_FLAGS=&quot;-I /usr/share/aclocal&quot;&lt;br /&gt;
export CPPFLAGS=&quot;$CPPFLAGS -I /usr/local/include&quot;&lt;br /&gt;
export LDFLAGS=&quot;$LDFLAGS -L /usr/local/lib&quot;&lt;br /&gt;
export CC=&quot;gcc -mno-cygwin&quot;&lt;br /&gt;
export PKG_CONFIG_PATH=&quot;/usr/local/&lt;wbr&gt;&lt;/wbr&gt;lib/pkgconfig&quot;&lt;br /&gt;
export LD_LIBRARY_PATH=&quot;/usr/local/&lt;wbr&gt;&lt;/wbr&gt;lib&quot;&lt;br /&gt;
export MONO_PATH=&quot;/usr/local/lib:$&lt;wbr&gt;&lt;/wbr&gt;MONO_PATH&quot;&lt;br /&gt;
export MONO_CFG_PATH=&quot;/usr/local/etc:&lt;wbr&gt;&lt;/wbr&gt;$MONO_CFG_PATH&quot;&lt;br /&gt;
&lt;br /&gt;
#Environment variables for Mono CVS access&lt;br /&gt;
export CVSROOT=:pserver:anonymous@&lt;wbr&gt;&lt;/wbr&gt;anoncvs.go-mono.com:/mono&lt;br /&gt;
export CVS_RSH=ssh&lt;br /&gt;
&lt;br /&gt;
#Environment variables for .NET if not already in your Windows PATH&lt;br /&gt;
export PATH=&quot;$PATH:/cygdrive/c/&lt;wbr&gt;&lt;/wbr&gt;WINDOWS/Microsoft.NET/&lt;wbr&gt;&lt;/wbr&gt;Framework/v1.1.4322&quot;&lt;br /&gt;
export PATH=&quot;$PATH:/cygdrive/c/&lt;wbr&gt;&lt;/wbr&gt;Program Files/Microsoft.NET/SDK/v1.1/&lt;wbr&gt;&lt;/wbr&gt;Bin&quot;&lt;br /&gt;
&lt;br /&gt;
6) Create the following script, name it icu-config and copy it to /usr/local/bin.&lt;br /&gt;
&lt;br /&gt;
#/bin/sh&lt;br /&gt;
ICU_ROOT=/usr/local/icu&lt;br /&gt;
case $1&lt;br /&gt;
in&lt;br /&gt;
--cppflags)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;echo &quot;-I$ICU_ROOT/include&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;;;&lt;br /&gt;
--ldflags)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;echo &quot;-L$ICU_ROOT/lib -licuuc -licuin&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;;;&lt;br /&gt;
--version)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;grep &#39;\&lt;u_icu_version\&gt;&#39; $ICU_ROOT/include/unicode/&lt;wbr&gt;&lt;/wbr&gt;uversion.h | sed -e &#39;s/.*&quot;\(.*\)&quot;.*/\1/&#39;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;;;&lt;br /&gt;
esac&lt;br /&gt;
&lt;br /&gt;
7) Change the script permissions by running &quot;chmod u+x /usr/local/bin/icu-config&quot;.&lt;br /&gt;
&lt;br /&gt;
8) Restart your cygwin environment&lt;br /&gt;
&lt;br /&gt;
Downloading latest CVS&lt;br /&gt;
======================&lt;br /&gt;
&lt;br /&gt;
1) Create a directory to store the source files in your home directory (&quot;mkdir ~/src&quot;)&lt;br /&gt;
&lt;br /&gt;
2) Go to the newly created directory (&quot;cd src&quot;)&lt;br /&gt;
&lt;br /&gt;
3) Login to CVS by running &quot;cvs login&quot; you will be asked for a password which can be left blank&lt;br /&gt;
&lt;br /&gt;
4) Download the source&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To get the source for the first time run the following:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cvs -z3 co mcs mono gtk-sharp&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;After that you can just update the source by running the following:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cvs -z3 update -dP mcs mono gtk-sharp&lt;br /&gt;
&lt;br /&gt;
Building mono&lt;br /&gt;
=============&lt;br /&gt;
&lt;br /&gt;
You are now ready to buld mono by running the following commands:&lt;br /&gt;
&lt;br /&gt;
$ cd ~src/mono&lt;br /&gt;
$ ./configure --with-gc=boehm CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib&lt;br /&gt;
$ make&lt;br /&gt;
$ make install&lt;br /&gt;
&lt;br /&gt;
Note: at the time of creating these instructions the CVS had some issues so I used mono 0.30.1 source instead&lt;br /&gt;
&lt;br /&gt;
Building mcs&lt;br /&gt;
=============&lt;br /&gt;
&lt;br /&gt;
You are now ready to buld mcs by running the following commands:&lt;br /&gt;
&lt;br /&gt;
$ cd ~/src/mcs&lt;br /&gt;
$ make&lt;br /&gt;
$ make instal&lt;br /&gt;
&lt;br /&gt;
Building gtk-sharp&lt;br /&gt;
=============&lt;br /&gt;
&lt;br /&gt;
1) Download and install the libglade lib package to /usr/local/:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://prdownloads.sourceforge.net/gladewin32/libglade-2.0.1-lib.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://prdownloads.&lt;wbr&gt;&lt;/wbr&gt;sourceforge.net/gladewin32/&lt;wbr&gt;&lt;/wbr&gt;libglade-2.0.1-lib.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
2) Download the libglade bin package and copy libglade-2.0-0.dll to /usr/local/lib:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://prdownloads.sourceforge.net/gladewin32/libglade-2.0.1-bin.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://prdownloads.&lt;wbr&gt;&lt;/wbr&gt;sourceforge.net/gladewin32/&lt;wbr&gt;&lt;/wbr&gt;libglade-2.0.1-bin.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
3) Edit /usr/local/lib/pkgconfig/&lt;wbr&gt;&lt;/wbr&gt;libglade-2.0.pc and set the prefix (prefix=/usr/local)&lt;br /&gt;
&lt;br /&gt;
4) Download and rename libxml2.dll to libxml-2.0.dll and copy to /usr/local/lib:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://prdownloads.sourceforge.net/gnuwin32/libxml2-2.4.12-bin.zip&quot; style=&quot;color: #2a5db0;&quot; target=&quot;_blank&quot;&gt;http://prdownloads.&lt;wbr&gt;&lt;/wbr&gt;sourceforge.net/gnuwin32/&lt;wbr&gt;&lt;/wbr&gt;libxml2-2.4.12-bin.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
5) Create the following script, name it libxml-2.0.pc and copy it to /usr/local/lib/pkgconfig.&lt;br /&gt;
&lt;br /&gt;
prefix=/usr/local&lt;br /&gt;
exec_prefix=${prefix}&lt;br /&gt;
libdir=${exec_prefix}/lib&lt;br /&gt;
&lt;br /&gt;
Name: Libxml2&lt;br /&gt;
Description: a XML parser&lt;br /&gt;
Version: 2.4.12&lt;br /&gt;
&lt;br /&gt;
Libs: -L${libdir} -llibxml-2.0&lt;br /&gt;
&lt;br /&gt;
6) Edit makefile.win32 located in your gtk-sharp (~/src/gtk-sharp) and&lt;br /&gt;
change the following path to point to the correct Microsoft .NET&lt;br /&gt;
Framework (I had v1.1 installed so it had the incorrect path initially).&lt;br /&gt;
&lt;br /&gt;
CSC=$(ROOT)/microsoft.net/&lt;wbr&gt;&lt;/wbr&gt;framework/v1.1.4322/csc.exe&amp;nbsp;/d:WIN32&lt;br /&gt;
&lt;br /&gt;
7) You are now ready to buld gtk-sharp by running the following commands:&lt;br /&gt;
&lt;br /&gt;
$ cd ~/src/gtk-sharp&lt;br /&gt;
$ make -f makefile.win32&lt;br /&gt;
&lt;br /&gt;
8) Copy the newly created dlls to /usr/local/lib:&lt;br /&gt;
&lt;br /&gt;
/atk/atk-sharp.dll&lt;br /&gt;
/gdk/gdk-sharp.dll&lt;br /&gt;
/glade/glade-sharp.dll&lt;br /&gt;
/glib/glib-sharp.dll&lt;br /&gt;
/glue/gtksharpglue.dll&lt;br /&gt;
/gtk/gtk-sharp.dll&lt;br /&gt;
/pango/pango-sharp.dll&lt;br /&gt;
&lt;br /&gt;
Congratulations! &amp;nbsp;You should now have compiled mono, mcs, and gtk-sharp&lt;br /&gt;
successfully and have a working version of all of them located in&lt;br /&gt;
/usr/local. &amp;nbsp;Please note that these projects are constantly changing and&lt;br /&gt;
might not always build and these instructions most likely will need to&lt;br /&gt;
eventually be updated. &amp;nbsp;At least there is a starting point now.&lt;/u_icu_version\&gt;&lt;/span&gt;</description><link>http://joshgerdes.blogspot.com/2004/03/build-mono-mcs-and-gtk-sharp-from-cvs_02.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item></channel></rss>