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="container"> | |
<div class="card"> | |
<div class="front"> | |
<h1>MacBook Pro</h1> | |
</div> | |
<div class="back"> | |
<h1>For developers, Content Creators and us all</h1> | |
</div> | |
</div> | |
</div> |
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
<?php | |
public function searchProducts() { | |
$api = $this->api; | |
$params = $api->request()->get(); | |
$name = ArrayUtils::get($params, 'name'); | |
$description = ArrayUtils::get($params, 'description'); | |
if(!$name && !$description) { | |
return $api->response([ |
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
<?php | |
/** | |
* @package Sql Query Builder | |
* @author Davison Pro <[email protected] | https://davisonpro.dev> | |
* @copyright 2019 Sql Query Builder | |
* @version 1.0.0 | |
* @since File available since Release 1.0.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
CREATE TABLE IF NOT EXISTS `product` ( | |
`product_id` INT(11) NOT NULL AUTO_INCREMENT, | |
`name` VARCHAR(32) NOT NULL, | |
`description` TEXT NOT NULL, | |
`price` FLOAT(10,2) NOT NULL DEFAULT 0.00, | |
`category_id` INT(11) NOT NULL, | |
`date_upd` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, | |
`date_add` DATETIME NOT NULL, | |
PRIMARY KEY (`product_id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT = 65; |
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
const autoprefixer = require("autoprefixer"); | |
const CheckerPlugin = require("fork-ts-checker-webpack-plugin"); | |
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
const path = require("path"); | |
const url = require("url"); | |
const webpack = require("webpack"); | |
const BundleTracker = require("webpack-bundle-tracker"); | |
const resolve = path.resolve.bind(path, __dirname); |
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
{ | |
"extends": [ | |
"tslint:latest", | |
"tslint-config-prettier" | |
], | |
"rules": { | |
"interface-name": false, | |
"max-classes-per-file": false, | |
"member-access": [true, "no-public"], | |
"no-console": [true, "log"], |
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
{ | |
"compilerOptions": { | |
"jsx": "react", | |
"lib": ["es2017", "dom", "esnext"], | |
"sourceMap": true, | |
"target": "es5", | |
"noUnusedLocals": true, | |
"noUnusedParameters": true | |
} | |
} |
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": "reactjs-mail-check", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.ts", | |
"author": "Davison Pro", | |
"engines": { | |
"node": ">=10.6.0", | |
"npm": ">=6.1.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 ReactDOM from "react-dom"; | |
import MailCheck from "react-mailcheck"; | |
import "./styles.scss"; | |
class EmailForm extends Component { | |
state = { | |
email: "" | |
}; |
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
* { | |
box-sizing: border-box; | |
outline: none; | |
} | |
body, html { | |
height: 100%; | |
margin: 0; | |
padding: 0; | |
background-color: #efefef; |