This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="top_ten" class="widget"> | |
| <h3 class="sifrdboldgray">Top 10</h3> | |
| <ol> | |
| <% playlist.listings.each_with_index do |listing, i| -%> | |
| <% if i < show %> | |
| <li> | |
| <p class="track_title"><%= truncate(listing.composition.title,20,"...") %></p> | |
| <a class="sm2_link" href="<%= listing.composition.preview_url %>"><span class="hide_me">Preview</span> </a> | |
| <p class="artist_name"><%= !listing.composition.producer_name.blank? ? truncate(listing.composition.producer_name,20,"...") : "No artist listed" %></p> | |
| <%#= link_to_function(image_tag("icon_load_in_player.png", :alt => "Add to Playlist",:title => "Add to Playlist"), "addCompositionToPlayerPlaylist(#{listing.composition.id})") %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def days_count(adbuy) | |
| date1 = adbuy.enddate | |
| date2 = adbuy.startdate | |
| "#{date1-date2} days total" | |
| end | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Soho:~ jathayde$ ssh -2 -v [email protected] | |
| OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006 | |
| debug1: Reading configuration data /Users/jathayde/.ssh/config | |
| debug1: Reading configuration data /etc/ssh_config | |
| debug1: Connecting to staging.resonantvibes.com [173.45.229.49] port 22. | |
| debug1: Connection established. | |
| debug1: identity file /Users/jathayde/.ssh/id_rsa type 1 | |
| debug1: identity file /Users/jathayde/.ssh/id_dsa type 2 | |
| debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3 | |
| debug1: match: OpenSSH_4.3 pat OpenSSH* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| canaveral:mkm jathayde$ rake db:bootstrap --trace | |
| (in /Users/jathayde/Sites/work/mkm) | |
| ** Invoke db:bootstrap (first_time) | |
| ** Invoke environment (first_time) | |
| ** Execute environment | |
| ** Execute db:bootstrap | |
| Loading /Users/jathayde/Sites/work/mkm/db/bootstrap/access_levels.yml | |
| Loading /Users/jathayde/Sites/work/mkm/db/bootstrap/ad_buys.yml | |
| Loading /Users/jathayde/Sites/work/mkm/db/bootstrap/advertisers.yml | |
| Loading /Users/jathayde/Sites/work/mkm/db/bootstrap/alerts.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? echo $row['mktMarket']; ?> | |
| <? | |
| $strMarketDisplay .= "<a href=\""; | |
| $strMarketDisplay .= "market_view.html?ID=" . $row['mktID'] . "&type=" . $strURLType . "&state=" . $mktStateArr[0]; | |
| $strMarketDisplay .= "\">"; | |
| $strMarketDisplay .= $row['mktMarket']; | |
| $strMarketDisplay .= "</a>"; | |
| echo $strMarketDisplay; | |
| ?><br /> |
NewerOlder