- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
This file contains hidden or 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
| <!-- | |
| To force Tomcat to redirect and revert all requested HTTP traffic over to HTTPS, configure the `conf/web.xml` file with the below block. | |
| This should be placed at the very end of the file near and above the ending `</webapp>` tag: | |
| --> | |
| <security-constraint> | |
| <web-resource-collection> | |
| <web-resource-name>Automatic Forward to HTTPS/SSL | |
| </web-resource-name> | |
| <url-pattern>/*</url-pattern> | |
| </web-resource-collection> |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft,elem.offsetTop,elem.offsetWidth,elem.offsetHeight,elem.offsetParent
This file contains hidden or 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
| (function($) { | |
| var result = $('#result'); | |
| var base = $('#base'); | |
| var list = $('#list'); | |
| $('#calc').click(function() { | |
| var baseVal = base.val(); | |
| var px = list.val().split(','); | |
| var html = []; | |
| $.each(px, function(i, v) { | |
| var px = parseInt(v); |
Documento consolidado de endpoints RTSP conhecidos para câmeras IP, DVRs e NVRs.
Importante: endpoints RTSP podem variar conforme modelo, linha, OEM, firmware e região. Não assuma que um endereço funciona para todos os equipamentos de uma mesma marca.
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # Autor: Aristides Neto | |
| # Email: falecom@aristides.dev | |
| # | |
| # Data: 09/06/2019 | |
| # | |
| # Realiza o backup de bancos de dados MySQL | |
| # |
This file contains hidden or 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
| // material.module.ts | |
| import { ModuleWithProviders, NgModule} from "@angular/core"; | |
| import { MatNativeDateModule, MAT_DATE_LOCALE } from '@angular/material/core'; | |
| import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field'; | |
| import { MatIconRegistry } from '@angular/material/icon'; | |
| import { MatAutocompleteModule } from '@angular/material/autocomplete'; | |
| import { MatBadgeModule } from '@angular/material/badge'; | |
| import { MatButtonModule } from '@angular/material/button'; | |
| import { MatButtonToggleModule } from '@angular/material/button-toggle'; | |
| import { MatCardModule } from '@angular/material/card'; |
This file contains hidden or 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
| If you are facing the following error while trying to connect to a MySQL server using the MySQL Workbench snap and Ubuntu Focal Fossa: "mysql workbench an apparmor policy prevents this sender [...]" | |
| You might try the following solution: | |
| 1 - On a new terminal window, run the following commands: | |
| # snap connect mysql-workbench-community:password-manager-service | |
| # snap connect mysql-workbench-community:ssh-keys | |
| By using snap connect, you will fix the issue with the MySQL Workbench snap, allowing you to connect to the server(s). |