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 / .eslintrc.json
Last active September 10, 2020 00:55
My default eslint configurations for a typescript node backend.
{
"env": {
"es6": true,
"node": true
},
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
@euaaron
euaaron / settings.json
Created October 28, 2020 14:37
My Windows Terminal configs.
// This file was initially generated by Windows Terminal 1.3.2651.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@euaaron
euaaron / .zshrc
Last active October 20, 2022 02:16
My ZSH configs.
# 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"
# 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/ohmyzsh/ohmyzsh/wiki/Themes
@euaaron
euaaron / package.json
Last active August 26, 2021 20:13
My own Extension Pack with recommended vs code extensions.
{
"name": "aaron-s-recommended",
"displayName": "Aaron's Recommended",
"description": "Extension Pack with all extensions that I find useful to have. From themes to functionalities extensions.",
"version": "0.0.1",
"engines": {
"vscode": "^1.59.0"
},
"categories": [
"Extension Packs"
@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"
},
@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"
},
{
# 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
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
@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."
@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>