Small list of useful docker containers with nginx as reverse proxy using easyengine. To deploy on Debian/Ubuntu.
wget -qO- https://get.docker.com/ | sh
| // Async/Await requirements: Latest Chrome/FF browser or Babel: https://babeljs.io/docs/plugins/transform-async-to-generator/ | |
| // Fetch requirements: Latest Chrome/FF browser or Github fetch polyfill: https://github.com/github/fetch | |
| // async function | |
| async function fetchAsync () { | |
| // await response of fetch call | |
| let response = await fetch('https://api.github.com'); | |
| // only proceed once promise is resolved | |
| let data = await response.json(); | |
| // only proceed once second promise is resolved |
| select pp.sobrenome, d.nome | |
| from universidade.professor p natural join universidade.pessoa pp | |
| join universidade.leciona l using (mat_professor) | |
| join universidade.turma t using (id_turma) | |
| join universidade.disciplina d using (cod_disc); | |
| select pp.sobrenome, pe.sobrenome | |
| from universidade.professor p natural join universidade.pessoa pp | |
| join universidade.plano plano using (mat_professor) | |
| join universidade.estudante e using (mat_estudante) |
| select pp.sobrenome, d.nome | |
| from universidade.professor p natural join universidade.pessoa pp | |
| join universidade.leciona l using (mat_professor) | |
| join universidade.turma t using (id_turma) | |
| join universidade.disciplina d using (cod_disc); | |
| select pp.sobrenome, pe.sobrenome | |
| from universidade.professor p natural join universidade.pessoa pp | |
| join universidade.plano plano using (mat_professor) | |
| join universidade.estudante e using (mat_estudante) |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <style> | |
| * { | |
| box-sizing: border-box; | |
| } | |
| #myInput { |
| /** | |
| * Optimize image image | |
| * | |
| * https://developers.google.com/speed/docs/insights/OptimizeImages | |
| * -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace sRGB | |
| * | |
| * @access public | |
| * @param string $filePath Path of the file | |
| * @return string Raw image result from the process | |
| */ |
| import React, { useState } from 'react'; | |
| import axios from 'axios'; | |
| export default function Lista () { | |
| const [cep, setCep] = useState({ cep: '' }); | |
| const [informacoes, setInformacoes] = useState({ | |
| cep: '', | |
| logradouro: '', | |
| complemento: '', |
| { | |
| "manha_entrada": "", | |
| "manha_saida": "", | |
| "tarde_entrada": "", | |
| "tarde_saida": "", | |
| } |
Muitos sites em PHP possuem uma página que é um script para enviar o email de contato ou tratar o preenchimento de algum formulário.
Para fazer com que essa página envie os dados para o CRM do RD Station, é só inserir nosso script de integração em seu código e fazer a chamada quando for controlar a submissão dos dados.
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
| <div class="container"> |