View keybase.md

Keybase proof

I hereby claim:

  • I am kelvinvenancio on github.
  • I am kelvinsoares (https://keybase.io/kelvinsoares) on keybase.
  • I have a public key whose fingerprint is B5D1 6294 DEFB 0FEA 9EF6 0282 764D 4D2C 4952 8D17

To claim this, I am signing this object:

View create
#!/bin/bash
# create vSwap
dd if=/dev/zero of=/swapfile count=2048 bs=1M
chmod 600 /swapfile
ls -lh /swapfile
mkswap /swapfile -f
swapon /swapfile
free -m
echo "adicione a linha abaixo no /etc/fstab"
echo "/swapfile none swap sw 0 0"
View quick_github_commit.sh
#!/bin/bash
# Kelvin Soares - kelvinvenanciosoares@gmail.com - kelvinsoares.tk
cd /home/bolado/git/IRCBot
git add .
git status
echo "Do you want to commit ? (y/n)"
read CHOICE
if [ $CHOICE == "y" ]
View verify_dns.sh
#!/bin/bash
# Kelvin Soares - kelvin@kelvinsoares.tk
clear
tput cup 4 30
echo "Menu Principal - Escolha a opção desejada"
echo ""
menu() {
echo ""
View lamp.sh
#!/bin/bash
# Instalação da pilha LAMP
# Autor: Kelvin Soares - kelvinvenanciosoares@gmail.com
clear
# Variáveis das cores
NC="\E[0;00m";
vermelho="\E[1;31m";
amarelo="\E[1;33m";
verde="\E[1;32m";
View name.php
<?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 />";
View devise.pt-BR.yml
# 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."