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
-------- 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 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
# NCSA Combined Log Format with Virtual Host | |
# nginx.conf | |
# https://goaccess.io/man#interactive-keys | |
log_format vcombined '$host:$server_port ' | |
'$remote_addr $remote_user [$time_local] ' | |
'"$request" $status $body_bytes_sent ' | |
'"$http_referer" "$http_user_agent"'; | |
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
----------------------------------------------------------------------------------------------------------------------------- | |
PROCEDIMENTOS PARA INSTALAÇÃO SAFENET5110 | |
Autor: Alex Ishida <alexishida@gmail.com> | |
Data: 13/08/2021 | |
Versão: 1.0.0.0 | |
----------------------------------------------------------------------------------------------------------------------------- | |
PASSO 1, instale alguns pacotes disponíveis no repositório oficial do Ubuntu. | |
----------------------------------------------------------------------------------------------------------------------------- | |
sudo apt update |
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
----------------------------------------------------------------------------------------------------------------------------- | |
PROCEDIMENTOS PARA INSTALAÇÃO Giesecke & Devrient GmbH StarSign CUT S | |
Autor: Alex Ishida <alexishida@gmail.com> | |
Data: 27/10/2023 | |
Versão: 1.0.0.0 | |
----------------------------------------------------------------------------------------------------------------------------- | |
PASSO 1, instale alguns pacotes disponíveis no repositório oficial do Ubuntu. | |
----------------------------------------------------------------------------------------------------------------------------- | |
sudo apt update |
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
My headset microphone was not detected by PulseAudio and the problem is that my headphones don't have HSP profile, | |
only HFP profile. After trying for 2 days, I came to the solution of replacing PulseAudio with Pipewire sound server, which supports HSP, HFP and A2DP by itself. | |
So there will be no need to install any other utility like ofono, phonesim. Also, to be noted that my problem wasn't | |
resolved even after following all the steps to configure ofono in PulseAudio. | |
So I came up with the steps to replace PulseAudio with PipeWire. | |
Here is the detailed article I have written to resolve this problem, the steps of which I'm also adding here. You can follow it and most probably be able to solve your problem. | |
Bluetooth headset microphone not detected | |
Open your terminal and follow these steps: |
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
# Version 21.6.0.0.0 (Requires glibc 2.14) | |
# Instalar a biblioteca (http://mirrors.kernel.org/ubuntu/pool/main/liba/libaio/libaio1_0.3.113-5_amd64.deb) | |
sudo apt-get install libaio1 libaio-dev unzip | |
# Criar a pasta | |
sudo mkdir /opt/oracle | |
# Mover para /opt/oracle | |
instantclient-basic-linux.x64-21.6.0.0.0.zip | |
instantclient-sdk-linux.x64-21.6.0.0.0.zip |
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
require "csv" | |
# Caminhos dos arquivos CSV | |
arquivo1 = "cnpj_originais.csv" | |
arquivo2 = "cnpj_gerados.csv" | |
# Função para ler os dados de um arquivo CSV com uma coluna | |
def ler_dados(arquivo) | |
CSV.read(arquivo).flatten | |
end |
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
# Removendo o carregamento onhover de links | |
<meta name="turbo-prefetch" content="false"> | |
# Method Delete link_to no turbo | |
<%= link_to logout_path, class: "nav-link", data: { turbo_method: :delete, turbo: true } do %> | |
# COMANDOS | |
rails new appname -d postgresql | |
rails new appname --api |
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
docker run -d \ | |
--name clickhouse-server \ | |
--restart=always \ | |
--ulimit nofile=262144:262144 \ | |
-e CLICKHOUSE_DB=my_database \ | |
-e CLICKHOUSE_USER=root \ | |
-e CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1 \ | |
-e CLICKHOUSE_PASSWORD=123456 \ | |
-v /storage/clickhouse/data:/var/lib/clickhouse/ \ | |
-v /storage/clickhouse/logs:/var/log/clickhouse-server/ \ |
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
# Config pra cache do hotwire html em desenv | |
config.cache_classes = false | |
config.enable_reloading = true | |
config.eager_load = false | |
# Prropshaft | |
npm install imask | |
./bin/importmap pin imask | |
NewerOlder