(Create a symlink pytest for py.test)
pytest [options] [file_or_dir] [file_or_dir] ...
Help:
| import boto3 | |
| client = boto3.client('s3') | |
| result = client.list_objects(Bucket='**-***', | |
| Prefix='vehicle/2017P3782/mileage/5896/original/', | |
| Delimiter='/' | |
| # branch ) | |
| # for o in result.get('CommonPrefixes'): | |
| # print(o.get('Prefix')) |
| _ |
When mixing the tracks, we need to consider that they might (and probably have) started at different times. If we were to merge tracks without taking this into account, we would end up with synchronization issues. In our example, since Bob got in the room a good 20s (and that’s really a huge time for synchronization of audios), mixing both Alice’s and Bob’s audio tracks together would end up having one speaking over the other.
To make merging easier, the start time of all tracks from the same room is the creation of the room itself. Let’s get the start times for all the tracks from this room
When mixing the tracks, we need to consider that they might (and probably have) started at different times. If we were to merge tracks without taking this into account, we would end up with synchronization issues. In our example, since Bob got in the room a good 20s (and that’s really a huge time for synchronization of audios), mixing both Alice’s and Bob’s audio tracks together would end up having one speaking over the other.
To make merging easier, the start time of all tracks from the same room is the creation of the room itself. Let’s get the start times for all the tracks from this room
| #!/bin/sh | |
| # Updates etc at: https://github.com/woxxy/MySQL-backup-to-Amazon-S3 | |
| # Under a MIT license | |
| # change these variables to what you need | |
| MYSQLROOT=root | |
| MYSQLPASS=******** | |
| S3BUCKET=****** | |
| FILENAME=mysql_backup |
| # -*- coding: utf-8 -*- | |
| import json | |
| import re | |
| from uuid import uuid4 | |
| import random | |
| import unicodedata | |
| # module settings | |
| __version__ = '0.6.0' |
wget https://raw.githubusercontent.com/jayrambhia/Install-OpenCV/master/Ubuntu/2.4/opencv2_4_9.sh
chmod +x opencv2_4_9.sh
./opencv2_4_9.sh
sudo apt-get install python-opencv
ami-d05e75b8 from hereg2.2xlarge or g2.8xlargewget http://developer.download.nvidia.com/compute/cuda/7_0/Prod/local_installers/rpmdeb/cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb