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| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os/exec" | |
| "runtime" | |
| ) | |
| type Worker struct { |
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| { | |
| "builders": [ | |
| { | |
| "boot_command": [ | |
| "<tab> linux enforcing=0 ks=http://rpm-ostree.cloud.fedoraproject.org/project-atomic/install/rawhide/fedora-atomic.ks<enter><wait>" | |
| ], | |
| "boot_wait": "10s", | |
| "disk_size": 8192, | |
| "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso", | |
| "guest_os_type": "Fedora_64", |
Why Should I Care (For Developers)
"Docker interests me because it allows simple environment isolation and repeatability. I can create a run-time environment once, package it up, then run it again on any other machine. Furthermore, everything that runs in that environment is isolated from the underlying host (much like a virtual machine). And best of all, everything is fast and simple."
| #!/bin/sh | |
| setup_brew () { | |
| if ![-f "/usr/local/bin/brew"]; then | |
| /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)" | |
| fi | |
| } | |
| setup_ipython () { | |
| brew install gcc |
| #!/bin/bash | |
| # | |
| # PS1 magic | |
| # | |
| # Mostly copied from YUVAL KOGMAN version, added my own __git_ps1 stuff | |
| # Original: http://gist.github.com/621452 | |
| # | |
| # See video demo of this at http://vimeo.com/15789794 | |
| # | |
| # To enable save as .bash_prompt in $HOME and add to .bashrc: |