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| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| package com.bmchild.security.access.expression; | |
| import org.aopalliance.intercept.MethodInvocation; | |
| import org.apache.log4j.Logger; | |
| import org.springframework.security.access.expression.SecurityExpressionRoot; | |
| import org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler; | |
| import org.springframework.security.core.Authentication; | |
| /** | |
| * @author bchild |
| #!/bin/bash -ex | |
| exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
| # install ThinkUp on EC2 Ubuntu instance: | |
| # | |
| # @spara 12/23/10 | |
| # @waxpancake 1/3/11 | |
| # install required packages | |
| sudo apt-get update |