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
public class MainController { | |
@FXML | |
private PesquisaController testePesquisaController; | |
} |
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
package exemplo; | |
import java.time.LocalDate; | |
import java.time.Month; | |
import java.time.temporal.ChronoUnit; | |
/** | |
* | |
* @author Clairton Luz | |
*/ |
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
# passo 1 | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
# passo 2 | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | |
# passo 3 | |
sudo apt-get update | |
# passo 4 |
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
nano /home/clairton/.bashrc |
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
git clone https://github.com/clairtonluz/bytecom.git |
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
# ADICIONA TODAS AS ALTERAÇÕES | |
git add . | |
# CONFIRMA AS ALTERAÇÕES DAQUELES ARQUIVOS ADICIONADOS ANTERIORMENTE E PASSE UMA MENSAGEM QUE INFORMA O QUE FOI FEITO. | |
git commit -m 'mensagem informando o que foi feito' | |
# ENVIA AS INFORMAÇÕES PARA O SEU REPOSITÓRIO REMOTO, QUE NO CASO É O FORK QUE FOI FEITO. | |
git push origin master |
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
# Criar um branch com referência ao repositório original. | |
git remote add upstream https://github.com/bytecomoficial/bytecom.git | |
# utilize esse comando toda vez que precisar atualizar o seu branch upstream | |
git fetch upstream | |
# atualizar o seu fork com as alterações do upstream | |
git merge upstream/master master | |
# enviar as atualizações para seu fork |
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
# BAIXA O SKYPE | |
wget http://download.skype.com/linux/skype-4.2.0.13-fedora.i586.rpm | |
# INSTALAR O SKYPE E SUAS DEPENDÊNCIAS | |
sudo yum install skype-4.2.0.13-fedora.i586.rpm |
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
package io.github.clairtonluz; | |
import java.util.logging.Logger; | |
import javax.ejb.Schedule; | |
import javax.ejb.Singleton; | |
import javax.ejb.Startup; | |
@Singleton |
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
# Utilizar o JDK , o script procura pelo jdk ou altere o script na unha. | |
yum install java-1.7.0-openjdk-devel | |
cd /opt | |
unzip wildfly-8.0.0.Final.zip | |
mv wildfly-8.0.0.Final wildfly | |
cp wildfly/bin/init.d/wildfly.conf /etc/default/ | |
nano /etc/default/wildfly.conf | |
# descomentar ( e caso necessário configurar) as seguintes variáveis no arquivo /etc/default/wildfly.conf: |