Skip to content

Instantly share code, notes, and snippets.

@jvegaf
jvegaf / wezterm.lua
Created September 7, 2023 22:32
Wezterm config WSL
local wezterm = require 'wezterm'
local wsl_domains = wezterm.default_wsl_domains()
wezterm.on("gui-startup", function(cmd)
local _, _, window = wezterm.mux.spawn_window(cmd or {})
window:gui_window():toggle_fullscreen()
end)
for _, domain in ipairs(wsl_domains) do
@jvegaf
jvegaf / git-aliases.md
Created February 14, 2023 17:57
Git aliases powershell

Aliases

Alias Command
g git
ga git add
gaa git add --all
@jvegaf
jvegaf / AwesomeGestures.md
Created September 11, 2022 02:51 — forked from erikzenker/AwesomeGestures.md
OSX like gesture for arch linux onn awesome windowmanager

This is a manual for OSX like touchpad gestures on arch linux for the awesome window manager. It describes how to trigger awesome actions on swiping with three fingers on the touchpad.

  • Install libinput dependencies paru -S xf86-input-libinput libinput-gestures

  • Add current user to input group sudo gpasswd -a $USER input

@jvegaf
jvegaf / AwesomeGestures.md
Created September 11, 2022 02:51 — forked from erikzenker/AwesomeGestures.md
OSX like gesture for arch linux onn awesome windowmanager

This is a manual for OSX like touchpad gestures on arch linux for the awesome window manager. It describes how to trigger awesome actions on swiping with three fingers on the touchpad.

  • Install libinput dependencies pacaur -S sf86-input-libinput libinput-gestures

  • Add current user to input group sudo gpasswd -a $USER input

@jvegaf
jvegaf / shell-setup.ps1
Created May 16, 2022 21:30 — forked from mikepruett3/shell-setup.ps1
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018
@jvegaf
jvegaf / bulk-rename.ps1
Last active January 23, 2022 16:58 — forked from ethangardner/bulk-rename.ps1
Powershell script to bulk replace spaces with underscores in a directory of files
Dir | Rename-Item –NewName { $_.name –replace “_“,” ” }

#Configurando GitHub en Linux

###Conectando nuestro equipo con GitHub por medio de SSH Una vez completado nuestro registro en GitHub, debemos indicarle a GitHub de que equipo o equipos nos comunicaremos con el, esta comunicación la haremos por medio de SSH (Secure Shell), para esto debemos crear un par de llaves SSH una publica y otra privada. Esto es algo que asusta a algunos desarrolladores que recién comienzan en esto de GIT y GitHub. Comencemos con la creación de las llaves, para esto vamos a nuestra terminal y revisamos que exista la carpeta .sshdentro del $HOME

~ ls -a | grep .ssh
@jvegaf
jvegaf / setup_all_mint_20.sh
Last active August 20, 2020 20:18
Environment setup on Linux Mint 20
#!/bin/bash
sudo rm /etc/apt/preferences.d/nosnap.pref
sudo apt update
sudo apt upgrade -y
sudo apt-get install -y php7.4-{cli,xml,bcmath,bz2,intl,gd,mbstring,mysql,zip}
sudo apt-get -y install inkscape transmission git zsh
sudo apt-get -y install filezilla neovim vlc snapd gedit build-essential
sudo apt-get -y install htop screenfetch openjdk-11-jdk composer snapd
sudo apt-get -y install wget docker.io docker-compose curl
@jvegaf
jvegaf / .zshrc
Last active July 23, 2020 22:38
ZSH dotfile
# 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
@jvegaf
jvegaf / Brewfile
Last active April 15, 2020 11:13
Brewfile
tap "buo/cask-upgrade"
tap "dandavison/delta", "https://github.com/dandavison/delta"
tap "denisidoro/tools"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-drivers"
tap "homebrew/cask-versions"
tap "homebrew/core"
tap "homebrew/services"
brew "autojump"