Skip to content

Instantly share code, notes, and snippets.

View sidneyspe's full-sized avatar
🎯
Focusing

Sidney Pimentel sidneyspe

🎯
Focusing
  • Campina Grande - PB, Brasil
  • 01:28 (UTC -03:00)
  • LinkedIn in/sidneyspe
View GitHub Profile
@sidneyspe
sidneyspe / kitty.config
Last active May 12, 2022 13:06
Kitty configuration
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
#: Fonts {{{
#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.
font_family Fira Code
# bold_font auto
@sidneyspe
sidneyspe / omni.conf
Created February 10, 2021 17:06
Omni theme for kitty terminal
foreground #e1e1e6
background #191622
selection_foreground #44475a
selection_background #f8f8f2
url_color #ffb86c
# black
color0 #000000
color8 #4d4d4d

Docker Stop All

docker ps -a -q | xargs -n 1 -P 8 -I {} docker stop {}

Docker Remove All

docker ps -a -q | xargs -n 1 -P 8 -I {} docker rm {}

Docker System Prune

docker system prune -a && docker system prune -a --volumes

@sidneyspe
sidneyspe / remove-old-snaps.sh
Created May 17, 2021 11:35
Script for remove old versions of installed snaps
#!/bin/bash
# Removes old revisions of snaps
# CLOSE ALL SNAPS BEFORE RUNNING THIS
set -eu
LANG=en_US.UTF-8 snap list --all | awk '/disabled/{print $1, $3}' |
while read snapname revision; do
snap remove "$snapname" --revision="$revision"
done
@sidneyspe
sidneyspe / choco.sh
Last active November 12, 2025 17:27
Chocolatey
Set-ExecutionPolicy AllSigned
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install -y nodejs-lts openjdk11 git python3 mingw winrar zoom teamviewer dbeaver mongodb-compass postman lsd flameshot sublimetext4 vscode httpie bun docker-cli docker-desktop k-litecodecpackmega
@sidneyspe
sidneyspe / .zshrc
Created December 18, 2021 22:27
ZSH para macOS
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export ANDROID_HOME=~/Android/Sdk
export PATH="$PATH:$ANDROID_HOME/tools"
export PATH="$PATH:$ANDROID_HOME/platform-tools"
# Path to your oh-my-zsh installation.
export ZSH="/Users/sidneyspe/.oh-my-zsh"
@sidneyspe
sidneyspe / docker-compose.yml
Created January 27, 2022 14:59
Docker Compose for dev environment
version: "3"
services:
traefik:
container_name: traefik
image: traefik:latest
restart: always
command:
- --api.dashboard=true
- --api.insecure=true
@sidneyspe
sidneyspe / default-apps.md
Created April 6, 2022 17:48
Change Default apps (jpg, png, mp4) in windows 11

Please run:

For reset default app Photos in windows 11 Get-AppxPackage Microsoft.Windows.Photos -AllUsers | Reset-AppxPackage

For remove default player (for .mp4 files) in windows 11 get-appxpackage Microsoft.ZuneVideo | remove-appxpackage

@sidneyspe
sidneyspe / Readme.md
Created May 10, 2022 17:54
Yarn + Cypress

yarn add -D cypress cypress-cucumber-preprocessor cypress-file-upload cypress-mochawesome-reporter cypress-slack-r eporter cypress-xpath faker i mocha mochawesome mochawesome-merge mochawesome-report-generator

yarn add @auth0/auth0-spa-js chai cypress-iframe cypress-skip-test delay Faker lodash moment resolve-url save sour ce-map-resolve urix xlsx

@sidneyspe
sidneyspe / settings-vscode.js
Last active February 13, 2026 13:33
Settings VSCode
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 14,
"editor.fontFamily": "JetBrainsMono Nerd Font",
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [
80,
120