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 8000| require 'uri' | |
| require 'net/http' | |
| require 'openssl' | |
| require 'json' | |
| class EasyBrokerIntegration | |
| attr_accessor :endpoint | |
| API_ENDPOINT = "https://api.stagingeb.com/v1/properties?page=1&limit=50".freeze | |
| def initialize | |
| @properties = [] |
| class BankTransfer | |
| # Parser Module | |
| module Parser | |
| # Active Record Data | |
| class ActiveRecordData | |
| def initialize(data, config) | |
| @data = data | |
| @config = config | |
| end |
| daemon off; | |
| worker_processes 4; | |
| events { | |
| use epoll; | |
| accept_mutex on; | |
| multi_accept on; | |
| worker_connections 1024; | |
| } |
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 8000