-
Perform
pg_dump
-> gzip output -> savepg_dump DB_NAME --username=DB_USER | gzip > /location/to/backup.gz
- Note: if you get "FATAL: Ident authentication failed..." you'll need to look in
pg_hba.conf
. See below for more info.
-
Unzip -> import into new database
<?xml version="1.0" encoding="UTF-8"?> | |
<fs_response status="success" timestamp="2016-01-30 13:03:29"> | |
<headings> | |
<heading for="result_status">Result Status</heading> | |
<heading for="login_username">Login Username</heading> | |
<heading for="login_email">Login Email</heading> | |
<heading for="date_start">Start Time</heading> | |
<heading for="date_finish">Finish Time</heading> | |
<heading for="date_update">Update Time</heading> | |
<heading for="user_ip">User's IP Address</heading> |
I hereby claim:
- I am atenni on github.
- I am atenni (https://keybase.io/atenni) on keybase.
- I have a public key whose fingerprint is 5354 0DBA 6CB6 0CFB 4BFD 21ED 2CC2 BDDA EA0E 29B8
To claim this, I am signing this object:
$ ffmpeg --help | |
ffmpeg version N-78304-g37db3e8 Copyright (c) 2000-2016 the FFmpeg developers | |
built with gcc 5.3.0 (GCC) | |
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi | |
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca -- | |
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libm | |
p3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en | |
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --ena | |
ble-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-lib |
When Echo360 Personal Capture is set to record video and display, the output file is a container containing both video
streams (at least on Windows 7). If you want to edit this footage in third party software before uploading it into Echo
you'll probably need to seperate these video streams. Using ffmpeg
is one way to do this.
ffmpeg -i audiovideodisplay.wmv \
import argparse | |
import os | |
import boto3 | |
class S3MultipartUpload(object): | |
# AWS throws EntityTooSmall error for parts smaller than 5 MB | |
PART_MINIMUM = int(5e6) |
This quickstart assumes OS X 10.13, PyCharm 2018.1, Docker 18.03, and Python 3.7.
- Start Docker and PyCharm
- Create new project - "Pure Python"
- Set project name and temporarily set the project interpreter to Existing interpreter > Python 3.x (local)
- Create
Dockerfile
and/ordocker-compose.yml
(see samples of each below),
Assumes you have a laptop, WiFi only (no LAN), and a HDMI monitor you can use with the Pi.
Credit: most of this info was found here.
- Download the latest image of Raspbian.
Overall this is pretty impressive for someone just starting out - well done!
Here's a few overall design comments. I'll include technical feedback as
comments directly in Updated-PythonPractice.py
When coding you don't want to write the same piece of functionality twice. In longer programs this type of duplication makes it hard to follow the flow of the