Skip to content

Instantly share code, notes, and snippets.

View nicolaubrasil's full-sized avatar

nicolaubrasil

View GitHub Profile
@alexandreaquiles
alexandreaquiles / clean-arch-morreu.md
Last active August 31, 2023 17:11
Transcrição do Spaces "Clean Arch morreu?" que aconteceu em 17/08/2022

[Alexandre Aquiles]

Mas é... Então vamos lá pessoal. Meu nome é Alexandre Aquiles.

Twitter do Alexandre Aquiles

Eu não vou falar onde eu trabalho, acho que vocês devem saber, né? Porque aqui o negócio é entre a gente mesmo. É papo nosso aqui mesmo.

Eu lancei um livro recentemente, né? Desbravando SOLID. Deixa eu fazer o jabá já, né? Desbravando SOLID.

@allexradu
allexradu / setup.md
Last active March 28, 2024 20:02 — forked from novemberborn/setup.md
OS X Setup virtual hosts on two different ports

Changes with .dev domains in mind.

Step 1 : Assign at least two IP address to your MAC OS (one per domain), let's say :

192.168.0.51
192.168.0.52

To setup the second IP you will have to add a second Ethernet Adapter (logical not physical).

@rponte
rponte / using-uuid-as-pk.md
Last active April 22, 2025 20:16
Não use UUID como PK nas tabelas do seu banco de dados

Pretende usar UUID como PK em vez de Int/BigInt no seu banco de dados? Pense novamente...

TL;TD

Não use UUID como PK nas tabelas do seu banco de dados.

Um pouco mais de detalhes

@sirdantas
sirdantas / docker-compose.yml
Created August 13, 2020 17:29
Kong + Konga
version: "3.7"
volumes:
kong_data: {}
networks:
kong-net:
services:
@armand1m
armand1m / .skhdrc
Last active April 5, 2025 22:31
⚙️ My yabai and skhd configuration files.
# open terminal
cmd - return : open -n -a "Terminal"
# open chrome
cmd + shift - return : open -n -a "Google Chrome"
# moves focus between windows in the current focused display
alt - h : yabai -m window --focus west
alt - j : yabai -m window --focus south
alt - k : yabai -m window --focus north
@steniowagner
steniowagner / Login.tsx
Last active January 13, 2022 04:20
Simple code to perform "swipe-actions" with flatlist in react-native
import React, { useState } from "react";
import LoginComponent from "./LoginComponent";
const usersTest = Array(8)
.fill({ name: "", cns: "" })
.map((_, index) => ({
name: `User ${index}`,
cns: `123.456.${index}`,
}));
@fontenele
fontenele / composer.json
Created September 2, 2019 04:55
Laravel Debug Helper fixed in Chrome DevTools
"autoload": {
"files": [
"helpers.php"
]
},
@aviadlevy
aviadlevy / .gitlab-ci.yml
Created April 11, 2019 06:54
.gitlab-ci.yml with versioning and changelog
image: docker:latest
services:
- docker:dind
stages:
- build
- integration
- dev-release
- prod-release
@vinicius73
vinicius73 / main.js
Created February 19, 2019 19:31
Vuex Route Guard DEMO
import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import plugins from './plugins';
plugins({
router, store, Vue,
});
@gugaalves
gugaalves / custom-login-styles.css
Last active November 24, 2024 17:11
WordPress - Customizing Login, Register and Lost Password pages
/*
*
* This CSS template will customize WordPress.org login pages:
*
* Login page: /wp-login.php
* Register page: /wp-login.php?action=register
* Lost Password page: /wp-login.php?action=lostpassword
*
* @site https://tudoparawp.com.br
* @author Guga Alves