Skip to content

Instantly share code, notes, and snippets.

View carloslenondavis's full-sized avatar
:octocat:
Writing....

Unknown... carloslenondavis

:octocat:
Writing....
View GitHub Profile
@carloslenondavis
carloslenondavis / index.html
Created June 11, 2021 06:20
Implementation for SMPT.JS to send email with js
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>repl.it</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<button onclick="SendMailTo()">Send Email</button>
@carloslenondavis
carloslenondavis / webpack.config.js
Created September 25, 2018 18:48
Webpack config boilerplate
const path = require('path');
const webpack = require('webpack');
const devMode = process.env.NODE_ENV !== 'production';
const publishFolder = 'publish'; // dir were bundle will be allowed.
module.exports = {
mode: 'development',
devtool: 'cheap-eval-source-map',
entry: [
//add your entry files or file
@carloslenondavis
carloslenondavis / .eslintrc.json
Created September 25, 2018 15:52
Eslint for react environment
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"jest": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:jest/recommended", "plugin:react-redux/recommended"],
"parser": "babel-eslint",
@carloslenondavis
carloslenondavis / validate-isNumber.html
Last active June 10, 2018 20:05
Validate is number in form input type text, using html5, css3 and jquery
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
</head>
<body>
@carloslenondavis
carloslenondavis / accordeon.html
Created June 10, 2018 05:57
Accordeon, using HTML5, jquery and css3
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<style>
@carloslenondavis
carloslenondavis / README-Template.md
Created February 27, 2018 05:20 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites