Skip to content

Instantly share code, notes, and snippets.

View ArionHardison's full-sized avatar
🏠
Working from home

HIM ArionHardison

🏠
Working from home
  • Hardison Co.
  • Los Angeles, CA
  • 03:25 (UTC -12:00)
View GitHub Profile
# package for trees
library(rpart)
# package including data from Elements of Statistical Learning
library(ElemStatLearn)
ArgumentError (invalid byte sequence in US-ASCII):
better_errors (0.3.2) lib/better_errors/stack_frame.rb:19:in `from_exception'
better_errors (0.3.2) lib/better_errors/error_page.rb:52:in `backtrace_frames'
better_errors (0.3.2) lib/better_errors/middleware.rb:74:in `log_exception'
better_errors (0.3.2) lib/better_errors/middleware.rb:54:in `rescue in app_call'
better_errors (0.3.2) lib/better_errors/middleware.rb:51:in `app_call'
better_errors (0.3.2) lib/better_errors/middleware.rb:45:in `call'
sass (3.2.5) lib/sass/plugin/rack.rb:54:in `call'
warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
warden (1.2.1) lib/warden/manager.rb:34:in `catch'
= form_for(@contact, :validate => true) do |f|
= f.hidden_field :phone_book_id, :value => @contact.phone_book.blank? ? current_user.phone_book.id : @contact.phone_book.id
.flds
.label-field= f.label :name, :class => "label-field"
.input-field= f.text_field :name , :class => "text-field medium-field"
.clear{:style => "height: 10px;"}
.flds
.label-field= f.label :phone_number, :class => "label-field"
.input-field= f.text_field :phone_number , :class => "text-field medium-field"
.clear{:style => "height: 10px;"}
:css
.amt, .exp{
border: 1px solid #e8e8e8;
padding: 5px;}
- @order = Order.new
= form_for @order, :remote => true, html: { class: 'form-horizontal well' } do |f|
- if @order.errors.any?
.error_messages
%h2
bf7&ToState=CA&To=%2B14156399957&ToCountry=US&FromCountry=US&SmsMessageSid=SMc00387cb93bbe6e0aadeb3899dd3dbf7&ApiVersion=2010-04-01&FromCity=SAN+FRANCISCO&SmsStatus=received&From=%2B14152795150&FromZip=94949" for 23.22.119.166 at 2012-12-07 09:12:43 +0000
2012-12-07T09:12:43+00:00 app[web.1]: Sms arrived!! Body: call @j from +14152795150
2012-12-07T09:12:43+00:00 app[web.1]: Recipient for call: @j
2012-12-07T09:12:45+00:00 app[web.1]:
2012-12-07T09:12:45+00:00 app[web.1]: RuntimeError (No caller found. Invalid proxy number or no number in system.):
2012-12-07T09:12:45+00:00 app[web.1]: lib/sms_commands.rb:15:in `initialize'
2012-12-07T09:12:45+00:00 app[web.1]: app/models/meeting_manager.rb:144:in `new'
2012-12-07T09:12:45+00:00 app[web.1]: app/models/meeting_manager.rb:144:in `gen_incoming_sms_response'
2012-12-07T09:12:45+00:00 app[web.1]: app/models/meeting_manager.rb:120:in `gen_incoming_response'
2012-12-07T09:12:45+00:00 app[web.1]: app/controllers/twilio_controller.rb:25:in `index'
#######################################################################################################
############################################## Google maps ##########################################
#######################################################################################################
class @Gmaps4RailsGoogle extends Gmaps4Rails
constructor: ->
super
#Map settings
@map_options =
source 'http://railskits.com/gems/346f847f-17aa-a61c-2a1c-5b88d306fb88'
source 'http://rubygems.org'
gem 'rails', "3.2.8"
gem 'jquery-rails'
gem "pg"
gem "airbrake" # exception reporting
gem "inherited_resources"
gem "will_paginate"
gem "haml-rails"
Arions-MacBook-Air:dietmanager hustlezen$ rake db:seed
Unable to read configuration file: undefined method `[]' for false:FalseClass
"seeding..."
"from SAAS..."
rake aborted!
undefined method `trial_interval' for #<SubscriptionPlan:0x007fef84267b38>
Tasks: TOP => db:seed
(See full trace by running task with --trace)
Arions-MacBook-Air:dietmanager hustlezen$ rake db:seed --trace
Tasks: TOP => saas:bootstrap
(See full trace by running task with --trace)
Arions-MacBook-Air:dietmanager hustlezen$ rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
Unable to read configuration file: undefined method `[]' for false:FalseClass
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
2012-10-10T16:43:37+00:00 heroku[nginx]: 127.0.0.1 - - [10/Oct/2012:16:43:37 +0000] "GET /assets/6fa1ddb1b86aa2506bcf8c27551448db.jpg HTTP/1.0" 404 1356 "https://setatimetotalk.com/feed/followers" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4" setatimetotalk.com
2012-10-10T16:43:37+00:00 heroku[router]: GET setatimetotalk.com/assets/6fa1ddb1b86aa2506bcf8c27551448db.jpg dyno=web.1 queue=0 wait=4ms service=25ms status=404 bytes=1356
2012-10-10T16:43:37+00:00 heroku[nginx]: 24.43.144.58 - - [10/Oct/2012:16:43:37 +0000] "GET /assets/6fa1ddb1b86aa2506bcf8c27551448db.jpg HTTP/1.1" 404 793 "https://setatimetotalk.com/feed/followers" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.79 Safari/537.4" setatimetotalk.com
2012-10-10T16:43:39+00:00 heroku[nginx]: 24.43.144.58 - - [10/Oct/2012:16:43:39 +0000] "GET /assets/icons/gray/[email protected] HTTP/1.1" 200 2049 "https://setatimetotalk.com/feed