Skip to content

Instantly share code, notes, and snippets.

Last login: Tue Sep 15 14:06:15 on ttys002
You have mail.
Garrett~> ping litmusapp.com
PING litmusapp.com (209.20.90.228): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
West
- Region 1
- Region 2
- Region 3
Midwest
- Region 1
- Region 2
- Region 3
public function storesAction()
{
$this->view->headTitle("Stores");
$model = new Default_Model_Stores();
$select = $model->select();
$select->from($model, array("Stores.region", "GROUP_CONCAT(Stores.title) AS `titles`"))->group("region");
$stores = $model->fetchAll($select);
$this->view->stores = $stores;
= nav.ini
[main]
home.label = "Home"
home.controller = "index"
home.route = "default"
;Company
company.label = "Company"
company.controller = "company"
company.route = "default"
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `elastic_working2`.`view_skus` AS select `elastic_working2`.`clients`.`name` AS `client`,`elastic_working2`.`products`.`name` AS `name`,`elastic_working2`.`products`.`num` AS `product_num`,`elastic_working2`.`products`.`weight` AS `weight`,`elastic_working2`.`products`.`sex` AS `sex`,`elastic_working2`.`products`.`about` AS `about`,`elastic_working2`.`product_colors`.`name` AS `product_color`,`elastic_working2`.`product_sizes`.`name` AS `size`,`elastic_working2`.`product_skus`.`sku` AS `sku`,`elastic_working2`.`products`.`id` AS `product_id`,`elastic_working2`.`product_skus`.`id` AS `product_sku_id` from ((((((`elastic_working2`.`products` join `elastic_working2`.`product_skus` on((`elastic_working2`.`product_skus`.`product_id` = `elastic_working2`.`products`.`id`))) join `elastic_working2`.`product_colors` on((`elastic_working2`.`product_colors`.`id` = `elastic_working2`.`product_skus`.`product_color_id`))) join `elastic_working2
From: "Melia, Sean" <[email protected]>
Date: October 1, 2009 12:54:02 PM PDT
To: App Store Notices <[email protected]>
Subject: Libretto - Lyric Finder Unlicensed Lyrics App
To Whom It May Concern:
Sony/ATV Music Publishing (“SATV”) is one of the world’s largest music publishers which owns and controls
hundreds of thousands of copyrights including songs made famous by such superstar artists as The Beatles,
Lady Gaga, Colbie Caillat, the Jonas Brothers, Brooks & Dunn, Leonard Cohen, Neil Diamond, Fall Out Boy,
def parse_lyrics(string)
string.gsub(/<div class="lyricbox">/, '').gsub(/<\/div>/, '').gsub(/<p>/, '').gsub(/<\/p>/, '').gsub(/<br>/, "\n").gsub(/<\/?[^>]*>/, '').gsub(/Send "(.*)" Ringtone to your Cell/, '').lstrip.rstrip
end
class LyricsController < ApplicationController
def find
already_have = Song.find_by_song_and_artist(params[:song], params[:artist])
unless already_have.nil?
logger.info "Already has #{params[:song]} by #{params[:artist]}"
already_have.increment!(:total_plays)
render :text => already_have.lyrics, :content_type => "text/text"
else
require 'open-uri'
To whom it may concern,
My name is Jake Bellacera, I am 18 years old and I currently attend Sierra College in Rocklin. I have been visiting your company's
website (http://bkwld.com/) every now and then for the past few months and flipping through your gallery; it all seems like very
high-quality work, something I would like to be a part of. I am not looking for a full-time job at this moment due to my classes
but I am available every Monday, Wednesday and Friday with my own vehicle for commuting down to Sacramento.
As for what I have to offer, I know semantic and valid XHTML/CSS, slicing websites in Photoshop and a brief amount of PHP(Zend)/MySQL.
My current job is a web developer position but I feel that it is not challenging enough and I would love to be a part of your team so I could
learn new skills and improve on what I already know.
>> require 'rubygems'
=> false
>> require 'active_merchant'
NameError: uninitialized constant ActiveMerchant::Validateable::HashWithIndifferentAccess
from /Library/Ruby/Gems/1.8/gems/activemerchant-1.4.2/lib/active_merchant/lib/validateable.rb:31
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /Library/Ruby/Gems/1.8/gems/activemerchant-1.4.2/lib/active_merchant.rb:51
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'