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| # File adapted from: https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess | |
| # ------------------------------------------------------------------------------ | |
| # | File Types | | |
| # ------------------------------------------------------------------------------ | |
| # Allow access from all domains for web fonts | |
| <IfModule mod_headers.c> | |
| <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$"> |
| These two files should help you to import passwords from mac OS X keychains to 1password. | |
| Assumptions: | |
| 1) You have some experience with scripting/are a power-user. These scripts worked for me | |
| but they haven't been extensively tested and if they don't work, you're on your own! | |
| Please read this whole document before starting this process. If any of it seems | |
| incomprehensible/frightening/over your head please do not use these scripts. You will | |
| probably do something Very Bad and I wouldn't want that. | |
| 2) You have ruby 1.9.2 installed on your machine. This comes as standard with Lion, previous | |
| versions of OS X may have earlier versions of ruby, which *may* work, but then again, they |