Skip to content

Instantly share code, notes, and snippets.

View caiodesign's full-sized avatar
😎

Caio Oliveira caiodesign

😎
View GitHub Profile
@caiodesign
caiodesign / New-GPUPDriverPackage.ps1
Created June 10, 2025 14:30 — forked from neggles/New-GPUPDriverPackage.ps1
Hyper-V GPU Virtualization
<#
.SYNOPSIS
Create a GPU-P Guest driver package.
.DESCRIPTION
Gathers the necessary files for a GPU-P enabled Windows guest to run.
.EXAMPLE
New-GPUPDriverPackage -DestinationPath '.'
.EXAMPLE
New-GPUPDriverPackage -Filter 'nvidia' -DestinationPath '.'
.INPUTS
@caiodesign
caiodesign / git-snippets.md
Created October 2, 2020 20:40
Some git commands that i use

———————————————————————————————————————————————————————————————————————————————— Adding and updating ————————————————————————————————————————————————————————————————————————————————

Update local branch from remote and merge into current branch

$ REMOTE='' && BRANCH='' && git fetch $REMOTE $BRANCH:$BRANCH && git merge $BRANCH $ REMOTE='origin' && BRANCH='' && git fetch $REMOTE $BRANCH:$BRANCH && git merge $BRANCH $ REMOTE='origin' &&
BRANCH='develop' &&
git fetch $REMOTE $BRANCH:$BRANCH &&
git merge $BRANCH

@caiodesign
caiodesign / tech-lead.md
Created July 19, 2019 18:10
É/Não É/Faz/Não Faz

Tech lead

É/Não É/Faz/Não Faz

É

  • Referência técnica no domínio e escopo de atuação, em especial para os desenvolvedores menos experientes
  • Maduro e respeita outros perfis técnicos, não-técnicos e gerenciais na organização
  • Comprometido em especial com as entregas
  • Responsável, se sente e age como dono
  • Acessível para pessoas técnicas ou não-técnicas, estejam em seu escopo de liderança ou não
require('chromedriver')
const { Builder, By } = require("selenium-webdriver")
const SeleniumServer = require("selenium-webdriver/remote").SeleniumServer
const poring = "https://www.poring.world/";
async function getRagnarokItem () {
const driver = new Builder()
.forBrowser('chrome')
.build()
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/colive61/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes