Skip to content

Instantly share code, notes, and snippets.

View euaaron's full-sized avatar
🚀
#NeverStopLearning

Aaron Carneiro euaaron

🚀
#NeverStopLearning
View GitHub Profile
@euaaron
euaaron / settings.json
Last active January 31, 2024 20:40
Compact VS Code - settings.json
{
"apc.electron": {
"titleBarStyle": "hidden",
"trafficLightPosition": {
"x": 11,
"y": 10
},
"frame": false
},
"apc.activityBar": {
@euaaron
euaaron / settings.json
Last active January 21, 2024 20:59
Theme Settings
{
"workbench.colorTheme": "MonoDracula",
"workbench.colorCustomizations": {
"activityBar.border": "#000000",
"activityBar.activeBackground": "#000000",
"activityBar.background": "#000000",
"banner.background": "#000000",
"debugToolBar.background": "#000000",
"dropdown.background": "#0f0f0f",
"dropdown.listBackground": "#140c25",
@euaaron
euaaron / Microsoft.Powershell_profile.ps1
Last active March 4, 2024 13:56
Windows CLI - Powershell script to download and switch between different Nodejs versions.
# --------------------------------------------
# Nodejs Version Manager Powershell (nmp)
# v1.0.2
# Author: Aaron Carneiro <@euaaron>
# Email: nmp@aaroncarneiro.com
# GitHub: https://github.com/euaaron
# This File: https://gist.github.com/euaaron/8b0a2497244b3711e65ad798bdc5873f
# --------------------------------------------
$nmpVersion = "v1.0.2"
$silentInit = $false
@euaaron
euaaron / posh-beautify.ps1
Last active November 4, 2022 04:44
Posh Beautify - A PowerShell script to make your shell awesome!
# Author: Aaron Carneiro <hello@aaroncarneiro.com>
# Name: Posh Beautify - A PowerShell script to make your shell awesome!
# Description: This script installs and configure Oh-My-Posh with Starship, and JetBrainsMono Nerd Font along with it's dependencies.
# Version: 1.0.0 - APR 04 2022
#Requires -RunAsAdministrator
# Function to check if a dependency is installed and install it if it's not
Function Resolve-Dependency
{
@euaaron
euaaron / Config.plist
Last active June 9, 2022 04:11
Ventura - Opencore 0.8.1 Config.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>Add</key>
<array>
<dict>
<key>Comment</key>
@euaaron
euaaron / pre-push.sh
Last active June 5, 2022 04:38
GitHook - package.json version bump (main=major, feat=minor, other=patch)
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
commit_message=$(git log -1 --pretty=%B | cat)
branch=$(git rev-parse --abbrev-ref HEAD | cat)
version="patch"
if $(echo $branch | grep -q "main")
then
echo "Do not push to main branch, do a PR instead."
pulseaudio --start --exit-idle-time=-1
pacmd load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1
proot-distro login ubuntu --user aaron && pulseaudio --kill
# 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/.oh-my-zsh"
export PULSE_SERVER=127.0.0.1
export MOZ_FAKE_NO_SANDBOX=1
# 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
@euaaron
euaaron / keybindings.json
Created August 27, 2021 13:13
My custom VS Code shortcuts
[
{
"key": "ctrl+numpad6",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "ctrl+numpad5",
"command": "workbench.action.toggleSidebarVisibility"
},
{
@euaaron
euaaron / settings.json
Last active August 27, 2021 15:27
My current VS Code Settings
{
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},