- Header Kernel - GCC
sudo apt-get install linux-headers
- Pacotes essenciais
| var express = require('express'); | |
| var router = express.Router(); | |
| var Notas = require('../models/Notas'); | |
| /* Creating Device */ | |
| router.post('/create', async function(req, res, next) { | |
| try { | |
| var express = require('express'); | |
| var router = express.Router(); | |
| var Publicaciones = require('../models/Publicaciones'); | |
| /* Creating Device */ | |
| router.post('/create', async function(req, res, next) { | |
| try { | |
| function forceDownload(href) { | |
| var anchor = document.createElement('a'); | |
| anchor.href = href; | |
| anchor.download = href; | |
| document.body.appendChild(anchor); | |
| anchor.click(); | |
| } |
| <?php | |
| /** | |
| * Converts a PNG image to a .GRF file for use with Zebra printers | |
| * | |
| * The input is preferably a 1-bit black/white image but RGB images | |
| * are accepted as well. | |
| * | |
| * This function uses PHP's GD library image functions. | |
| * |
| ## Instalar Laravel 5.7 en Windows Server 2012 R2 Sobre Internet Information Services | |
| # Nos ubicamos en la carpeta de IIS C:\inetpub\wwwroot | |
| # Ejecutamos el siguiente comando en la terminal | |
| composer create-project --prefer-dist laravel/laravel blog "5.7.*" | |
| ## Configurar el Proyecto en IIS |
| <?php | |
| /** | |
| * This is free and unencumbered software released into the public domain. | |
| * | |
| * Anyone is free to copy, modify, publish, use, compile, sell, or | |
| * distribute this software, either in source code form or as a compiled | |
| * binary, for any purpose, commercial or non-commercial, and by any | |
| * means. | |
| * |
This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
| #! /bin/bash | |
| # | |
| # Diffusion youtube avec ffmpeg | |
| # Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
| VBR="2500k" # Bitrate de la vidéo en sortie | |
| FPS="30" # FPS de la vidéo en sortie | |
| QUAL="medium" # Preset de qualité FFMPEG | |
| YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
| $ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |