I hereby claim:
- I am mabrizio on github.
- I am maraya (https://keybase.io/maraya) on keybase.
- I have a public key ASAhxUnZyyJqUHGkUzFGAEGEV0RJjb34E30Rt4kSFBdUTAo
To claim this, I am signing this object:
#!/usr/bin/perl -w | |
# | |
# This script was developed by Robin Barker (Robin.Barker@npl.co.uk), | |
# from Larry Wall's original script eg/rename from the perl source. | |
# | |
# This script is free software; you can redistribute it and/or modify it | |
# under the same terms as Perl itself. | |
# | |
# Larry(?)'s RCS header: | |
# RCSfile: rename,v Revision: 4.1 Date: 92/08/07 17:20:30 |
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" | |
config.vm.network "private_network", ip: "192.168.33.10" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "4096" | |
end | |
end |
I hereby claim:
To claim this, I am signing this object:
-- | |
-- La ciencia está en: | |
-- | |
-- * Agregar un campo en la tabla de tipo tsvector (1), en este caso se llama tsv, | |
-- podría ponérsele cualquier nombre. | |
-- * Agregar un índice GIN (2) | |
-- * Crear un trigger que cuando se inserte o actualice una tupla se actualice la | |
-- columna tsv (nuestro tsvector) | |
-- | |
-- 1. http://www.postgresql.org/docs/9.1/static/datatype-textsearch.html |
if v:progname =~? "evim" | |
finish | |
endif | |
set sw=4 "Identation is now 4 white spaces | |
set nocompatible | |
set nomodeline | |
set backspace=indent,eol,start | |
if has("vms") | |
set nobackup " do not keep a backup file, use versions instead | |
else |
#!/usr/bin/env tcsh | |
foreach i (`cat access.log | cut -d \] -f1 | cut -d \[ -f2 | cut -d \: -f1 | perl -ne 'print unless $seen{$_}++' `) | |
printf "$i -> " | |
printf `grep $i access.log | awk '{print $1}' | sort | uniq | wc -l` | |
echo " different IPs" | |
end |
#!/bin/sh | |
# Nagios Startup script for the Nagios monitoring daemon | |
# | |
# chkconfig: - 85 15 | |
# description: Nagios is a service monitoring system | |
# processname: nagios | |
# config: /etc/nagios/nagios.cfg | |
# pidfile: /var/nagios/nagios.pid | |
# |
# inspired by: http://wellsie.net/p/248/ | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
sudo apt-get install libgd2-xpm-dev apache2 apache2-mpm-prefork \ | |
apache2-threaded-dev apache2-utils apache2.2-bin \ | |
apache2.2-common libapache2-mod-php5 php5 gcc g++ \ | |
make daemon libnet-snmp-perl libperl5.14 libpq5 \ | |
libradius1 libsensors4 libsnmp libcgi-pm-perl \ |
# Remove all lines starting with the "#" character | |
:g/^#/d | |
# Show line numbers | |
:set number | |
or | |
:set nu |
# Agregue lo siguiente al final del /etc/inputrc | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
"\eOA": history-search-backward | |
"\eOB": history-search-forward |