Skip to content

Instantly share code, notes, and snippets.

View viniciusgati's full-sized avatar
🤕
alguém me salva

Vinicius Gati viniciusgati

🤕
alguém me salva
View GitHub Profile
@viniciusgati
viniciusgati / gist:e06a60827eb5f4050b279ee744a04fed
Created September 29, 2023 20:47
exemplo de retorno de api apontamil
{
"id": "6516cb59721519d207d605f6",
"name": "19D207D605F6",
"externalCode": "",
"services": [
{
"id": "6516cb59721519d207d605f7",
"name": "CHECKLIST",
"externalCode": "",
"formAnswerList": [
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = [email protected]:itmil/ci-backend.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
echo -e "[mongodb-org-4.4]\nname=MongoDB Repository\nbaseurl=https://repo.mongodb.org/yum/redhat/" > /etc/yum.repos.d/mongodb-org-4.4.repo
echo "$releasever" > /etc/yum.repos.d/mongodb-org-4.4.repo
echo -e "/mongodb-org/4.4/x86_64/\ngpgcheck=1\nenabled=1\ngpgkey=https://www.mongodb.org/static/pgp/server-4.4.asc" > /etc/yum.repos.d/mongodb-org-4.4.repo
sudo yum update
sudo yum -y install \
gmp-devel \
libbsd-devel \
libedit-devel \
#!/bin/sh
echo 'Installing Oracle Instant Client...'
export DEBIAN_FRONTEND=noninteractive
apt-get -y install libaio1 unzip
# See: http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html#ic_x64_inst
client_version='21_1'
Pessoal vagas pra Home Office Jr/Pleno/Sr
Domínio de React.js e Typescript para desenvolvimento mobile hibrido (framework Ionic).
Conhecimentos em HTML5, CSS3, JavaScript
Experiência com ferramenta de controle de versão Git
Desejável:
Conhecimento da linguagem Java e framework Spring
Conhecimento de boas práticas de qualidade como TDD e DDD
Conhecimentos de testes com Jest e JUnit
@viniciusgati
viniciusgati / certificados_services.rb
Created January 28, 2021 13:44 — forked from alexishida/certificados_services.rb
Obter certificados ruby
class CertificadosServices
def pegar_certificado (cer)
cert = OpenSSL::X509::Certificate.new(cer)
certificado = Certificado.new
certificado.nome = cert.subject.to_s.split("CN=")[1].split(":")[0]
certificado.cpf_cnpj = pegar_cpf_cnpj_certificado(cert)
certificado.tipo_certificado = pegar_tipo_certificado(cert)
certificado.serial = cert.serial
certificado.validade = cert.not_after
certificado.revogado = false
2021-01-25T18:44:55.303134+00:00 app[web.1]: 2021-01-25 18:44:55.302 DEBUG 4 --- [io-13063-exec-9] o.s.data.mongodb.core.MongoTemplate : find using query: { "deleted" : false} fields: Document{{}} for class: class br.com.itmil.kaluana.backoffice.sch
emas.EntryType in collection: entry_types
2021-01-25T18:45:05.999180+00:00 app[web.1]: Sync executing...Mon Jan 25 18:45:05 UTC 2021
2021-01-25T18:45:06.000042+00:00 app[web.1]: 2021-01-25 18:45:05.999 DEBUG 4 --- [ task-4] o.s.data.mongodb.core.MongoTemplate : find using query: {} fields: Document{{}} for class: class br.com.itmil.kaluana.integration.schemas.Synchronizat
ionConfig in collection: synchronization_configs
2021-01-25T18:45:24.833780+00:00 app[web.1]: 2021-01-25 18:45:24.833 DEBUG 4 --- [io-13063-exec-2] o.s.data.mongodb.core.MongoTemplate : find using query: { "deleted" : false} fields: Document{{}} for class: class br.com.itmil.kaluana.backoffice.sch
emas.TaskGroupType in collection: task_group_types
2021-01-25T18:45:24.841170
source 'http://rubygems.org'
gem 'rails', '4.2.5.1'
gem 'tiny_tds'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'devise', '~> 3.4.0'
gem 'kaminari', '~> 0.16.3'
gem 'jquery-rails', '~> 4.1.0'
@viniciusgati
viniciusgati / fedora.sh
Last active September 25, 2021 01:22
Post intallation personal computter deb
sudo dnf -y install \
gmp-devel \
libbsd-devel \
libedit-devel \
libevent-devel \
libxml2-devel \
libyaml-devel \
llvm-static \
openssl-devel \
libcanberra-gtk-module \
@viniciusgati
viniciusgati / query.sql
Created July 14, 2020 12:40
queries em execução SQL Server
SELECT sqltext.TEXT,
req.session_id,
req.status,
req.command,
req.cpu_time,
req.total_elapsed_time
FROM sys.dm_exec_requests req
CROSS APPLY sys.dm_exec_sql_text(sql_handle) AS sqltext