Skip to content

Instantly share code, notes, and snippets.

View terracenter's full-sized avatar

Freddy Taborda terracenter

View GitHub Profile
@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,…)
#!/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 / 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"
@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 / 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 / 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

Install Google Fonts

Download desired fonts

https://fonts.google.com/?selection.family=Open+Sans

Install Google Fonts on Ubuntu

cd /usr/share/fonts
sudo mkdir googlefonts
cd googlefonts
sudo unzip -d . ~/Downloads/Open_Sans.zip

@terracenter
terracenter / atajos-VSCode.md
Created August 12, 2022 20:24 — forked from Heipry/atajos-VSCode.md
Atajos globales y personalizados de VSCode para teclado uk y es

Vscode Atajos

  • Mover linea - Alt + ↑ / ↓
  • Copiar linea - Shift + Alt + ↑ / ↓
  • Seleccionar todas las apariciones - Ctrl + Shift + L
  • Crear múltiples cursores - Ctrl + Alt+ ↑ / ↓
  • Selección multiple - Alt + Click
  • Mover bloque - Seleccionar . Alt + ↑ / ↓
  • Copiar bloque - Seleccionar . Shift + Alt + ↑ / ↓
  • Comentar linea - Ctrl + \ || esp(Ctrl + ç)
@terracenter
terracenter / php-docker-ext
Created October 25, 2022 16:06 — forked from hoandang/php-docker-ext
Complete list of php docker ext
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/