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
Running: rake assets:precompile | |
/tmp/build_dc615fe615f97f62db3db3f1591b612a/config/initializers/smtp.rb:2: warning: already initialized constant SMTP_SETTINGS | |
/tmp/build_dc615fe615f97f62db3db3f1591b612a/config/initializers/smtp.rb:2: warning: previous definition of SMTP_SETTINGS was here | |
AssetSync: using /tmp/build_dc615fe615f97f62db3db3f1591b612a/config/initializers/asset_sync.rb | |
AssetSync: Syncing. | |
Using: Directory Search of /tmp/build_dc615fe615f97f62db3db3f1591b612a/public/assets | |
Ignoring: assets/marketing_b-54a4fcf2075d4fcebbe023570c0b46eb.css.gz | |
Ignoring: assets/marketing_b-7f3315dffda52df9e12fd9ad8f533c74.css.gz | |
Ignoring: assets/marketing_a-08a8d1edb69bd6301e92109e630ce5bf.css.gz | |
Ignoring: assets/application-f4d076cbc51732adde9416f7d5aca469.js.gz |
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
21:40:59.077 [info] Started MongoService | |
21:40:59.077 [info] Started populating Urls | |
=INFO REPORT==== 22-Dec-2014::21:41:00 === | |
application: logger | |
exited: stopped | |
type: temporary | |
=INFO REPORT==== 22-Dec-2014::21:41:00 === |
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
class EnrollmentsController < ApplicationController | |
def create | |
enrollment_creator = EnrollmentCreator.new(enrollment_params) | |
success = enrollment_creator.save | |
authorize enrollment_creator.enrollment | |
redirect_to programs_url | |
end | |
private |
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
namespace :mirror do | |
desc "Mirror production database" | |
task :production do | |
app = "skilledup-academy-staging" | |
production_database = "skilledup-academy-production::DATABASE_URL" | |
heroku_command("pg:reset DATABASE_URL", app) | |
transfer_database("#{production_database} DATABASE_URL", app) | |
heroku_command("run rake db:migrate", app) | |
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
class MyStack | |
def initialize | |
@array = Array.new() | |
end | |
def size | |
@array.size | |
end | |
def push(input) |
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
"tab mappings | |
map <D-1> 1gt | |
map <D-2> 2gt | |
map <D-3> 3gt | |
map <D-4> 4gt | |
map <D-5> 5gt | |
map <D-6> 6gt | |
map <D-7> 7gt | |
map <D-8> 8gt |
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
[Jonathan]: jruby -Xbacktrace.style=raw -e "require 'openssl'" [~/src/tradeup]:feature/new_scraper | |
OpenSSL::X509::StoreError: setting default path failed: problem creating X509 Aux certificate: java.io.IOException: problem parsing cert: java.security.cert.CertificateParsingException: java.io.IOException: Duplicate extensions not allowed | |
getStackTrace at java/lang/Thread.java:1503 | |
getBacktraceData at org/jruby/runtime/backtrace/TraceType.java:175 | |
getBacktrace at org/jruby/runtime/backtrace/TraceType.java:39 | |
prepareBacktrace at org/jruby/RubyException.java:224 | |
preRaise at org/jruby/exceptions/RaiseException.java:212 | |
preRaise at org/jruby/exceptions/RaiseException.java:193 | |
<init> at org/jruby/exceptions/RaiseException.java:110 | |
raise at org/jruby/ext/openssl/X509Store.java:90 |
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
`adb kill-server` | |
`adb start-server` | |
path = '/Users/Jonathan/Downloads/apk/' | |
Dir.foreach(path) do |file| | |
file = File.basename(file,".*") | |
puts file | |
`adb install #{path + file} > output.txt` | |
`adb shell monkey -p #{file} -v 500 > output.txt` | |
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
2013-04-07T21:29:04+00:00 app[web.1]: Started POST "/store/user" for 98.220.237.178 at 2013-04-07 21:29:04 +0000 | |
2013-04-07T21:29:04+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/store/user"): | |
2013-04-07T21:29:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' |
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
2013-04-02T19:50:31+00:00 app[web.1]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"ew50g1alr/1lZJCMcSuYq7Ux0QLJpWYFLTjSDnaKpR0=", "course"=>{" | |
name"=>"asdf", "credit"=>"3", "avatar"=>#<ActionDispatch::Http::UploadedFile:0x000000054f3710 @original_filename="Todd -- Feedback.rtf", @content_type="text/rtf", @headers="Content-Disposition: form-data; name=\"course[avatar]\"; filename=\"Todd -- Feedback.rtf\"\r\nContent-Type: text/rtf\r\n", @tempfile=#<File:/tmp/RackMultipart20130402-2-1t1dnpj>>, "distro"=>"Auditing and Accounting"}, "commit"=>"Save"} | |
2013-04-02T19:50:31+00:00 app[web.1]: [paperclip] Saving attachments. | |
2013-04-02T19:50:31+00:00 app[web.1]: Redirected to http://www.mylicensebuddy.com/ | |
2013-04-02T19:50:31+00:00 app[web.1]: Completed 302 Found in 25ms (ActiveRecord: 16.9ms) | |
2013-04-02T19:50:18+00:00 heroku[router]: at=info method=GET path=/ host=www.mylicensebuddy.com fwd="165.124.215.179" dyno=web.1 connect=11ms service=69ms status=200 bytes=9813 | |
2013-04-02T19:50:31+00:00 heroku[router]: at=in |
NewerOlder