Skip to content

Instantly share code, notes, and snippets.

View luismendes070's full-sized avatar
🔍

Luis Mendes luismendes070

🔍
View GitHub Profile
@luismendes070
luismendes070 / screenshot_script.sh
Last active May 29, 2024 13:27
Criação roteiros com ChatGPT prompt Linux screenshots sudo apt update sudo apt install scrot xdotool wmctrl
#!/bin/bash
sudo apt update
sudo apt install scrot xdotool wmctrl
# Diretório para salvar as capturas de tela
SCREENSHOT_DIR="$HOME/screenshots"
mkdir -p "$SCREENSHOT_DIR"
# Timestamp para nomear os arquivos
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
We couldn’t find that file to show.
@luismendes070
luismendes070 / Windows Defender Exclusions VS 2017.ps1
Created April 13, 2024 18:55 — forked from dknoodle/Windows Defender Exclusions VS 2017.ps1
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
console output
@luismendes070
luismendes070 / imc-rust
Last active March 3, 2024 13:30
Índice massa corporal #Copilot
IMC Rust #Copilot
assembly https://www.codeconvert.ai/rust-to-assembly-converter
@luismendes070
luismendes070 / wordpress-6-2-2-docker-compose.yml
Created January 21, 2024 16:33 — forked from erikyuzwa/wordpress-6-2-2-docker-compose.yml
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>
#
version: "3.8"
services:
golang code challenge
@luismendes070
luismendes070 / state-management
Created January 14, 2024 19:14
Kotlin Android
https://developer.android.com/kotlin/flow/stateflow-and-sharedflow?hl=pt-br
https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-mutable-state-flow/
The Top 3 State Management Mistakes On Android
https://youtu.be/JfCivo5qJkI?si=pllAX15Vr8W7gXNd
https://superuser.com/questions/1467734/i-am-admin-but-i-cannot-edit-system-variables-windows-10
https://stackoverflow.com/questions/57917539/why-i-am-not-able-to-edit-or-create-system-variables-in-windows