Skip to content

Instantly share code, notes, and snippets.

Eduardo Adams Wohlfahrt eduardoaw

Block or report user

Report or block eduardoaw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:f391dab44757d75268b2eb4e716ad8fc
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)
@eduardoaw
eduardoaw / NettyConnection.java
Created Oct 23, 2018 — forked from ochinchina/NettyConnection.java
netty client reconnect if the connection is lost or the server is not started
View NettyConnection.java
package com.nokia.nls.nmif;
import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
@eduardoaw
eduardoaw / client.js
Created Sep 21, 2018 — forked from aerrity/client.js
Node, Express & MongoDB: Button click example
View client.js
console.log('Client-side code running');
const button = document.getElementById('myButton');
button.addEventListener('click', function(e) {
console.log('button was clicked');
fetch('/clicked', {method: 'POST'})
.then(function(response) {
if(response.ok) {
console.log('click was recorded');
@eduardoaw
eduardoaw / start_docker_registry.bash
Created Jun 5, 2018 — forked from PieterScheffers/start_docker_registry.bash
Start docker registry with letsencrypt certificates (Linux Ubuntu)
View start_docker_registry.bash
#!/usr/bin/env bash
# install docker
# https://docs.docker.com/engine/installation/linux/ubuntulinux/
# install docker-compose
# https://docs.docker.com/compose/install/
# install letsencrypt
# https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
@eduardoaw
eduardoaw / Linux Static IP
Created Feb 26, 2018 — forked from fernandoaleman/Linux Static IP
How To Configure Static IP On CentOS 6
View Linux Static IP
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
@eduardoaw
eduardoaw / TUTORIAL_LETSENCRYPT_GLASSFISH4.md
Created Sep 25, 2017 — forked from douglasjunior/TUTORIAL_LETSENCRYPT_GLASSFISH4.md
Tutorial de instalação do Lets Encrypt no Glassfish 4.x
View TUTORIAL_LETSENCRYPT_GLASSFISH4.md

Tutorial de instalação do Lets Encrypt no Glassfish 4.x

Gerando certificado Lets Encrypt

Para gerar o certificado Lets Encrypt é muito simples, aqui as instruções estão baseadas em um tutorial publicado pela Locaweb. (Web archive)

Primeiro vamos criar um diretório para isso:

You can’t perform that action at this time.