for n in $(cat heroku-hosting)
do
#pega nome do repositorio
nomeRepositorio=$(echo "$n" | grep "(\/).*$" -oP | sed -s 's/\///')
git clone $n slide
cd slide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/sh | |
timestamp=$(date +%d-%m-%Y) | |
codigo=$1; | |
documento=$2 | |
curl 'https://servicosonline.cpfl.com.br/agencia-webapi/api/via-pagamento/validar-situacao' \ | |
-H 'authority: servicosonline.cpfl.com.br' \ | |
-H 'pragma: no-cache' \ | |
-H 'cache-control: no-cache' \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wordpress AWS-Bitnami Cheatsheet | |
#### Removing Banner | |
`sudo /opt/bitnami/apps/APPNAME/bnconfig --disable_banner 1` | |
#### Restart Server | |
- APACHE: `sudo /opt/bitnami/ctlscript.sh restart apache ` | |
- NGINX: `sudo /opt/bitnami/ctlscript.sh restart nginx` | |
#### Acessing phpmyadmin |
Após a configuração inicial, precisamos configurar algumas coisas para conseguir disparar o SMS:
- Cadastrar um novo Host SMPP (connector)
- Startar o novo connector
- Configurar uma rota que utilize esse connector
- Criar um novo grupo/user que consiga consumir a HTTP API do Jasmin para disparar a SMS
- Consumir a HTTP API para disparar
Passo-a-passo para rodar o JasminSMS localmente com o Docker
docker pull jookies/jasmin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |