<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>Tidbits of info and things and stuff.</description><title>CodeBlock</title><generator>Tumblr (3.0; @rickyelrod)</generator><link>http://rickyelrod.tumblr.com/</link><item><title>Fedora Scholarship Dates Reminder</title><description>&lt;p&gt;I&amp;#8217;ve recently updated the Fedora Scholarship wiki page and filled in the TBD dates.&lt;/p&gt;

&lt;p&gt;Reminder that all applications are due by February 24th - less than one month from now. We look forward to seeing your applications! Happy Fedora-ing!&lt;/p&gt;</description><link>http://rickyelrod.tumblr.com/post/16693632189</link><guid>http://rickyelrod.tumblr.com/post/16693632189</guid><pubDate>Sun, 29 Jan 2012 08:19:58 -0500</pubDate><category>fedora</category><category>scholarship</category></item><item><title>FUDCon Blacksburg: Ham Radio People</title><description>&lt;p&gt;There&amp;#8217;s a number of hams bringing HT&amp;#8217;s with them to FUDCon this year, and a number of repeaters to monitor while in VA.&lt;/p&gt;

&lt;p&gt;There&amp;#8217;s also going to be a VE session during FUDCon.&lt;/p&gt;

&lt;p&gt;I started a wiki page here &lt;a href="https://fedoraproject.org/wiki/FUDCon:Blacksburg_2012_Ham_radio_operations"&gt;https://fedoraproject.org/wiki/FUDCon:Blacksburg_2012_Ham_radio_operations&lt;/a&gt; - if you&amp;#8217;re going to have an HT with you, feel free to add your callsign so we know who to listen for.&lt;/p&gt;</description><link>http://rickyelrod.tumblr.com/post/15696009632</link><guid>http://rickyelrod.tumblr.com/post/15696009632</guid><pubDate>Wed, 11 Jan 2012 19:40:27 -0500</pubDate><category>fedora</category><category>fudcon</category><category>hamradio</category></item><item><title>JQuery's Resizable of position: fixed; divs. Also: iframes.</title><description>&lt;p&gt;As per &lt;a title="a" href="http://bugs.jqueryui.com/ticket/3628"&gt;a&lt;/a&gt; &lt;a title="common" href="http://bugs.jqueryui.com/ticket/5335"&gt;common&lt;/a&gt; and old &lt;a title="bug" href="http://stackoverflow.com/questions/4819518/jquery-ui-resizable-does-not-support-position-fixed-any-recommendations"&gt;bug&lt;/a&gt; with JQuery UI&amp;#8217;s .resizable() method, you can&amp;#8217;t, out of the box, perform re-sizing of a position: fixed; div.&lt;/p&gt;
&lt;p&gt;My usecase for this was a panel-like page. I wanted the bottom &amp;#8220;panel&amp;#8221; to be re-sizable. The bottom panel was, in fact, position: fixed;.&lt;/p&gt;
&lt;p&gt;After tons of Googling, Chome Inspector-stalking and trial-and-error, I came up with a solution that allows me to do this. The part I was not realizing in most of my testing, was that when .resizable() changes position: fixed; to position: absolute, it also adds a &amp;#8220;top: 0;&amp;#8221;&amp;#8230; Figuring that out allowed me to solve the problem.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(document).ready(function() {
    $("#fixed_div").resizable({
        handles: 'n',
        resize: function(event, ui) {
            $("#fixed_div").css("position", "fixed");
            $("#fixed_div").css("bottom", "0px");
            $("#fixed_div").css("top", "");
        }
    });
});
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The next issue was that a large portion of the div right above this element was an iframe. Another known bug with Resizable is that it doesn&amp;#8217;t work too well when you&amp;#8217;re resizing and your cursor moves over an iframe. Some Googling later, I came up with this (pardon the ugly long line, I didn&amp;#8217;t clean this up much):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(document).ready(function() {
    $("#fixed_div").resizable({&lt;br/&gt;        handles: 'n',
        resize: function(event, ui) {
            $("#fixed_div").css("position", "fixed");&lt;br/&gt;            $("#fixed_div").css("bottom", "0px");&lt;br/&gt;            $("#fixed_div").css("top", "");&lt;br/&gt;        },
        start: function () {
            var d = $("&amp;lt;div class='iframeCover' \
style='zindex:99;position:absolute;width:100%;top:0px;left:0px;\
height:" + $("#div_that_contains_iframe").height() + "px'&amp;gt;&amp;lt;/div&amp;gt;");
            $("#div_that_contains_iframe").append(d);
        },
        stop: function () {
            $('.iframeCover').remove();
        },

    });
});
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is just a modified version of this &lt;a title="Stack Overflow answer" href="http://stackoverflow.com/questions/3627217/jquery-draggable-and-resizeable-over-iframes-solution"&gt;Stack Overflow answer&lt;/a&gt;. And there you have it.&lt;/p&gt;</description><link>http://rickyelrod.tumblr.com/post/12726746062</link><guid>http://rickyelrod.tumblr.com/post/12726746062</guid><pubDate>Sun, 13 Nov 2011 01:08:00 -0500</pubDate><category>fedora</category></item><item><title>Fedora Scholarship applications now being accepted</title><description>&lt;p&gt;Are you a recent graduate of High School, or graduating in 2012, and planning on pursuing a college degree? Are you an active contributor to open source projects and Fedora?&lt;/p&gt;
&lt;p&gt;If so, check out the Fedora scholarship. Applications are now being accepted until February 24th, 2012. Details can be found here: &lt;a href="https://fedoraproject.org/wiki/Scholarship"&gt;&lt;a href="https://fedoraproject.org/wiki/Scholarship"&gt;https://fedoraproject.org/wiki/Scholarship&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Along with pride and recognition from the awesome Fedora Project community, the winner will receive the following (copied from the Wiki page linked above):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The Fedora Scholarship is intended to assist in the recipient&amp;#8217;s college or university education. To this end, the recipient will receive $2,000 USD per year for each of the four years that he/she is in college.&lt;/p&gt;
&lt;p&gt;Additionally, the recipient will receive funding for travel and lodging at the &lt;a title="FUDCon" href="https://fedoraproject.org/wiki/FUDCon"&gt;FUDCon&lt;/a&gt; nearest to his/her location each year of the scholarship, should he/she choose to attend.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The winner will also have the opportunity to administer the scholarship the following year. This looks great on a resume!&lt;/p&gt;
&lt;p&gt;If you have any questions, and to apply (following the procedure outlined on the Wiki paged linked above), email &lt;a href="mailto:scholarship@fedoraproject.org"&gt;scholarship@fedoraproject.org&lt;/a&gt;. Good luck!&lt;/p&gt;</description><link>http://rickyelrod.tumblr.com/post/12715383514</link><guid>http://rickyelrod.tumblr.com/post/12715383514</guid><pubDate>Sat, 12 Nov 2011 20:35:00 -0500</pubDate><category>fedora</category></item><item><title>Redmine, Gitosis, Passenger on CentOS/RHEL 6</title><description>&lt;p&gt;I recently had to install Redmine for a set of projects some friends and I are working on. We wanted a place to track issues and whatnot, and Redmine seemed like a fairly good fit.&lt;/p&gt;
&lt;p&gt;I followed the &lt;a title="Wiki" target="_blank" href="http://www.redmine.org/projects/redmine/wiki/RedmineInstall"&gt;Wiki&lt;/a&gt; to set it up, made a &amp;#8216;redmine&amp;#8217; group, added &amp;#8216;gitosis&amp;#8217; and &amp;#8216;apache&amp;#8217; to it.&lt;/p&gt;
&lt;p&gt;However, after adding the repo in Redmine, I went to the repository tab and was disheartened when  I saw: &amp;#8220;The entry or revision was not found in the repository&amp;#8221;.&lt;/p&gt;
&lt;p&gt;At first I assumed something like SELinux was blocking it, but the issue was still there after setting SELinux to Permissive.&lt;/p&gt;
&lt;p&gt;I did some log searching and found a lot of:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;fatal: Not a git repository: &amp;#8216;/var/lib/gitosis/repositories/PROJECT.git&amp;#8217;&lt;/p&gt;
&lt;p&gt;fatal: Not a git repository: &amp;#8216;/var/lib/gitosis/repositories/PROJECT.git&amp;#8217;&lt;/p&gt;
&lt;p&gt;fatal: Not a git repository: &amp;#8216;/var/lib/gitosis/repositories/PROJECT.git&amp;#8217;&lt;/p&gt;
&lt;p&gt;fatal: Not a git repository: &amp;#8216;/var/lib/gitosis/repositories/PROJECT.git&amp;#8217;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;br/&gt;After doing lots of research, I realized that Passenger doesn&amp;#8217;t necessarily run as the &amp;#8216;apache&amp;#8217; user. I gave &amp;#8216;apache&amp;#8217; permissions to the repo, but it turns out that Passenger runs as whatever user config/environment.rb belongs to.&lt;br/&gt;Well this wasn&amp;#8217;t good for my setup, but luckily all I had to do was force Passenger to run as the apache user.&lt;br/&gt;My Redmine virtualhost block now looks like this:&lt;/p&gt;

&lt;pre&gt;&amp;lt;VirtualHost *:80&amp;gt;
 ServerName redmine.myproject.org
 DocumentRoot /srv/web/redmine/public
 RailsEnv production
 PassengerUser apache
&amp;lt;/VirtualHost&amp;gt;
&lt;/pre&gt;</description><link>http://rickyelrod.tumblr.com/post/12412035967</link><guid>http://rickyelrod.tumblr.com/post/12412035967</guid><pubDate>Sun, 06 Nov 2011 05:04:00 -0500</pubDate><category>fedora</category><category>rails</category><category>ruby</category><category>redmine</category></item><item><title>Back on Fedora Planet</title><description>&lt;p&gt;This is a test, but I&amp;#8217;m adding my new Tumblr blog back to Fedora Planet now. Posts tagged with #fedora will appear in Planet.&lt;/p&gt;</description><link>http://rickyelrod.tumblr.com/post/12108256529</link><guid>http://rickyelrod.tumblr.com/post/12108256529</guid><pubDate>Sun, 30 Oct 2011 03:58:52 -0400</pubDate><category>fedora</category></item></channel></rss>

