Skip to content

Instantly share code, notes, and snippets.

View pedryvo's full-sized avatar
🏠
Working from home

Pedro Ivo Dias pedryvo

🏠
Working from home
  • Brasil
View GitHub Profile
@pedryvo
pedryvo / README.md
Created April 29, 2023 01:46 — forked from equivalent/README.md
Rails 7 importmaps dropzone.js direct upload ActiveStorage

This is simple implementation of technologies in hobby project of mine built in Rails7 where I need direct upload to S3.

@pedryvo
pedryvo / rails http status codes
Created December 1, 2019 06:40 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@pedryvo
pedryvo / portfoliotext
Created June 17, 2019 14:34 — forked from josno/portfoliotext
Portfolio Bio Text & Wireframe
Headline:
"I’m a full-stack software engineer with a focus on education."
Bio:
"I’m a full-stack software engineer with a focus on education. In my past life, I was a digital media strategist and an international English teacher. From products to interactions, I live for creating joyful experiences and thrive in learning something new. You can say my continued passion for technology and learning led me here.
I see problems as opportunities to create and programming as my toolbox. You can often see me wondering out loud about developing better efficiencies on whatever project I am working on. If you are not planning on contacting me about my portfolio, I am also a certified wine taster so we can talk about that too.
ESTADOS_BRASILEIROS = [
["Acre", "AC"],
["Alagoas", "AL"],
["Amapá", "AP"],
["Amazonas", "AM"],
["Bahia", "BA"],
["Ceará", "CE"],
["Distrito Federal", "DF"],
["Espírito Santo", "ES"],
["Goiás", "GO"],
@pedryvo
pedryvo / contact.php
Created August 7, 2017 19:31 — forked from libryder/contact.php
Super simple PHP contact form in one file
<html>
<head>
<title>Contact Us</title>
</head>
<body>
<?php
if ($_POST['message']) {
$message = $_POST['message'];