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| { | |
| "Console Log": { | |
| "prefix": "cl", | |
| "body": "console.log($1);", | |
| "description": "Console Log" | |
| }, | |
| "Named Function": { | |
| "prefix": "nfn", | |
| "body": ["function ${1:functionName}($2) {", " $3", "}"], | |
| "description": "Named Function" |
| # Example Dockerfile | |
| FROM hello-world |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import requests,json,sys | |
| # Script simples para consulta de dados na base dados nacional do SUS utilizando o CPF. | |
| # Jhonathan Davi A.K.A jh00nbr / Insightl4b lab.insightsecurity.com.br | |
| # Blog: lab.insightsecurity.com.br | |
| # Github: github.com/jh00nbr | |
| # Twitter @jh00nbr |
| #https://gorails.com/setup/ubuntu/14.04 | |
| sudo apt-get update | |
| sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties | |
| sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
| curl -L https://get.rvm.io | bash -s stable | |
| source ~/.rvm/scripts/rvm | |
| echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc | |
| rvm install 2.1.2 | |
| rvm use 2.1.2 --default |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.