I hereby claim:
- I am mario21ic on github.
- I am mario21ic (https://keybase.io/mario21ic) on keybase.
- I have a public key whose fingerprint is 4C41 EF0F 7FC2 73AE 7AD6 DE28 9DCF 4860 704D 32C0
To claim this, I am signing this object:
#!/bin/bash | |
ACTION='start' | |
if [ -n "$1" ]; | |
then | |
ACTION=$1 | |
fi | |
sudo /etc/init.d/apache2 $ACTION | |
sudo /etc/init.d/mysql $ACTION |
#!/bin/bash | |
SESSION=$(basename `pwd`) | |
if [ -n "$1" ]; | |
then | |
SESSION=$1 | |
fi | |
tmux has-session -t $SESSION | |
if [ $? != 0 ] |
#!/bin/bash | |
# Prefijo de las ramas a eliminar | |
PREFIX="APT" | |
# Sincroniza | |
git fetch origin --prune | |
# Limpia localmente | |
git branch|grep $PREFIX|xargs git branch -D |
#!/bin/bash | |
wget https://raw.githubusercontent.com/PHPMailer/PHPMailer/master/class.phpmailer.php | |
find /home/*/public_html -name "class-phpmailer.php" > class-phpmailer.php.list | |
cat class-phpmailer.php.list | while read line; do | |
echo "cp -f class.phpmailer.php $line" | |
cp -f class.phpmailer.php "$line" | |
done |
# Soporte para 256 colores. | |
set -g default-terminal "screen-256color" | |
# Soporte para Ctrl arrows | |
set-window-option -g xterm-keys on | |
# Cambiar PREFIX a Ctrl + a | |
set-option -g prefix C-a | |
unbind-key C-b | |
bind-key C-a send-prefix |
I hereby claim:
To claim this, I am signing this object:
" ============================================================================ | |
" Vim-plug initialization | |
" Avoid modify this section, unless you are very sure of what you are doing | |
let vim_plug_just_installed = 0 | |
let vim_plug_path = expand('~/.vim/autoload/plug.vim') | |
if !filereadable(vim_plug_path) | |
echo "Installing Vim-plug..." | |
echo "" | |
silent !mkdir -p ~/.vim/autoload |
#!/bin/bash | |
IP=$1 | |
LINE_RESULT=$IP" " | |
while read line; do | |
LINE_RESULT=$LINE_RESULT" "$line | |
done < $2 | |
sudo echo $LINE_RESULT >> /etc/hosts |
daemon off; | |
worker_processes 1; | |
events { worker_connections 1024; } | |
http{ | |
sendfile on; |
#!groovy | |
docker.image('cloudbees/java-build-tools:0.0.6').inside { | |
checkout scm | |
def mavenSettingsFile = "${pwd()}/.m2/settings.xml" | |
stage 'Build' | |
wrap([$class: 'ConfigFileBuildWrapper', |