Skip to content

Instantly share code, notes, and snippets.

View renoirtech's full-sized avatar

Renoir dos Reis renoirtech

View GitHub Profile
@schakko
schakko / nginx.conf
Last active January 17, 2024 08:06
Adjusted nginx.conf to make Laravel 9 and Laravel 10 apps with PHP 8.0, 8.1 and 8.2 features runnable on Azure App Service
server {
# adjusted nginx.conf to make Laravel 9 and Laravel 10 apps with PHP 8.0, 8.1 and 8.2 features runnable on Azure App Service
# @see https://laravel.com/docs/10.x/deployment
# @see https://laravel.com/docs/9.x/deployment
listen 8080;
listen [::]:8080;
root /home/site/wwwroot/public;
index index.php;
server_name example.com www.example.com;
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 19, 2024 02:23
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@valchaqui
valchaqui / idades.java
Last active October 14, 2015 14:51
Aula Black While
import java.util.*;
public class idades {
public static void main(String [] x) {
int idade, qtdIdade=0, soma=0, maiorIdade=0, maior=0, i;
float media;
Scanner leia = new Scanner(System.in);
do{
System.out.print ("Escreva a idade: ");
idade = leia.nextInt();
qtdIdade++;