Generate a good README use `npx` commmd.
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
```language | |
Object.flatten = function(obj){ | |
var result = {}; | |
function recurse(src, prop) { | |
var toString = Object.prototype.toString; | |
if (toString.call(src) == '[object Object]') { | |
var isEmpty = true; | |
for (var p in src) { | |
isEmpty = false; |
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 from 'react'; | |
import { asField } from 'informed'; | |
import { Form, Input } from 'antd'; | |
const AntdInput = asField(({ fieldState, fieldApi, ...props }) => { | |
const { value } = fieldState; | |
const { setValue, setTouched } = fieldApi; | |
const { | |
onChange, | |
onBlur, |
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
<!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>data</title> | |
</head> | |
<body> | |
<iframe |
Basic Flowchart from https://mermaidjs.github.io/demos.html
```mermaid graph LR A[Square Rect] -- Link text --> B((Circle))
These rules are adopted from the AngularJS commit conventions.
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
#!/bin/bash | |
# For More Info http://clivern.com/how-to-install-apache-tomcat-8-on-ubuntu-16-04 | |
sudo apt-get update | |
sudo apt-get install default-jdk | |
sudo apt-get install unzip | |
cd /opt | |
curl -O http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.5.15/bin/apache-tomcat-8.5.15.zip | |
sudo unzip apache-tomcat-8.5.15.zip | |
sudo mv apache-tomcat-8.5.15 tomcat |
NewerOlder