Skip to content

Instantly share code, notes, and snippets.

View morenitux's full-sized avatar
🎯
Focusing

José Luis Moreno morenitux

🎯
Focusing
View GitHub Profile
@morenitux
morenitux / .zshrc
Last active February 25, 2021 20:47
Personal zshrc settings
# 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/luismorenomx/.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
@morenitux
morenitux / .vimrc
Last active October 23, 2021 04:57
Basic customization to my vim editor
set nocompatible " be iMproved, required
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
set rtp+=~/.vim/bundle/nerdtree
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
@morenitux
morenitux / pgadmin4.sh
Created May 7, 2020 21:23
Small script to initialize pgadmin and turn it off. -Used only in case it was installed using pgAdmin 4 (Python Wheel)
#!/bin/bash
if [ "$1" == "start" ]; then
firefox -new-tab http://localhost:5050/browser/
python3 ~/.local/lib/python3.8/site-packages/pgadmin4/pgAdmin4.py
else
if [ "$1" == "stop" ];then
kill -9 $(ps -ef | grep '/.local/lib/python3.8/site-packages/pgadmin4/pgAdmin4.py' | awk 'NR==1 {print $2; exit}')
@morenitux
morenitux / gitlogalias
Last active March 17, 2021 00:05
Alias to show my Git log branches
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
@morenitux
morenitux / .conkyrc
Created August 13, 2019 23:16
Simple conkyrc script
conky.config = {
use_xft = true,
xftalpha = 1,
update_interval = 1.0,
total_run_times = 0,
own_window = true,
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 40;
own_window_type = 'normal',