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| class User < ActiveRecord::Base | |
| # ... lots of persistence stuff | |
| end | |
| class GitHubUserProvisioner < SimpleDelegator | |
| def provision_with!(user_info, extra_user_hash) | |
| self.github_login = extra_user_hash['login'] | |
| self.name = user_info['name'] | |
| self.email = user_info['email'] | |
| self.github_url = user_info['urls']['GitHub'] |