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| { pkgs ? import <nixpkgs> {}, ...}: | |
| with pkgs; | |
| (pkgs.buildFHSUserEnv { | |
| name = "yocto-env"; | |
| # Packages Yocto is expecting on the host system by default | |
| targetPkgs = pkgs: (with pkgs; [ | |
| bash | |
| bashInteractive |
| #!/usr/bin/python | |
| import sys | |
| def parse_nm_output(handle): | |
| current_object = None | |
| symbols = {} | |
| symbol_to_object = {} | |
| for line in handle.readlines(): |
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