Uma lista de eventos de tecnologia que julgo interessantes:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from locust import HttpLocust, task, TaskSet, Locust | |
| class UserBehavior(TaskSet): | |
| @task(2) | |
| def index(self): | |
| self.client.get("/") | |
| class MyLocust(HttpLocust): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @WebServlet(name = "Anunciar2", urlPatterns = "/Anunciar2") | |
| public class Anunciar2 extends HttpServlet{ | |
| int idUsu=0,result; | |
| String categoria,bairro,preco,rua,faceContato,nome,telContato,descricao; | |
| String imagem; | |
| String tempDir = "C:\\Users\\Vinic\\Documents\\NetBeansProjects\\AnnounSee\\web\\Assets\\"; | |
| @Override | |
| protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { | |
| MultipartRequest mreq = new MultipartRequest(req,tempDir,1888888); | |
| idUsu =Integer.parseInt(req.getSession(false).getAttribute("id").toString()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"lastUpload":"2018-11-13T16:20:06.999Z","extensionVersion":"v3.2.0"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import './css/side-menu.css'; | |
| import { BrowserRouter, Route, Switch, Link } from 'react-router-dom'; | |
| import AutorBox from './Components/Autor/Autor'; | |
| class App extends Component { | |
| render() { | |
| return ( | |
| <BrowserRouter> | |
| <div id="layout"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DB_HOST='127.0.0.1' | |
| DB_PASSWORD='password' | |
| DB_USER='root' | |
| DB_PORT=3306 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "server.js", | |
| "scripts": { | |
| "start": "cross-env NODE_ENV=production node server.js", | |
| "develop": "cross-env NODE_ENV=development node server.js" | |
| }, | |
| "keywords": [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function createDBConnection() { | |
| return mysql.createConnection({ | |
| multipleStatements: true, | |
| host: process.env.DB_HOST, | |
| port: process.env.DB_PORT, | |
| user: process.env.DB_USER, | |
| database: process.env.DB_NAME, | |
| password: process.env.DB_PASSWORD | |
| }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="filter__price-values"> | |
| <span>R$1</span> | |
| <span>R$2</span> | |
| </div> | |
| <div class="content"> | |
| <div id='id66' class="range"> | |
| <div id='id66b' class='range__between'></div> | |
| <button id='id661' class="range__button_1"></button> | |
| <button id='id662' class="range__button_2"></button> | |
| <input id='id66i1' class='range_inpt1' type='number' min='20' max='700'> |
OlderNewer