Skip to content

Instantly share code, notes, and snippets.

Giancarlos Salas giansalex

Block or report user

Report or block giansalex

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am giansalex on github.
  • I am giansalex ( on keybase.
  • I have a public key ASA557wjx9Zy1Gd1nmi4v6PI3tsmhg6MSOpIuChAHC3t0wo

To claim this, I am signing this object:

giansalex / trama-soap-greenter.xml
Created Oct 7, 2019
Ejemplo de trama XML enviada por el cliente SOAP (greenter) al consultar el estado del CDR
View trama-soap-greenter.xml
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:ns1="" xmlns:ns2="">
<o:Password xmlns:o="" Type="">moddatos</o:Password>
giansalex / create-ssl-dns.ps1
Created Sep 10, 2019
Create SSL Certificate LetsEncrypt with DNS Recorde Validation
View create-ssl-dns.ps1
docker run -t --rm -v "${pwd}":/appc certbot/certbot certonly --manual --preferred-challenges=dns --email --agree-tos --config-dir /appc/config --logs-dir /appc/logs --work-dir /appc/workdir -d *
giansalex / .bashrc
Last active Sep 9, 2019
Git Commands Alias
View .bashrc
alias gs='git status'
alias ga='git add'
alias gl='git pull'
alias gp='git push'
alias gc='git clone'
alias gck='git checkout'
alias ga='git add'
alias grh='git reset HEAD~1'
alias gm='git merge'
alias gcm='git commit -m '
giansalex / phpserver.reg
Created Feb 28, 2019
PHP Server from directory (Windows context menu)
View phpserver.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\PHP Server]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\PHP Server\command]
@="C:\\xampp\\php\\php.exe -S -t %1"
giansalex / myproject.csproj
Created Jan 26, 2019
ConnectionString ASP.NET MVC for Teams
View myproject.csproj
<Target Name="BeforeBuild">
<Copy SourceFiles="$(ProjectDir)\database.default.config" DestinationFiles="$(ProjectDir)\database.config" Condition="!Exists('$(ProjectDir)\database.config')" />
View database.config
<?xml version="1.0" encoding="UTF-8"?>
<add name="default" connectionString="Data Source=.;Initial Catalog=DB_A;" providerName="System.Data.SqlClient" />
View web.config
<?xml version="1.0" encoding="UTF-8"?>
<connectionStrings configSource="database.config" />


go get -u


PREST_PG_USER=postgres \
PREST_PG_PASS=123456 \
giansalex /
Last active Jan 3, 2020
Sonarqube Docker Compose

SonarQube Docker

  • Create a directory for project
  • Copy docker-compose.yml
  • Create /extensions in project directory.
  • Run docker-compose up -d
You can’t perform that action at this time.