# Command Line cheatsheet
Command | meaning | example |
---|---|---|
pwd |
Print work directory |
#!/usr/bin/env python3 | |
# coding: utf-8 | |
import pandas as pd | |
import lxml | |
import html5lib | |
import bs4 | |
# Get filename and path from user | |
print('Filepath and name') |
git init | |
git remote add origin https://github.com/bliiir/traktor_playlist.git | |
git pull origin master |
# Command Line cheatsheet
Command | meaning | example |
---|---|---|
pwd |
Print work directory |
#!/usr/bin/python3 | |
''' | |
------------------------------------------------------------------------ | |
IMPORTS | |
------------------------------------------------------------------------ | |
''' | |
# Standard library imports |
INSERT INTO bucket( | |
market_id, | |
timeframe_id, | |
time_close, | |
price_open, | |
price_high, | |
price_low, | |
price_close, | |
volume) | |
SELECT |
+---------+---------------+--------------+--------------+-------------+---------------+-----------+-------------+----------------+ | |
| index | time_close | price_open | price_high | price_low | price_close | volume | market_id | timeframe_id | | |
|---------+---------------+--------------+--------------+-------------+---------------+-----------+-------------+----------------| | |
| 0 | 1541808000000 | 6338.5 | 6344.0 | 6334.5 | 6341.5 | 19261715 | 1 | 4 | | |
| 1 | 1541811600000 | 6341.5 | 6342.0 | 6338.5 | 6342.0 | 8929477 | 1 | 4 | | |
| 2 | 1541815200000 | 6342.0 | 6346.0 | 6341.5 | 6341.5 | 13150688 | 1 | 4 | | |
| 3 | 1541818800000 | 6341.5 | 6342.0 | 6340.0 | 6340.0 | 9610798 | 1 | 4 | | |
| 4 | 1541822400000 | 6340.0 | 6364.0 | 6340.0 | 6360.0 | 52570621 | 1 |
+---------+---------------+--------------+--------------+-------------+---------------+-----------+-------------+----------------+ | |
| index | time_close | price_open | price_high | price_low | price_close | volume | market_id | timeframe_id | | |
|---------+---------------+--------------+--------------+-------------+---------------+-----------+-------------+----------------| | |
| 0 | 1541808000000 | 6338.5 | 6344.0 | 6334.5 | 6341.5 | 19261715 | 1 | 4 | | |
| 1 | 1541811600000 | 6341.5 | 6342.0 | 6338.5 | 6342.0 | 8929477 | 1 | 4 | | |
| 2 | 1541815200000 | 6342.0 | 6346.0 | 6341.5 | 6341.5 | 13150688 | 1 | 4 | | |
| 3 | 1541818800000 | 6341.5 | 6342.0 | 6340.0 | 6340.0 | 9610798 | 1 | 4 | | |
| 4 | 1541822400000 | 6340.0 | 6364.0 | 6340.0 | 6360.0 | 52570621 | 1 |