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 June 21, 2024 18:02
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 April 11, 2024 04:17
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 June 27, 2024 12:21
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 May 23, 2024 11:08
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 April 13, 2024 18:55
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 March 27, 2024 22:10
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.