$ cd /path/to/Dockerfile
$ sudo docker build .
View running processes
#!/usr/bin/env bash | |
# | |
# This tool is only working with SVN. I *strongly* advise to use git or mercurial for your everyday work. | |
# However, somteimes you're stuck with SVN so here's a small script to make your life easier :) | |
# | |
# This script is under the MIT license. | |
# 2017 - cphyc | |
# Preset parameters | |
NOTIFYCMD=notify-send |
While there are examples of Python-based apps in mobile App stores, the knowledge of how to actually create a mobile app in Python hasn't been well documented, or simplified for mass use - until now.
In this talk, Dr Russell Keith-Magee will demonstrate a collection of tools from the BeeWare Project that enable you to build a cross-platform mobile app using Python in a matter of minutes.
###SSH into a remote machine###
ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing
""" | |
Generate PDF reports from data included in several Pandas DataFrames | |
From pbpython.com | |
""" | |
from __future__ import print_function | |
import pandas as pd | |
import numpy as np | |
import argparse | |
from jinja2 import Environment, FileSystemLoader | |
from weasyprint import HTML |
''' | |
Netfonds import 5 days of intraday data | |
''' | |
import numpy as np | |
import pandas as p | |
from pandas.tseries.offsets import * | |
import datetime as dt | |
import matplotlib.pyplot as plt | |
size = (14,10) |