Skip to content

Instantly share code, notes, and snippets.

@lesm
lesm / lesm.sh
Last active January 22, 2016 13:50
tema para tmux-powerline
#Cambiar el tema "default" por "lesm"
#/home/luis/.tmux-powerline/tmux-powerline/config/defaults.sh
# Lesm Theme
if patched_font_in_use; then
TMUX_POWERLINE_SEPARATOR_LEFT_BOLD=""
TMUX_POWERLINE_SEPARATOR_LEFT_THIN=""
TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD=""
TMUX_POWERLINE_SEPARATOR_RIGHT_THIN=""
@lesm
lesm / .vimrc
Last active March 26, 2021 05:34
Configuración personal de vim
" mkdir -p ~/.vim/pack/my-plugins/start
" cd ~/.vim/pack/my-plugins/start
" git clone https://github.com/dense-analysis/ale.git
" git clone https://github.com/mattn/emmet-vim.git
" git clone https://tpope.io/vim/fugitive.git
" git clone https://github.com/junegunn/fzf.vim.git
" git clone https://github.com/othree/html5.vim.git
" git clone https://github.com/Yggdroot/indentLine.git
" git clone https://github.com/scrooloose/nerdcommenter.git
@lesm
lesm / start_conky.sh
Last active January 11, 2016 00:19
Script para inicar conky después de 10 segundos, de iniciar el sistema
#!/bin/bash
sleep 10 && conky
@lesm
lesm / .conkyrc
Last active March 12, 2017 19:06
Configuración personal de conky
# Conky, a system monitor, based on torsmo
# Any original torsmo code is licensed under the BSD license
# All code written since the fork of torsmo is licensed under the GPL
# Please see COPYING for details
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
@lesm
lesm / mysql.md
Last active January 7, 2016 22:23 — forked from nihilismus/mysql.md

/etc/rc.d/rc.mysqld-instancia1

#!/bin/sh

# Depende del usuario bajo el cual se ha de ejecutar el demonio
USER_DB=mysql

# Los directorios y archivos deben permitir a $USER_DB el acceso a lectura y escritura
DATADIR_DB=/home/mysql/instancia1