Skip to content

Instantly share code, notes, and snippets.

View pedroribeirodev's full-sized avatar
🖥️

Pedro Henrique Ribeiro pedroribeirodev

🖥️
View GitHub Profile
@pedroribeirodev
pedroribeirodev / html
Created July 23, 2018 16:15
Input em HTML
<input type="date" id="no-spin" onkeypress="return false" name="date" min="" max="">
<?php
if (!session_id()) {
session_start();
}
define('__ROOT__', dirname(__FILE__));
require_once __ROOT__."/vendor/phpmailer/phpmailer/PHPMailerAutoload.php";
$email = explode(";", $_POST["email"]);
$(function (e) {
$("form").on("submit", function() {
e.preventDefault();
var request = gapi.client.youtube.search.list({
part: "snippet",
type: "video",
q: encodeURIComponent($("#search").val()).replace(/%20/g, "+"),
maxResults: 3,
order: "viewCount",
publishedAfter: "2015-01-01T00:00:00Z"
<div class="container h-100 align-items-center">
<div class="carousel-caption r-0 l-0" style="right:0; left:0;">
<div class="row justify-content-between align-items-center">
<div class="col-md-2 col-xs-12 text-center text-xl-left">
<img class="" id="tremdjovem-logo" src="static/img/logo-tremd-jovem.png" alt="Trem de Jovem">
</div>
<div class="col-md-7 col-sm-12">
<div class="col-sm-12 col-xm-11 mt-4 input-group">
<span if="success_message"></span>
var string = "<div class='item'>"+
"<h2>" + item.snippet.title + "</h2>" +
"<iframe class='video w100' width='640' height='360' src='https://www.youtube.com/embed/" + item.id.videoId + "' frameborder='0' allowfullscreen></iframe>"
"</div>";
"items": [
{
"id": "1286",
"wall": "SOUTH",
"x": "-175",
"y": "0"
},
{
"id": "1294",
"wall": "SOUTH",
{% extends 'base.html' %}
{% block main %}
<section class="header" style="height: 100vh">
<div class="container h-100 d-block">
<div class="row justify-content-center align-items-center h-50">
<div class="col-md-3">
<img class="" id="tremdjovem-logo" src="static/img/logo-tremd-jovem.png" alt="Trem de Jovem">
</div>
<div class="col-md-7">
<div class="input-group mb-3">
{
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Dracula",
"window.zoomLevel": 0,
"editor.fontFamily": "Fira Code",
"editor.fontSize": 14,
"editor.lineHeight": 24,
"editor.fontLigatures": true,
"editor.formatOnSave": true,
"editor.rulers": [80, 120],
@pedroribeirodev
pedroribeirodev / html
Last active August 22, 2019 14:25
assinatura sollides
<html>
<body>
<table>
<style>
@import url("https://fonts.googleapis.com/css?family=Lato|Roboto&display=swap");
table {
font-family: "Lato", sans-serif;
}
</style>
<thead>