Skip to content

Instantly share code, notes, and snippets.

View luismendes070's full-sized avatar
πŸ”

Luis Mendes luismendes070

πŸ”
View GitHub Profile
@erikyuzwa
erikyuzwa / wordpress-6-2-2-docker-compose.yml
Last active January 20, 2026 17:29
Wordpress 6.2.2 Docker Compose for Local Development
# create a local .env file with the following 4 properties:
#
# MYSQL_DATABASE=<something>
# MYSQL_USER=<something>
# MYSQL_PASSWORD=<something>
# MYSQL_ROOT_PASSWORD=<something>
#
# Note: I have had a LOT of issues working with anything newer then Docker Desktop v4.26.1
# If you're on something newer, then double check against this release.
#
@unity-msoto
unity-msoto / unity-scope-check.md
Last active June 25, 2023 11:03
Scope Check Series
@cami-la
cami-la / API para Sistema de AvaliaΓ§Γ£o de CrΓ©ditos.md
Last active June 29, 2025 14:15
API para Sistema de AvaliaΓ§Γ£o de CrΓ©ditos

API para Sistema de AvaliaΓ§Γ£o de CrΓ©ditos

Uma empresa de emprΓ©stimo precisa criar um sistema de anΓ‘lise de solicitaΓ§Γ£o de crΓ©dito. Sua tarefa serΓ‘ criar uma API REST SPRING BOOT E KOTLIN πŸƒπŸ’œ para a empresa fornecer aos seus clientes as seguintes funcionalidades:

  • Cliente (Customer):

    • Cadastrar:
      1. Request: firstName, lastName, cpf, income, email, password, zipCode e street
      2. Response: String
warning: LF will be replaced by CRLF in .snyk.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in lerna-repo/.lfsconfig.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in lerna-repo/lerna.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in lerna-repo/package.json.
The file will have its original line endings in your working directory
@johnlpage
johnlpage / gist:2e8bd55ed195cccd4af7cea718f1c640
Last active February 25, 2024 05:26
Examples for MongoDB Atlas Data API Video
ENDPOINT
--------
https://data.mongodb-api.com/app/data-amzuu/endpoint/data/beta
API KEY
--------
0vaT8d5Vh9cgvm3KdIQJWkl5M8alZgnoOczmApFlWVTMqisg24QWrUfMS0wkQ5Sj
@scmx
scmx / git-commit-title-first-word.md
Last active October 12, 2025 17:25
Example list of verbs / first word to use in git commit title #git #commit #title

Example list of first words to use in a git commit title

I like writing well-formed git commits that explain the intention behind why a code change was made.

Check out Chris Beams excellent How to Write a Git Commit Message if you haven't read it.

Anyway, for a project I've been working on I've gathered up 900+ commits that hold up a pretty high quality (except for one 😁). Let's look at some trends about these commits!

Most common first words in commit titles of a project

@gaearon
gaearon / index.html
Last active March 11, 2026 14:30
Add React in One Minute
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Add React in One Minute</title>
</head>
<body>
<h2>Add React in One Minute</h2>
<p>This page demonstrates using React with no build tooling.</p>
@ncruces
ncruces / CachedParcelable.java
Created June 7, 2018 09:58
Caches a Parcelable (e.g. a Bitmap) in Parcel memory (i.e. off the heap)
package io.github.ncruces.utils;
import android.graphics.Bitmap;
import android.os.BadParcelableException;
import android.os.Parcel;
import android.os.Parcelable;
public final class CachedParcelable<T extends Parcelable> implements AutoCloseable {
private final Parcelable.Creator<T> creator;
private Parcel cache;
@dknoodle
dknoodle / Windows Defender Exclusions VS 2017.ps1
Last active February 27, 2025 07:27
Adds Windows Defender exclusions for Visual Studio 2017
$userPath = $env:USERPROFILE
$pathExclusions = New-Object System.Collections.ArrayList
$processExclusions = New-Object System.Collections.ArrayList
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null
$pathExclusions.Add('C:\Windows\assembly') > $null
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null
$pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null
$pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null
$pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null
@Adron
Adron / install-golang-apt-get.sh
Last active October 6, 2025 12:40
Installing golang via apt-get
sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install golang
# Usually this is good to install golang, but alas the apt-get repo is usually out of sync with the latest.