Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
I hereby claim:
To claim this, I am signing this object:
$columns: 12 !default; | |
$gutter: 30px !default; | |
$max-width: 1170px; | |
.grid { | |
margin: 0px auto; | |
max-width: $max-width; | |
width: 100%; | |
} |
<?php | |
/** | |
* The plugin bootstrap file | |
* | |
* This file is read by WordPress to generate the plugin information in the plugin | |
* admin area. This file also includes all of the dependencies used by the plugin, | |
* registers the activation and deactivation functions, and defines a function | |
* that starts the plugin. | |
* |
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#428bca, 6.5%)", | |
"@brand-success": "#5cb85c", |
.calendar-modal { | |
position: relative; | |
span { | |
background: #a0c133; | |
color: #fff; | |
font-size: 10px; | |
left: -30px; | |
margin-right: 3px; | |
padding: 3px 3px 2px; |
var mongodb = require('mongodb'); | |
var mongojs = require('mongojs'); | |
var db = mongojs('database', ['posts']); | |
exports.index = function(req, res){ | |
var posts = ''; | |
db.posts.find(function(err, docs){ | |
res.json(docs); | |
}); |