CATF44LT7C-eyJsaWNlbnNlSWQiOiJDQVRGNDRMVDdDIiwibGljZW5zZWVOYW1lIjoiVmxhZGlzbGF2IEtvdmFsZW5rbyIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJGb3IgZWR1Y2F0aW9uYWwgdXNlIG9ubHkiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiQUMiLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJQUyIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IkdPIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiRE0iLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJDTCIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IlJTMCIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IlJDIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiUkQiLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJQQyIsInBhaWRVcFRvIjoiMjAyMC0wMS0wOCJ9LHsiY29kZSI6IlJNIiwicGFpZFVwVG8iOiIyMDIwLTAxLTA4In0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwMjAtMDEtMDgifSx7ImNvZGUiOiJEQiIsI
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
import java.util.Collection; | |
import java.util.HashSet; | |
import java.util.Random; | |
/* | |
* Exercicio 02 - Triadworks - CrossCode | |
* | |
* Autor: Lucas Apoena - [email protected] | |
* | |
* Descrição: |
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
import java.util.Arrays; | |
/* | |
* Exercicio 03 - Triadworks - CrossCode | |
* | |
* Autor: Lucas Apoena - [email protected] | |
* | |
* Descrição: | |
* Crie uma função que dado um array de números desordenados retorna uma array com os números ordenados na ordem crescente. | |
* var arrayDeNumeros = [10, 3, 2, 4, 20, 11] |
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
import java.util.Arrays; | |
/* | |
* Exercicio 04 - Triadworks - CrossCode | |
* | |
* Autor: Lucas Apoena - [email protected] | |
* | |
* Descrição: | |
* Crie uma função que dado um array de números retorna apenas o elemento mais alto entre eles. | |
* Por exemplo: |
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
import java.util.Scanner; | |
/* | |
* Exercicio 05 - Triadworks - CrossCode | |
* | |
* Autor: Lucas Apoena - [email protected] | |
* | |
* Descrição: | |
* Crie um código no qual imprime a uma pirâmide utilizando o símbolo # a partir de um número digitado pelo usuário. | |
* Por exemplo, se o usuário digitar o número 10 você deve gerar uma pirâmide de altura 10 como no exemplo na imagem em anexo. | |
* |
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
unbindall | |
// =========== Gameplay =========== | |
net_graph "0" // Mostrar FPS e outras informações do jogo na tela | |
net_graphpos "2" // Muda a posição horizontal do net_graph | |
net_graphheight "105" // Muda a posição vertical do net_graph | |
net_graphproportionalfont "1" // Muda o estilo de font do net_graph | |
net_graphipc "0" // Adiciona novas informações no net_graph | |
net_graphtext "1" // Ativa os textos do net_graph | |
cl_autohelp "0" // Desativa a auto ajuda |
When setting these options consider the following:
- How long is your average request?
- What is the maximum number of simultaneous visitors the site(s) get?
- How much memory on average does each child process consume?
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log
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
#!/bin/bash | |
################################################################# | |
## Script de configuração geral - Linux | |
## By Hewerson Freitas (https://github.com/hewersonfreitas) | |
################################################################ | |
## Update and Upgrade Distro | |
sudo apt update && sudo apt upgrade -y && |
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
#!/bin/bash | |
################################################################# | |
## Script de configuração geral - MacOS | |
## Execute: | |
## curl -s https://gist.githubusercontent.com/lucasapoena/1d4fd4d870e4bdeee7e37b0c9bc4a138/raw/56eab8b71674ebdc161e98e4bce2c7f30c1a3eb1/macos-instalacao-ambiente-dev-magento | bash -s | |
################################################################ | |
PATH_INSTALL=~/install | |
# Criando pasta dos instaladores |
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
>> add lines in host nginx.conf | |
location ~ /.well-known{ | |
allow all; | |
} | |
>> restart nginx | |
service nginx restart | |
>> create folder ".well-known" in root path project | |
mkdir {PATH}/.well-known |
OlderNewer