Skip to content

Instantly share code, notes, and snippets.

View eltonmarques96's full-sized avatar
:shipit:
Always coding

Elton Marques dos Santos eltonmarques96

:shipit:
Always coding
View GitHub Profile
@umidjons
umidjons / index.html
Last active January 6, 2024 18:46
Upload File using jQuery.ajax() with progress support
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Upload File using jQuery.ajax() with progress support</title>
</head>
<body>
<input type="file" name="file" id="sel-file"/>
@slvnperron
slvnperron / content.yml
Created May 24, 2017 23:33
This is an example of how to build a form in Botpress using three different ways
misunderstand:
- I don't understand this.
done:
- 🎈
- We're all done then :)
ask_gender:
- text: What is your gender?
quick_replies:
@mohanramphp
mohanramphp / DateTime.js
Created January 9, 2019 08:52
DateTime Component using React hooks
import React, { useState, useEffect } from 'react';
export const DateTime = () => {
const [dateTime, setDateTime] = useState(new Date());
useEffect(() => {
const id = setInterval(() => setDateTime(new Date()), 1000);
return () => {
clearInterval(id);
}
module.exports = {
env: {
browser: true,
es6: true,
jest: true,
},
extends: [
'react-app',
'airbnb',
'plugin:@typescript-eslint/recommended',
server {
server_name testdeploy.rocketseat.com.br;
location / {
proxy_pass http://127.0.0.1:3333;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;