-
Create an empty file to prevent the service from starting
sudo touch /etc/cloud/cloud-init.disabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------- DVR e Mibo Smart Intelbras ------------------------------------------------------- | |
rtsp://usuário:senha@ip:porta/cam/realmonitor?channel=1&subtype=0 | |
Ps minha mibo smart im4c só funcionou com esse link: | |
rtsp://admin:chave de acesso@ip:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif | |
-------- Luxvision ------------------------------------------------------- | |
rtsp://ip:porta/user=[usuário]&password=[senha]&channel=1&stream=0.sdp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.AspNetCore; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.Extensions.DependencyInjection; | |
using StackExchange.Redis; | |
using System; | |
using System.Net.WebSockets; | |
using System.Threading; | |
using System.Threading.Tasks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connecting parent component 'formGroup' with child component 'formControlName' | |
In the Parent component template | |
================================ | |
<form [formGroup]="recipeForm"> | |
<app-recipe-name [parent]="recipeForm"></app-recipe-name> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
git clone [email protected]:golang/go.git gotip | |
cd gotip/src | |
export GOROOT_BOOTSTRAP=/usr/local/go | |
env GOOS=linux GOARCH=arm GOARM=7 ./make.bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/angular/angular-cli/issues/6683 | |
import { NgModule, LOCALE_ID } from '@angular/core'; | |
// force to use locale pt-BR | |
providers: [ {provide: LOCALE_ID, useValue: 'pt-BR' } ] | |
// Or use below line to get locale from browser | |
// providers: [ {provide: LOCALE_ID, useValue: window.navigator.language} ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rem Place this file at the live/ directory of the downloaded LIVE555 source files. | |
@rem Based on instructions at https://nspool.github.io/2016/02/building-live555/ | |
@rem Tested with Visual Studio 2015 on Windows 10 | |
@echo off | |
if exist "%TEMP%\sed.vbs" goto skip_gen_sed | |
> "%TEMP%\sed.vbs" ( | |
REM thanks to https://stackoverflow.com/questions/127318/is-there-any-sed-like-utility-for-cmd-exe | |
@echo.Dim pat, patparts, rxp, inp | |
@echo.pat = WScript.Arguments(0^) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### How to compile ffmpeg + x264 using Visual Studio 2015 ##### | |
##### Building this way will make the DLLs compatible with SEH, so there will be no need to use /SAFESEH:NO when compiling your code ##### | |
##### SOURCES: | |
### https://pracucci.com/compile-ffmpeg-on-windows-with-visual-studio-compiler.html | |
### https://gist.github.com/sailfish009/8d6761474f87c074703e187a2bc90bbc | |
### http://roxlu.com/2016/057/compiling-x264-on-windows-with-msvc | |
* Download "MSYS2 x86_64" from "http://msys2.github.io" and install into "C:\workspace\windows\msys64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nomes das Tabelas | |
SX1 Manutenção de Perguntas de parametrização (movimentações, consultas e relatórios) | |
SX2 Manutenção dos Arquivos | |
SX3 Manutenção dos Campos | |
SX4 Configuração de Agenda de Relatórios e Processos | |
SX5 Manutenção de Tabelas | |
SX6 Manutenção de Parâmetros | |
SX7 Manutenção de Gatilhos de Campos (SX3) | |
SX9 Manutenção de Relacionamento entre Arquivos (SX2) | |
SXA Manutenção de Pastas Cadastrais dos Arquivos (SX2) |
sysctl -w fs.file-max=12000500
sysctl -w fs.nr_open=20000500
# Set the maximum number of open file descriptors
ulimit -n 20000000
# Set the memory size for TCP with minimum, default and maximum thresholds
sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000'