Skip to content

Instantly share code, notes, and snippets.

View terracenter's full-sized avatar

Freddy Taborda terracenter

View GitHub Profile
@terracenter
terracenter / build_mysql.sh
Last active January 5, 2018 21:06 — forked from shichao-an/build_mysql.sh
Build and install MySQL 5.1 from source on Ubuntu 14.04
#!/bin/bash
# Run as root
set -e
apt-get update
apt-get install -y build-essential
apt-get install -y libncurses5-dev
useradd mysql
@terracenter
terracenter / odoo_apache.md
Created April 7, 2017 18:20
Instalación y configuración de [Odoo 8.0 + Apache + mod_wsgi] en entornos de producción

##Instalación y configuración de [Odoo 8.0 + Apache + mod_wsgi] en entornos de producción Guía de instalación de Odoo 8.0 en entornos GNU/Linux con Apache y mod_wsgi como puerta de enlace. ###El cuento corto NOTA: En ésta guía rápida no se explican los comandos básicos de bash ni el sistema de archivos de entornos GNU/Linux. ####Instalación de las dependencia y recomendaciones de Odoo para la versión 8.0

$ aptitude install adduser postgresql-client python python-dateutil python-decorator python-docutils python-feedparser python-imaging python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-passlib python-psutil python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-pypdf python-reportlab python-requests python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-werkzeug python-xlwt python-yaml antiword graphviz ghostscript postgresql python-gevent poppler-utils git libapache2-mod-wsgi

####Configuración de Po

@terracenter
terracenter / mysql-backUp.sh
Created April 2, 2016 03:30 — forked from altmas5/mysql-backUp.sh
dump/backup all mysql local databases
#!/bin/bash
# Ruta en la que se guarda el log de la operacion de backup.
logfile="/var/backup/mysql/backUp.log"
# Ruta en la que guardar los backups
backup_dir="/var/backup/mysql"
# Usuario
username="root"
@terracenter
terracenter / kannel.conf
Created April 2, 2016 03:29 — forked from altmas5/kannel.conf
kannel conf file for Huawei E153 and ZTE mf626
group = core
admin-port = 13000
admin-password = foo
status-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "*.*.*.*"
log-file = "/var/log/kannel/bearerbox.log"
access-log = "/var/log/kannel/access.log"
store-type = file
store-location = "/var/log/kannel/queue.log"
#!/bin/bash -xv
### Country list
# CHANGE WITH YOUR COUNTRIES
COUNTRIES="europe/france/guadeloupe europe/france/guyane europe/france/mayotte europe/france/martinique europe/france/reunion europe/france"
# SMALL SUBSET FOR TESTING:
COUNTRIES="europe/france/guyane europe/france/mayotte"
NOMINATIM="/var/www/Nominatim"
cd $NOMINATIM/data
@terracenter
terracenter / atajosEclipse.textile
Created October 8, 2015 15:08 — forked from bertocq/atajosEclipse.textile
Atajos de teclado para Eclipse

Atajos de teclado para Eclipse (y derivados como ZendStudio)

Para editar un comando: Window → Preferences → General → Keys

Edición

Ctrl+D elimina la línea actual (en la que se encuentra el cursor)
Ctrl+Shift+F formatear código (tabulaciones, saltos de línea,…)