<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>VinceCima.com</title><generator>Tumblr (3.0; @vincentcima)</generator><link>http://vincecima.com/</link><item><title>Announcing TrophyScraper</title><description>&lt;p&gt;TrophyScraper (or trophy-scraper) is a Ruby command line tool for downloading PSN trophy info for one or more users. It attempts to be a good neighbor by only downloading what it needs to. Use it for personal records or as the backend of a webapp.  Go over to &lt;a href="http://github.com/vincecima/trophy-scraper"&gt;GitHub&lt;/a&gt; for more info. Enjoy!&lt;/p&gt;</description><link>http://vincecima.com/post/216873527</link><guid>http://vincecima.com/post/216873527</guid><pubDate>Mon, 19 Oct 2009 00:39:29 -0400</pubDate></item><item><title>Using TextMate as Mercurial's Editor</title><description>&lt;p&gt;Much like with Git, its easy to use TextMate as the editor that Mercurial will use for commit messages.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open your ~/.hgrc file (create it if it doesn’t exist).&lt;/li&gt;
&lt;li&gt;Add this entry to the [ui] section:
&lt;pre class="brush: plain;"&gt; [ui] editor = mate -w &lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Save the ~/.hgrc file&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Next time you do &lt;code&gt;hg commit&lt;/code&gt; TextMate will open a temporary file you write your commit message into. Type your message, save the file and then close the window to finish the commit. The &lt;code&gt;-w&lt;/code&gt; flag on the &lt;code&gt;mate&lt;/code&gt; command tells TextMate not to return control to the command line until the editor window has been closed.&lt;/p&gt;</description><link>http://vincecima.com/post/216870934</link><guid>http://vincecima.com/post/216870934</guid><pubDate>Mon, 19 Oct 2009 00:36:00 -0400</pubDate></item><item><title>GiantBomb Wordpress Widget is Done!</title><description>&lt;p&gt;I finally finished the GiantBomb.com Wordpress widget I have been working on.  You can install it from inside your Wordpress installation by searching for ‘GiantBomb’ or you can go the plugin &lt;a href="http://wordpress.org/extend/plugins/giantbomb-widget/"&gt;page&lt;/a&gt; directly.  If you find any problems or feel like contributing, head over to the GitHub &lt;a href="http://github.com/vincecima/giantbomb-wordpress-widget/tree/master"&gt;page&lt;/a&gt; to get started.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://media.tumblr.com/tumblr_krsnrfRSXA1qzxr51.png"/&gt;&lt;/p&gt;</description><link>http://vincecima.com/post/216869906</link><guid>http://vincecima.com/post/216869906</guid><pubDate>Mon, 19 Oct 2009 00:34:00 -0400</pubDate></item><item><title>Installing the ZFS Web GUI on OpenSolaris 2008.11</title><description>&lt;p&gt;Sun recently shipped their second revision of &lt;a href="http://en.wikipedia.org/wiki/OpenSolaris"&gt;OpenSolaris&lt;/a&gt;. It defaults to installing to and booting from a &lt;a href="http://en.wikipedia.org/wiki/ZFS"&gt;ZFS&lt;/a&gt; zpool. Intrigued by ZFS’s effortless snapshotting I decided to install OpenSolaris in a VM and try out its abilities as a fileserver. As a part of my research I learned that Sun produces a GUI management tool for ZFS but that its not included. I set out to get it installed and this is how I was able to.&lt;/p&gt;
&lt;h2&gt;What You’ll Need&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;A working installation of &lt;a href="http://www.opensolaris.com/get/index.jsp"&gt;OpenSolaris 2008.11&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;A copy of the &lt;a href="http://opensolaris.org/os/downloads/sol_ex_dvd/"&gt;Solaris Community Edition&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;My Perl installation &lt;a href="http://dl.getdropbox.com/u/2554322/files/installzfswebgui.pl"&gt;script&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Instructions&lt;/h2&gt;
&lt;p&gt;Sun doesn’t distribute the ZFS GUI tool with OpenSolaris, but it does come with the binary only Community Edition, possibly for licensing reason. However, OpenSolaris includes the package management tools that ship with regular Solaris so its relatively easy to bring the packages over. This &lt;a href="http://docs.sun.com/app/docs/doc/817-7575/eypjr?a=view"&gt;site&lt;/a&gt; has a list of the packages required for the Java Web Console, which the ZFS manager plugs in to. Finally, a &lt;a href="http://www.opensolaris.org/jive/message.jspa?messageID=321785#321785"&gt;kindred spirit&lt;/a&gt; provided the package names for the ZFS plugin. With the help of the &lt;a href="http://opensolaris.org/os/project/svr4_packaging/package_companion/"&gt;Solaris Package Companion&lt;/a&gt; I was able to sort out the dependencies I needed to install and I wrote the script below to do it.&lt;/p&gt;
&lt;h2&gt;The Script&lt;/h2&gt;
&lt;p&gt;The script needs to be run as root or as a user with administrative privileges. Change the $pkg_srv variable to point to the source of the packages if necessary. The “smcwebserver enable” line will cause the Java Web Console to be started at boot up, remove it if you want to trigger its start manually.&lt;/p&gt;
&lt;pre class="brush: perl;"&gt;$pkg_src = "/media/SOL_11_X86/Solaris_11/Product";
@packages = (SUNWjhrt, SUNWjhdev, SUNWj5dev, SUNWj5rt, SUNWj6rt, SUNWjato, SUNWmcon, SUNWmconr, SUNWmcos, SUNWmcosx, SUNWmctag, SUNWmfrun, SUNWzfsgr, SUNWzfsgu);
foreach $package (@packages) {
system("cp -R $pkg_src/$package /var/spool/pkg");
}
system("pkgadd");
system("smcwebserver enable");
system("smcwebserver start");
system("firefox https://localhost:6789");
&lt;/pre&gt;</description><link>http://vincecima.com/post/216576465</link><guid>http://vincecima.com/post/216576465</guid><pubDate>Sun, 18 Oct 2009 17:01:00 -0400</pubDate></item></channel></rss>
