Requires
- aws-cli - https://aws.amazon.com/cli/
- jq - https://stedolan.github.io/jq/
Configure path to your ECS SSH key file ~/.bashrc
echo 'export ECS_PEM_FILE=$HOME/docker.pem' >> ~/.bashrc
# Use: | |
# split_video INPUT_FILE OUTPUT_FILE_PREFIX HH:MM:SS HH:MM:SS ... | |
# | |
# Description: | |
# Splits video segements between provided timestamps, | |
# omitting start (00:00:00 to first timestamp) and end (last timestamps to end of video) | |
split_video() { | |
input_file="$1" | |
output_file_name="$2" |
Requires
Configure path to your ECS SSH key file ~/.bashrc
echo 'export ECS_PEM_FILE=$HOME/docker.pem' >> ~/.bashrc
{ | |
"type": "Polygon", | |
"coordinates": [ | |
[ | |
[ | |
-0.033860206604003906, | |
51.521107651627744 | |
], | |
[ | |
-0.0328516960144043, |
# (c) 2014 Lukas Dolezal ([email protected]) | |
# MIT licence | |
# include in your base controller (ApplicationController): | |
# include OrderByParamsHelper | |
module OrderByParamsHelper | |
# use in controller: | |
# @resources = order_by_params(@resources, params[:order], :created_at) | |
# |
# (c) 2014 Lukas Dolezal ([email protected]) | |
# MIT licence | |
# include in your base controller (ApplicationController) | |
# include FilterByParamsHelper | |
module FilterByParamsHelper | |
# use in controller: | |
# @resources = filter_by_params(@resources, params.slice(:user_id, :state)) | |
# |
I hereby claim:
To claim this, I am signing this object: