Skip to content

Instantly share code, notes, and snippets.

View mortenbagai's full-sized avatar

Morten Bagai mortenbagai

View GitHub Profile
config.action_mailer.delivery_method = :smtp
$ git push heroku master
Wed Mar 04 16:13:50 -0800 2009 heroku@akkartik.com: git-receive-pack
'furious-lightning-21.git'
Counting objects: 65, done.
Compressing objects: 100% (58/58), done.
Writing objects: 100% (65/65), 80.48 KiB, done.
Total 65 (delta 14), reused 0 (delta 0)
-----> Heroku receiving push
-----> Verifying repository integrity... done, looks like a Rails app.
dniasxnsmh=> \o users.csv
dniasxnsmh=> \f ,
Field separator is ",".
dniasxnsmh=> \t
Showing only tuples.
dniasxnsmh=> select id,email,created_at from users order by created_at desc;
tubbs:myseasonbets morten$ heroku info
=== myseasonbets
Web URL: http://myseasonbets.heroku.com/
Git Repo: git@heroku.com:myseasonbets.git
Collaborators: morten@heroku.com
tubbs:retraceable morten$ heroku console --app retraceable
API request timed out. Please try again, or contact support@heroku.com if this issue persists.
tubbs:retraceable morten$ heroku console --app retraceable
API request timed out. Please try again, or contact support@heroku.com if this issue persists.
tubbs:retraceable morten$ heroku sharing:add adam@heroku.com --app retraceable
API request timed out. Please try again, or contact support@heroku.com if this issue persists.
Counting objects: 5, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 303 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
-----> Heroku receiving push
-----> Installing gem bluecloth >=2.0.0 from http://gems.rubyforge.org
Building native extensions. This could take a while...
Successfully installed bluecloth-2.0.3
post '/press' do
digits = params[:digits]
if digits != "1"
redirect '/'
end
content_type 'text/xml', :charset => 'utf-8'
builder do |xml|
xml.instruct!
bin/migrate newfisk david.kjelkerud@gmail.com
Failed to get garden app 'newfisk'
Resource not found
/opt/local/lib/ruby/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:193:in `process_result'
/opt/local/lib/ruby/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:125:in `transmit'
/opt/local/lib/ruby/1.8/net/http.rb:543:in `start'
/opt/local/lib/ruby/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:123:in `transmit'
/opt/local/lib/ruby/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:49:in `execute_inner'
/opt/local/lib/ruby/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:39:in `execute'
/opt/local/lib/ruby/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:17:in `execute'
tubbs:garden morten$ bin/migrate newfisk david.kjelkerud@gmail.com
** App Name newfisk
** App ID 1111
** Pulling code from S3
** Untarring code tp /tmp/hg437226/
tar: Option --get is not supported
Usage:
List: tar -tf <archive-filename>
Extract: tar -xf <archive-filename>
Create: tar -cf <archive-filename> [filenames...]
$ tar --help
tar(bsdtar): manipulate archive files
First option must be a mode specifier:
-c Create -r Add/Replace -t List -u Update -x Extract
Common Options:
-b # Use # 512-byte records per I/O block
-f <filename> Location of archive
-v Verbose
-w Interactive
Create: tar -c [options] [<file> | <dir> | @<archive> | -C <dir> ]