This file contains 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
set :user, 'root' | |
set :password, '' | |
ssh_options[:keys] = ["#{ENV['HOME']}/.ssh/id_rsa-lingfling-keypair"] | |
role :app, 'ec2-67-202-52-210.compute-1.amazonaws.com', :primary => true |
This file contains 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="login_form"><div id="login_form_inner"> | |
<img src="../images/credit_cards_48.png" alt="image" width="48" height="48" class="lockimg" /> | |
<div id="login_form_items"> | |
<% if @subscription %> | |
<h2><input type="radio" name="paypal" value=" " <%= 'checked="checked"' unless @subscription.paypal? %>> Pay with a credit card</h2> | |
<% end %> | |
<p> | |
<label>Name on Card</label><br /> |
This file contains 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
<?php | |
require_once 'MDB2.php'; | |
$dsn = 'mysql://victoryfund:pixeltal@localhost/victoryfund' | |
//$dsn = 'mysql://[email protected]/vfmaps'; | |
$sql = "CREATE TABLE `geocoded_entries` ( | |
`id` int(50) NOT NULL auto_increment, | |
`first_name` varchar(50) default NULL, | |
`last_name` varchar(50) default NULL, |
This file contains 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 blissdev.com | |
"hi there" | |
end |
This file contains 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
SOAP::FaultError: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. | |
at PayloadzWS.TransactionCreation(String APIUserName, String APIUserPassword, String APISignature, String[] item_number, String[] item_name, Double[] item_price, Int32[] quantity, Double mc_gross, String mc_currency, String payer_email, Boolean flag_txn_id, String txn_id, String business, Double mc_fee, String invoice, String receipt_id, String custom, Double settle_amount, String settle_currency, Double exchange_rate, String first_name, String last_name, String address_street, String address_status, String address_city, String address_state, String address_zip, String address_country, String address_country_code) | |
--- End of inner exception stack trace --- | |
from #<SOAP::Mapping::Object:0x1a3b17c> |
This file contains 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
cap staging backup:production_files | |
* executing `staging' | |
* executing `backup:production_files' | |
Rsynching assets from production to staging! | |
Ready to rsync /data/stylepath/shared/web | |
* executing "time rsync --archive --stats --delete -e 'ssh -i .ssh/rsync_key' ey01-s00168:/data/stylepath/shared/web/ /data/stylepath/shared/web" | |
servers: ["65.74.139.2"] | |
[65.74.139.2:8199] executing command | |
** [out :: 65.74.139.2:8199] | |
** [out :: 65.74.139.2:8199] Number of files: 78 |
This file contains 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
~/code/stylepath $ cap staging deploy:short | |
* executing `staging' | |
* executing `deploy:short' | |
** transaction: start | |
* executing `deploy:update_code' | |
executing locally: "svn info http://agileconsultingllc.com/svn/stylepath/trunk --username stylepath --password poiu7y --no-auth-cache -rHEAD" | |
* executing "svn export -q --username stylepath --password poiu7y --no-auth-cache -r1924 http://agileconsultingllc.com/svn/stylepath/trunk /data/stylepath/releases/20090415133654 && (echo 1924 > /data/stylepath/releases/20090415133654/REVISION)" | |
servers: ["65.74.139.2"] | |
[65.74.139.2:8199] executing command | |
*** [deploy:update_code] rolling back |
This file contains 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
RuntimeError: cannot generate tempfile `/var/www/spektrum/releases/20090518203719/tmp/attachment_fu/112301829508_prison_song24653-9.mp3' | |
from /usr/lib/ruby/1.8/tempfile.rb:46:in `initialize' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:234:in `new' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:234:in `copy_to_temp_file' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:377:in `copy_to_temp_file' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:362:in `temp_paths' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:355:in `temp_path' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:314:in `save_attachment?' | |
from /var/www/spektrum/releases/2 |
This file contains 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
RuntimeError: cannot generate tempfile `/var/www/spektrum/releases/20090518203719/tmp/attachment_fu/112301829508_prison_song24653-9.mp3' | |
from /usr/lib/ruby/1.8/tempfile.rb:46:in `initialize' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:234:in `new' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:234:in `copy_to_temp_file' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:377:in `copy_to_temp_file' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:362:in `temp_paths' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:355:in `temp_path' | |
from /var/www/spektrum/releases/20090518203719/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:314:in `save_attachment?' | |
from /var/www/spektrum/releases/2 |
This file contains 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
>> pp AlbumItem.find(:all, :conditions => { :payloadz_item_number => nil }).map{ |i| i.album_item_file } | |
[#<AlbumItemFile id: 22, album_item_id: 20, parent_id: nil, content_type: "audio/mp3", filename: "09_WHO_BETTER_THAN_NERO.mp3", thumbnail: nil, size: 2757537, width: nil, height: nil, created_at: "2009-03-03 21:47:09", updated_at: "2009-03-03 21:47:09">, | |
#<AlbumItemFile id: 24, album_item_id: 22, parent_id: nil, content_type: "audio/mp3", filename: "09_WHO_BETTER_THAN_NERO.mp3", thumbnail: nil, size: 2757537, width: nil, height: nil, created_at: "2009-03-03 21:56:01", updated_at: "2009-03-03 21:56:01">, | |
#<AlbumItemFile id: 28, album_item_id: 26, parent_id: nil, content_type: "audio/x-ms-wma", filename: "03_01_Track_1.wma", thumbnail: nil, size: 3349689, width: nil, height: nil, created_at: "2009-03-03 22:16:34", updated_at: "2009-03-03 22:16:34">, | |
#<AlbumItemFile id: 33, album_item_id: 31, parent_id: nil, content_type: "audio/x-ms-wma", filename: "09_Track_9.wma", thumbnail: nil, size: 4863224, width: n |
OlderNewer