Skip to content

Instantly share code, notes, and snippets.

/* equal heights ------------ */
(function($) {
$.fn.equalHeights = function(minHeight, maxHeight) {
tallest = (minHeight) ? minHeight : 0;
this.each(function() {
if($(this).height() > tallest) {
tallest = $(this).height();
}
});
if((maxHeight) && tallest > maxHeight) tallest = maxHeight;
~/Workspace/lbpk/community  where
allans_lbpk
* lbpk
master
remotes/origin/HEAD -> origin/master
remotes/origin/lbpk
remotes/origin/lbpk_ui
remotes/origin/master
remotes/origin/serverctl
~/Workspace/lbpk/community  git commit -m 'merge conflict (git was complaining about divergence and rebasing and I didn't want to take any chances so I created a new branch based on my diverged lbpk branch, and named it allans_lbpk. Then I merged allans_lbpk into emanuele's lbpk. Will delete allans_lbpk after this merge)'
@AllanD
AllanD / gist:1672495
Created January 24, 2012 20:49
just replace the leaderboard_box_content block
<div class="pngfix" id="leaderboard_box_content">
<style>
.leaderboard_matrix {
width: 790px; margin: 0 auto; padding: 10px; background: rgba(0,0,0,0.2); border-radius: 15px}
.leaderboard_matrix img {
float: left;
margin: 15px;
/************ GENERAL ************/
body {
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
color: #555555;
background: #343434;
font-size: 14px;
}
.pageWrapper,
.footerWrapper {
/*min-width: 960px; correct width*/
~/Workspace/mlb11site  passenger start
=============== Phusion Passenger Standalone web server started ===============
PID file: /Users/alland/Workspace/mlb11site/tmp/pids/passenger.3000.pid
Log file: /Users/alland/Workspace/mlb11site/log/passenger.3000.log
Environment: development
Accessible via: http://0.0.0.0:3000/
You can stop Phusion Passenger Standalone by pressing Ctrl-C.
===============================================================================
NOTE: Gem.available? is deprecated, use Specification::find_by_name. It will be removed on or after 2011-11-01.
[adelacruz@pdsd65-31-6 modnation_community (master)]$ bundle update
Fetching source index for http://rubygems.org/
Using rake (0.9.2.2)
Using abstract (1.0.0)
Using activesupport (2.3.5)
Using rack (1.0.1)
Using actionpack (2.3.5)
Using actionmailer (2.3.5)
Using activerecord (2.3.5)
Using activeresource (2.3.5)
~/Workspace/lunchmoney  env ARCHFLAGS="-arch x86_64" gem install --no-ri --no-rdoc pg
Fetching: pg-0.11.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed pg-0.11.0
1 gem installed
~/Workspace/lunchmoney  bundle install
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Using abstract (1.0.0)
Using activesupport (3.0.7)
~/Workspace/lunchmoney  rake db:create db:migrate db:initialize_defaults
Could not find pg-0.10.0 in any of the sources
Run `bundle install` to install missing gems.
~/Workspace/lunchmoney 
~/Workspace/lunchmoney  bundle install
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Using abstract (1.0.0)
Using activesupport (3.0.7)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.7)
Using erubis (2.6.6)
Using rack (1.2.1)
/  brew install git
==> Downloading http://kernel.org/pub/software/scm/git/git-1.7.6.tar.bz2
File already downloaded in /Users/alland/Library/Caches/Homebrew
==> make prefix=/usr/local/Cellar/git/1.7.6 install
==> Downloading http://kernel.org/pub/software/scm/git/git-manpages-1.7.6.tar.bz2
######################################################################## 100.0%
==> Downloading http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.6.tar.bz2
######################################################################## 100.0%
==> Caveats
Bash completion has been installed to: