Skip to content

Instantly share code, notes, and snippets.

View jimmyalcala's full-sized avatar
🏠
Working from home

Jimmy Alcalá jimmyalcala

🏠
Working from home
View GitHub Profile
@jimmyalcala
jimmyalcala / squid.conf
Created July 17, 2018 15:35
squid proxy file (/etc/squid/squid.conf)
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
@jimmyalcala
jimmyalcala / bancos.json
Last active September 18, 2017 16:11
Lista de Bancos con código, para importar en mongo: mongoimport --jsonArray --db basedatos --collection coleccion --type json --file "bancos.json"
[
{
"codigo": "0001",
"nombre": "Banco Central de Venezuela",
"nombreCorto": "BCV"
},
{
"codigo": "0003",
"nombre": "Banco Industrial de Venezuela, C.A. Banco Universal" ,
"nombreCorto": "Industrial"
@jimmyalcala
jimmyalcala / gist:323829029325614b731d
Created February 18, 2016 02:16
Listado de Bancos con codigos de Venezuela
<select id="input" class="form-control" ng-model="pago.bancodonde" required="required">
<option value="0001"> Banco Central de Venezuela</option>
<option value="0003"> Banco Industrial de Venezuela, C.A. Banco Universal</option>
<option value="0102"> Banco de Venezuela S.A.C.A. Banco Universal</option>
<option value="0104"> Venezolano de Crédito, S.A. Banco Universal</option>
<option value="0105"> Banco Mercantil, C.A S.A.C.A. Banco Universal</option>
<option value="0108"> Banco Provincial, S.A. Banco Universal</option>
<option value="0114"> Bancaribe C.A. Banco Universal</option>
<option value="0115"> Banco Exterior C.A. Banco Universal</option>
<option value="0116"> Banco Occidental de Descuento, Banco Universal C.A.</option>
body{
margin:20px;
}
.tt{
text-decoration:underline;
}
tooltip.active {
opacity: 1;
#!/bin/bash
### MySQL Server Login Info ###
MUSER="root"
MPASS="MYSQL-ROOT-PASSWORD"
MHOST="localhost"
MYSQL="$(which mysql)"
MYSQLDUMP="$(which mysqldump)"
BAK="/backup/mysql"
GZIP="$(which gzip)"
### FTP SERVER Login info ###
@jimmyalcala
jimmyalcala / gist:4185857
Created December 1, 2012 23:20 — forked from JeffreyWay/gist:3185773
PHP Installation Options
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/private/etc \
--with-apxs2=/usr/sbin/apxs \
--enable-cli \
--with-config-file-path=/etc \
--with-libxml-dir=/usr \
--with-openssl=/usr \
@jimmyalcala
jimmyalcala / .bash_prompt
Created December 1, 2012 23:19
.bash Style Jeffrey way
# Sexy Bash Prompt, inspired by "Extravagant Zsh Prompt"
# Screenshot: http://img.gf3.ca/d54942f474256ec26a49893681c49b5a.png
# A big thanks to \amethyst on Freenode
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then export TERM=gnome-256color
elif [[ $TERM != dumb ]] && infocmp xterm-256color >/dev/null 2>&1; then export TERM=xterm-256color
fi
if tput setaf 1 &> /dev/null; then
tput sgr0