Skip to content

Instantly share code, notes, and snippets.

View elialejandro's full-sized avatar
😋
Be happy

Eli Alejandro elialejandro

😋
Be happy
  • Chiapas
View GitHub Profile
@efrenfuentes
efrenfuentes / numero_letras.py
Created September 26, 2012 02:29
Numero a letras (Python)
#!/usr/bin/python
# -*- coding: utf-8 -*-
__author__ = 'efrenfuentes'
MONEDA_SINGULAR = 'bolivar'
MONEDA_PLURAL = 'bolivares'
CENTIMOS_SINGULAR = 'centimo'
@digitalm
digitalm / retreave gs.txt
Last active September 23, 2020 17:41
Installing Ghostscript 9.23 ( to Amazon linux )
## to install
cd /usr/local/src/
wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/ghostscript-9.23.tar.gz
tar -zxvf ghostscript-9.23.tar.gz
cd ghostscript-9.23
./configure --disable-compile-inits --with-x --with-drivers=ALL --without-luratech --with-libiconv=gnu --prefix=/usr/local
make
make install
@xmeng1
xmeng1 / wsl2-network.ps1
Created July 14, 2019 06:50
WSL2 Port forwarding port to linux
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '"
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';
if( $found ){
$remoteport = $matches[0];
} else{
echo "The Script Exited, the ip address of WSL 2 cannot be found";
exit;
}