Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| # frozen_string_literal: true | |
| # config/initializers/pry.rb | |
| old_prompt = Pry.config.prompt | |
| env = case Rails.env | |
| when "production" then Pry::Helpers::Text.red(Rails.env.upcase) | |
| when "staging" then Pry::Helpers::Text.yellow(Rails.env.upcase) | |
| when "development" then Pry::Helpers::Text.green(Rails.env.upcase) | |
| when "test" then Pry::Helpers::Text.blue(Rails.env.upcase) |
I hereby claim:
To claim this, I am signing this object: