Skip to content

Commit

Permalink
my christmas appeal
Browse files Browse the repository at this point in the history
merry christmas everybody

*  ❄     * ❄      *
       *      ❄ .  
   *  ❄    * .  ❄   
❄        *      ❄
_____________☃_____
  • Loading branch information
schacon committed Dec 17, 2010
1 parent 330ca72 commit 813b98f
Show file tree
Hide file tree
Showing 7 changed files with 108 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class ApplicationController < ActionController::Base

# See ActionController::RequestForgeryProtection for details
# Uncomment the :secret if you're not using the cookie session store
protect_from_forgery # :secret => 'ec6887d994046a0f3b66314a7ed3d91a'
# protect_from_forgery # :secret => 'ec6887d994046a0f3b66314a7ed3d91a'

# See ActionController::Base for details
# Uncomment this to filter the contents of submitted sensitive data parameters
Expand Down
73 changes: 73 additions & 0 deletions app/views/page/appeal.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<div class="span-7">
<center>
<img src="/images/chaconbig.png"/>
<br/>
<br/>
<h3>Donate to Git Now!</h3>

<script type="text/javascript">
function validateAmount(amount){
if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
return true;
}else{
alert('You must enter a valid donation.');
amount.focus();
return false;
}
}
</script>
<form action="https://checkout.google.com/cws/v2/Donations/622836985124940/checkoutForm" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" onSubmit="return validateAmount(this.item_price_1)" target="_top">
<input name="item_name_1" type="hidden" value="Git Donation via Software Freedom Conservancy"/>
<input name="item_description_1" type="hidden" value="Donation to the Git Project via the Software Freedom Conservancy."/>
<input name="item_quantity_1" type="hidden" value="1"/>
<input name="item_currency_1" type="hidden" value="USD"/>
<input name="item_is_modifiable_1" type="hidden" value="true"/>
<input name="item_min_price_1" type="hidden" value="5.0"/>
<input name="item_max_price_1" type="hidden" value="25000.0"/>
<input name="_charset_" type="hidden" value="utf-8"/>
<table cellpadding="5" cellspacing="0" width="1%">
<tr>
<td align="right" nowrap="nowrap" width="1%">&#x24; <input id="item_price_1" name="item_price_1" onfocus="this.style.color='black'; this.value='';" size="11" style="color:grey;" type="text" value="Enter Amount"/>
</td>
<td align="left" width="1%">
<input alt="Donate" src="https://checkout.google.com/buttons/donateNow.gif?merchant_id=622836985124940&amp;w=115&amp;h=50&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/>
</td>
</tr>
</table>
</form>

<p>A temple for the mind, people.</p>
</center>
</div>

<div class="span-14 last">
<h3 class="title">From git-scm.com Maintainer Scott Chacon</h3>
<p>If everyone reading this donated a hundred and twelve dollars, our annual fundraiser would be over in just a few months.
Not everyone can or will donate. And that’s fine, because each year just enough people support git-scm.com with a small donation. If you feel it's your turn, and you know it is, please make a small donation of $112, $227, $305 or whatever you can to keep git-scm.com free.</p>

<p>Most people don't know this, but I'm a volunteer. A classy, classy volunteer.</p>

<p>I don't get paid a cent for my work at git-scm.com, and neither do the thousands of Git project developers. The hosting of this incredibly high-traffic site costs in the millions of dollars a year. Recently, I have been approached by Oracle to buy the site and all the IP associated with it. They've promised me that they'll hold it benevolently.</p>

<p>Commerce is fine. Oracle may or may not be evil. But it doesn't belong here. Not in git-scm.com.</p>

<p>git-scm.com is something special. It is like a library, a public park or an extremely high-end brothel. It is like a temple for the mind. <strong>A <em>temple for the mind</em>, people.</strong> It is a place we can all go to think, to learn, to share our distributed code with others. It is a unique human project, the first<em>-ish</em> of its kind in history. It is a humanitarian project to bring a free distributed source code version control system to every single person on the planet. Twice.</p>

<p>Every single person.</p>

<p>Twice.</p>

<p>We're a small organization, and I've worked hard over the years to keep us lean and tight. Especially in the abdominals.</p>

<p>To do this without resorting to advertising, we need you. It is you who keep this dream alive. It is you who have created git-scm.com. It is you who believe that a place of calm reflection, distributed source control and learning is worth having.</p>

<p>This year, please consider making a donation to protect and sustain git-scm.com and the Git project.</p>

<p>Thanks,<br/>
Scott "Dragon" Chacon<br/>
git-scm.com Maintainer</p>

<div class="humourless">
This page is <a href="http://wikimediafoundation.org/wiki/WMFJA032/en/US">a parody</a>. Donations made will actually go to the <a href="/sfc">Git project</a> under the <a href="http://sfconservancy.org/news/2010/dec/16/git-joins/">Software Freedom Conservancy</a>.
</div>
</div>
16 changes: 16 additions & 0 deletions app/views/page/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
<div class="span-21 appeal">
<table>
<tr><td>
<img height="80px" src="images/chacon.png"/>
</td><td>
<form method="POST" action="/appeal">
Please read: An urgent appeal from git-scm.com maintainer Scott Chacon
<input type="submit" value="Read Now"/>
</form>
</td></tr>
</table>
</div>

<br style="clear:both;" />
<br style="clear:both;" />

<div class="span-9">
<div id="git-is">
<h3>Git is...</h3>
Expand Down
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
page.about 'download', :action => 'download'
page.about 'tools', :action => 'tools'
page.about 'sfc', :action => 'sfc'
page.about 'appeal', :action => 'appeal'
end

map.with_options :controller => 'course' do |page|
Expand Down
Binary file added public/images/chacon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/chaconbig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,20 @@ table.videos td { width:25%;}
#sfc-footer a {
color: #350;
}
.appeal {
border: 2px solid #350;
background: #eee;
color: #350;
font-size: 30px;
font-weight: bold;
max-height: 95px;
margin-bottom: 30px;
}
.humourless {
font-size: 10px;
background: #eee;
color: #777;
}
.humourless a {
color: #555;
}

0 comments on commit 813b98f

Please sign in to comment.