Skip to content

Instantly share code, notes, and snippets.

View willsantos's full-sized avatar

Wilson Santos willsantos

View GitHub Profile
@willsantos
willsantos / .zshrc
Last active October 4, 2021 17:22
My ZSH config
# 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="/home/wilson/.oh-my-zsh"
export PATH="$HOME/.symfony/bin:$PATH"
# 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
@willsantos
willsantos / .p10k.zsh
Created February 7, 2020 15:55
MY P10k ZSH
# Generated by Powerlevel10k configuration wizard on 2020-02-07 at 12:52 -03.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 55550.
# Wizard options: nerdfont-complete + powerline, small icons, rainbow, time,
# slanted separators, slanted heads, slanted tails, 2 lines, dotted, left frame,
# lightest-ornaments, sparse, many icons, concise, instant_prompt=quiet.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with powerline prompt style with colorful background.
# Type `p10k configure` to generate your own config based on it.
#
@willsantos
willsantos / gist:d52a05ab3131045b40a5c6604917dcf0
Last active January 22, 2021 14:41
Pós instalação base Ubuntu
#Pacotes Snap
sudo snap install telegram-desktop spotify handbrake-jz audacity insomnia colorpicker-app freac discord
sudo snap install sublime-text --classic
sudo snap install code --classic
#pacotes Flatpak
flatpak install flathub org.gnome.gitlab.YaLTeR.Identity
@willsantos
willsantos / winDevApp
Last active December 1, 2022 15:18
Winget Install my apps
winget install --id=Mozilla.Firefox -e && winget install --id=Zoom.Zoom -e && winget install --id=VideoLAN.VLC -e && winget install --id=Discord.Discord -e && winget install --id=Automattic.Simplenote -e && winget install --id=Git.Git -e && winget install --id=7zip.7zip -e && winget install --id=mcmilk.7zip-zstd -e && winget install --id=Microsoft.PowerToys -e && winget install --id=Spotify.Spotify -e && winget install --id=OBSProject.OBSStudio -e && winget install --id=Obsidian.Obsidian -e && winget install --id=uvncbvba.UltraVnc -e && winget install --id=Axosoft.GitKraken -e && winget install --id=Canonical.Ubuntu -e
@willsantos
willsantos / .prettierrc
Last active February 26, 2021 21:31
Prettie Default React
{
"trailingComma": "all",
"printWidth": 80,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": true,
"tabWidth": 2,
"quoteProps": "as-needed"
}
@willsantos
willsantos / .eslintrc.json
Last active March 10, 2021 18:49
Eslint para React
{
"env": {
"browser": true,
"commonjs": false,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"airbnb-base"
],
@willsantos
willsantos / .hyper.js
Created April 21, 2021 22:19
Hyper Configuration
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@willsantos
willsantos / winget.txt
Last active October 10, 2022 20:28
Windows apps install
winget install --id=HandBrake.HandBrake -e && winget install --id=CPUID.CPU-Z.GBT -e && winget install --id=CPUID.HWMonitor -e && winget install --id=CrystalDewWorld.CrystalDiskInfo -e && winget install --id=Audacity.Audacity -e && winget install --id=VideoLAN.VLC -e && winget install --id=LogMeIn.Hamachi -e && winget install --id=OBSProject.OBSStudio -e && winget install --id=Telegram.TelegramDesktop -e && winget install --id=Discord.Discord -e && winget install --id=Postman.Postman -e && winget install --id=Adobe.Acrobat.Reader.64-bit -e && winget install --id=Radmin.VPN -e && winget install --id=Oracle.VirtualBox -e && winget install --id=Google.Drive -e && winget install --id=uvncbvba.UltraVnc -e && winget install --id=Ditto.Ditto -e && winget install --id=Mozilla.Firefox -e && winget install --id=SublimeHQ.SublimeText.4 -e && winget install --id=EpicGames.EpicGamesLauncher -e && winget install --id=Valve.Steam -e && winget install --id=7zip.7zip -e && winget install --id=Microsoft.V
{
"transfer": "Transfer",
"transaction_feed": "Transaction Feed",
"change_name": "Change Name"
}
@willsantos
willsantos / pre-commit
Last active March 5, 2022 15:52
Hook to block Main branch
#!/bin/bash
red='\x1b[41m'
nocolor='\x1b[0m'
protected_branch='main'
current_branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
if [ $protected_branch = $current_branch ]
then