Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
| <script src="jquery-1.6.1.min.js"></script> | |
| <script src="socket.io/socket.io.js"></script> | |
| <script> | |
| var socket = new io.Socket(null,{port:8080}); | |
| socket.connect(); | |
| socket.on('message',function(obj){ | |
| switch(obj.tipo){ | |
| case 'imagen': | |
| img = document.getElementById('stream'); | |
| img.src=""; |
| # 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 | |
| variable "digitalocean_token" { | |
| description = "This is the Digitalocean API-token which is used to setup the machines." | |
| } | |
| variable "digitalocean_region" { | |
| description = "For example: nyc1, nyc2, ams2, ams3, fra2" | |
| default = "fra1" | |
| } | |
| variable "digitalocean_dokku_size" { | |
| description = "Instance size: 512mb, 1gb, 2gb, 4gb ..." | |
| default = "2gb" |
| variable "digitalocean_token" { | |
| description = "This is the Digitalocean API-token which is used to setup the machines." | |
| } | |
| variable "digitalocean_region" { | |
| description = "For example: nyc1, nyc2, ams2, ams3, fra2" | |
| default = "fra1" | |
| } | |
| variable "digitalocean_dokku_size" { | |
| description = "Instance size: 512mb, 1gb, 2gb, 4gb ..." | |
| default = "2gb" |
| ffmpeg -re -f concat -i <(for i in {1..9999}; do printf "file '%s'\n" input.mp4; done) -f v4l2 /dev/video1 && !! |
| 3<div class="jumbotron"> | |
| <div class="container"> | |
| <h2>Currency Calculator</h2> | |
| <p class="lead">Convert the currency</p> | |
| <form class="form-inline"> | |
| <div class="form-group mb-2"> | |
| <input type="number" class="form-control" id="amount"/> | |
| </div> | |
| <div class="form-group mx-sm-3 mb-2"> | |
| <select class="form-control" id="currency-1" required> |
| <!DOCTYPE html> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>CBW</title> | |
| </head> | |
| <style> | |
| body { | |
| background: lightblue; |
Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
| # Output a single frame from the video into an image file: | |
| ffmpeg -i input.mov -ss 00:00:14.435 -vframes 1 out.png | |
| # Output one image every second, named out1.png, out2.png, out3.png, etc. | |
| # The %01d dictates that the ordinal number of each output image will be formatted using 1 digits. | |
| ffmpeg -i input.mov -vf fps=1 out%d.png | |
| # Output one image every minute, named out001.jpg, out002.jpg, out003.jpg, etc. | |
| # The %02d dictates that the ordinal number of each output image will be formatted using 2 digits. | |
| ffmpeg -i input.mov -vf fps=1/60 out%02d.jpg |