Skip to content

Instantly share code, notes, and snippets.

View wildiney's full-sized avatar
πŸ‘‹

Wildiney Di Masi wildiney

πŸ‘‹
View GitHub Profile
@wildiney
wildiney / sandbox.wsb
Created October 15, 2025 22:34
Fix blank screen on Edge Browser when windows sandbox starts
<Configuration>
<VGpu>Off</VGpu>
<Networking>Enable</Networking>
<MappedFolders>
</MappedFolders>
<PrinterRedirection>Disable</PrinterRedirection>
<VideoInput>Disable</VideoInput>
<LogonCommand>
<Command>cmd /c reg add "HKCU\Software\Policies\Microsoft\Edge" /v HardwareAccelerationModeEnabled /t REG_DWORD /d 0 /f &amp; start msedge --use-angle=swiftshader --disable-gpu-driver-bug-workarounds</Command>
</LogonCommand>
@wildiney
wildiney / poetry-add-torch.sh
Created January 1, 2025 20:39
Poetry add Torch
poetry source add --priority=explicit pytorch-gpu https://download.pytorch.org/whl/cu118
poetry add --source pytorch-gpu torch torchvision torchaudio
pre {
background-color: #f6f8fa;
padding: 10px;
border-radius: 5px;
overflow: auto;
}
.string {
color: darkgray;
}
.number {
@wildiney
wildiney / gradle.build.kts
Last active December 8, 2024 19:42
Configs for Navigation
plugins{
alias(libs.plugins.jetbrainsKotlinSerialization)
}
dependencies{
implementation(libs.androidx.navigation.compose)
implementation(libs.kotlinx.serialization.json)
}
@wildiney
wildiney / EmojisTable.md
Created November 26, 2024 17:37 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@wildiney
wildiney / EslintRecipe.md
Last active April 20, 2024 16:48 — forked from felipefontoura/Next.js Recipe.md
ESLint Recipe - React, Next and Node.js

Eslint

React / Next.js

npm i prettier eslint eslint-config-prettier eslint-config-standard eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-tailwindcss @typescript-eslint/eslint-plugin @typescript-eslint/parser -D

.eslintrc.js:

@wildiney
wildiney / powershell.txt
Created April 19, 2024 19:47 — forked from aleduca/powershell.txt
Powershell - oh my posh
- Baixar o powershell: https://learn.microsoft.com/pt-br/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#winget
- NerdFont: https://www.nerdfonts.com/font-downloads
- Oh My Posh: https://ohmyposh.dev/
- Criar arquivo de config: .$PROFILE ou code $PROFILE
- Instalar PSReadline: Install-Module PSReadLine -AllowPrerelease -Force
- Instalar icones: Import-Module -Name Terminal-Icons
- Apelido para comandos:
function executeArtisanCli {
php artisan $args
}
@wildiney
wildiney / settings.json
Last active February 26, 2024 12:46
VSCode configs to sticky folders and code content
{
editor.stickyScroll.enabled,
workbench.tree.enableStickyScroll
}
@wildiney
wildiney / handleInputChange.tsx
Created October 11, 2023 13:44
A snippet to deal with the onChange in react forms
const handleInputChange = (e:React.ChangeEvent<HTMLInputElement | HTMLSelectElement>)=>{
const {name, value} = e.target
setState((prevState)=>{
...prevState,
[name]:value
})
}
@wildiney
wildiney / vite.config.js
Last active September 4, 2023 13:03
Vite config for naming dist files
import {defineConfig} from 'vite'
export default defineConfig({
build:{
rollupOptions:{
output:{
assetFileNames:'assets/[name].[ext]',
entryFileNames:'[name].js'
}
}