Anil Wadghule anildigital

View config
1 2 3
Host 35
ProxyCommand ssh near_ip nc distant_ip 22
User admin
View rubymotion_update.sh
1 2 3 4 5 6 7 8 9 10
anil.wadghule@Anil-Wadghule-Mac ~/Code/rubymotion/RubyMotionSamples/HelloGL[master]
jruby-1.6.7@sidekiq λ sudo motion update
Password:
Connecting to the server...
Downloading software update...
######################################################################## 100.0%
Installing software update...
Software update installed.
 
= RubyMotion 1.3 =
View newrelic.rb
1 2 3 4 5 6
# Set this to start newrelic for war based app
# put this in config/initializers folder
 
ENV['NEWRELIC_DISPATCHER'] = 'tomcat'
NewRelic::Agent.manual_start
ENV['NEWRELIC_ENABLE'] = "true"
View 0_Gemfile.rb
1 2 3 4 5 6 7 8 9 10
source 'https://rubygems.org'
 
gem 'rails', '3.2.3'
# ...
 
platforms :jruby do
gem 'trinidad', '~> 1.3', :require => false
gem 'jruby-rack', '1.1.1', :require => false # trinidad dep
gem 'trinidad_logging_extension', :require => false
end
View Gemfile
1 2 3 4 5 6 7 8 9 10
group :assets do
#gem 'sass-rails', '~> 3.1.4'
#gem 'coffee-rails', '~> 3.1.1'
#gem 'uglifier', '>= 1.0.3'
gem 'less', :git => 'git://github.com/kares/less.rb.git', :submodules => true
gem 'less-rails', '>= 2.2.1'
gem 'less-rails-bootstrap' # optional
gem 'therubyracer', :platforms => :ruby
View a.txt
1 2
jruby-1.6.5 :024 > Java::OrgJrubyProf::JRubyProf.methods
=> ["running", "isRunning", "startTracing", "before", "java_send", "stopTracing", "running?", "is_running", "java_method", "is_running?", "start_tracing", "stop_tracing", "after", "inherited", "registerNatives", "register_natives", "new", "singleton_class", "java_class", "[]", "field_accessor", "field_writer", "java_class=", "field_reader", "method_added", "yaml_tag_subclasses?", "inheritable_attributes", "cattr_reader", "descendants", "class_inheritable_hash_writer", "json_creatable?", "subclasses", "class_inheritable_accessor", "class_inheritable_writer", "extlib_inheritable_reader", "class_inheritable_array", "to_yaml", "read_inheritable_attribute", "class_inheritable_array_writer", "cattr_accessor", "allocate", "duplicable?", "class_inheritable_reader", "class_attribute", "class_inheritable_hash", "superclass", "superclass_delegating_accessor", "extlib_inheritable_accessor", "write_inheritable_hash", "reset_inheritable_attributes", "write_inheritab
View possible_alternatives.txt
1 2 3
λ gem install capistrano_tomcat
ERROR: Could not find a valid gem 'capistrano_tomcat' (>= 0) in any repository
ERROR: Possible alternatives: capistrano-tomcat, capistrano_colors, capistrano_kvm_git, CapistranoTrac, capistrano-boss
View application.rb
1 2 3 4 5 6 7 8 9 10
# Please add the following lines after Bundler.require
# and before "class Application < Rails::Application"
# in your config/application.rb
#
# Notice this is just an experiment, don't leave those
# lines there after the experiment. Then please benchmark
# your app boot time in development before and after adding
# those lines. A simple benchmark is:
#
# time script/rails runner "MODEL"
View ctags
1
ctags -e -a --Ruby-kinds=-f -o TAGS -R .
View gist:1245371
1
ctags -e -a --Ruby-kinds=-f -o TAGS -R .
Something went wrong with that request. Please try again.