git clone https://github.com/BretFisher/udemy-docker-mastery.git
curl -sSL https://get.docker.com/ | sh
| <div class="pulse red live"></div> | |
| <h3 class="live">LIVE!</h3> |
git clone https://github.com/BretFisher/udemy-docker-mastery.git
curl -sSL https://get.docker.com/ | sh
psql - start postgres terminal (logs into default database)psql <dbname> - start postgres terminal in specific database\l - list all databases\q - exit the terminal\d - list all tables in selected database; character-- for comments| const express = require('express'); | |
| const exphbs = require('express-handlebars') | |
| const app = express(); | |
| // Handlebars Middleware | |
| app.engine('handlebars', exphbs({defaultLayout: 'main'})); | |
| app.set('view engine', 'handlebars'); | |
| function homePage(req, res) { |
| { | |
| "name": "requesttest", | |
| "version": "1.0.0", | |
| "description": "Testing out requests", | |
| "main": "app.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1", | |
| "dev:server": "nodemon --ignore sessions/ server.js" | |
| }, | |
| "author": "fuzzylimes", |
To create a dataframe from a csv, you can use the following:
df = pd.read_csv('pandas_dataframe_importing_csv/example.csv')If you have a different delimiter than a comma, you can use the sep parameter:
df = pd.read_csv('pandas_dataframe_importing_csv/example.csv', sep="\|", engine="python")Inspired by John Long's uao script.