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
#!/bin/bash | |
# Kelvin Soares - [email protected] | |
clear | |
tput cup 4 30 | |
echo "Menu Principal - Escolha a opção desejada" | |
echo "" | |
menu() { | |
echo "" |
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
#!/bin/bash | |
# Instalação da pilha LAMP | |
# Autor: Kelvin Soares - [email protected] | |
clear | |
# Variáveis das cores | |
NC="\E[0;00m"; | |
vermelho="\E[1;31m"; | |
amarelo="\E[1;33m"; | |
verde="\E[1;32m"; |
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
<?php | |
$url = "http://localhost:3000/tasks"; | |
$contents = file_get_contents($url); | |
$contents = utf8_encode($contents); | |
$results = json_decode($contents, true); | |
$info = $results; | |
foreach ($info as $r) { | |
echo "Nome: $r[name] <br />"; |
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
#!/bin/bash | |
# CHANGE THESE | |
auth_email="[email protected]" | |
auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare account settings | |
zone_name="example.com" | |
record_name="www.example.com" | |
# MAYBE CHANGE THESE | |
ip=$(curl -s http://ipv4.icanhazip.com) |
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
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
# Utilize-o em 'config/locales/', com o nome de 'devise.pt-BR.yml'. | |
# Em 'config/application.rb', utilize => config.i18n.default_locale = :'pt-BR' | |
pt-BR: | |
devise: | |
confirmations: | |
confirmed: "Sua conta foi confirmada com sucesso." | |
send_instructions: "Você receberá um e-mail para confirmar sua conta em alguns minutos." |