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:
# DigitalOcean Free $100 Credit (Jun 2020) | |
[Use this link to Sign Up](https://m.do.co/c/396f40a88290) | |
- Activate your account by credit card or Paypal | |
- Done! Now you have free $100 credit | |
:D |
test cla |
#!/bin/bash | |
# CHANGE THESE | |
auth_email="user@example.com" | |
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) |
extrair () { | |
if [ -f $1 ] ; then | |
case $1 in | |
*.tar.bz2) tar xjf $1 ;; | |
*.tar.gz) tar xzf $1 ;; | |
*.bz2) bunzip2 $1 ;; | |
*.rar) rar x $1 ;; | |
*.gz) gunzip $1 ;; | |
*.tar) tar xf $1 ;; | |
*.tbz2) tar xjf $1 ;; |
I hereby claim:
To claim this, I am signing this object:
#!/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" |
#!/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" ] |
#!/bin/bash | |
# Kelvin Soares - kelvin@kelvinsoares.tk | |
clear | |
tput cup 4 30 | |
echo "Menu Principal - Escolha a opção desejada" | |
echo "" | |
menu() { | |
echo "" |
#!/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"; |
<?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 />"; |