Skip to content

Instantly share code, notes, and snippets.

View Sup3r-Us3r's full-sized avatar
👨‍💻
Coding

Mayderson Sup3r-Us3r

👨‍💻
Coding
View GitHub Profile
@Sup3r-Us3r
Sup3r-Us3r / appointment.go
Created May 14, 2024 13:08
Example in Golang for obtaining available appointments, dealing with possible conflicts between existing appointments.
package main
import (
"fmt"
"time"
)
type Appointment struct {
Start time.Time
Duration time.Duration
{
"works": [
{
"id": 0,
"title": "Rentx",
"description": "RentX é um aplicativo para fazer reservas de carros, possui uma interface otimista e a implementação Offline First usando WatermelonDB.",
"projectUrl": "https://github.com/Sup3r-Us3r/ignite-project-rentx",
"projectImageUrl": "https://raw.githubusercontent.com/Sup3r-Us3r/ignite-project-rentx/main/.github/cover.png"
},
{

Change: launch_background

Path: android/app/src/main/res/drawable/launch_background.xml

Change this:

<item android:drawable="@android:color/white" />

To:

@Sup3r-Us3r
Sup3r-Us3r / Git.md
Last active March 1, 2021 01:29
Git commands

Confirgurar nome de usuário de forma local

git config --local user.name 'Name'

git config --local user.email 'user@email.com'

Ver histórico

git log

git log --oneline

INSTALAÇÃO BASE

1º Verificar se instalação está no modo UEFI ou BIOS

efivar -l

obs: Se retornar alguma coisa, quer dizer que a instalação é em modo UEFI, se não retornar nada ou retornar algum erro a instalação é em modo BIOS.

2º Mudar layout do teclado para brasileiro