https://react-bootstrap.github.io/
- no webpack dependencies
- requires less-loader
https://react-bootstrap.github.io/
const React = require('react'); | |
const rome = require('rome'); | |
const moment = require('moment'); | |
const RomeCalendar = React.createClass({ | |
propTypes: { | |
name: React.PropTypes.string.isRequired, | |
handleChange: React.PropTypes.func, | |
id: React.PropTypes.string, | |
jqm: React.PropTypes.bool, |
const getAndIgnoreFail = (fn) => { | |
return fn.catch(err => []); | |
}; | |
Promise.all([ | |
getAndIgnoreFail(axios.get('whatever')), | |
getAndIgnoreFail(axios.get('whatever2')), | |
getAndIgnoreFail(axios.get('whatever3')), | |
... | |
]).then(([whatever1, whatever2, whatever3, ...]) => { |
I hereby claim:
To claim this, I am signing this object:
upstream ghost_upstream { | |
server 127.0.0.1:2368; | |
keepalive 64; | |
} | |
server { | |
server_name blog.chenghiz.net; | |
add_header X-Cache $upstream_cache_status; | |
location / { | |
proxy_cache STATIC; |
.deployment
file in your project root (see example). This tells Kudu (Azure's deployment engine) what else it needs to do beyond copying the files. https://github.com/projectkudu/kudu/wiki/Customizing-deploymentsdiskutil ls
. It'll be something like disk2
. subsequent devices e.g. disk2s1
are partitions of that device, one of which shows up in /Volumes
as an external drive./Volumes
(eject or diskutil unmount <path to partition>
). the path to the partition will be like /dev/disk2s1
.sudo dd if=<path to iso image> of=<path to device> bs=1048576
. the path to the device will be like /dev/disk2
.reference: https://community.linuxmint.com/tutorial/view/744
const stepsConstructor = children.map(el => { | |
const step = el.props; | |
return { | |
settings: { | |
name: step.name, | |
status: step.status | |
}, | |
options: step.options | |
}; | |
}); |
import React, { Component } from "react"; | |
import { Link, Redirect } from "react-router-dom"; | |
import SweetAlert from "sweetalert2-react"; | |
import { connect } from "react-redux"; | |
import { Card, Form, Button, Divider } from "semantic-ui-react"; | |
import "../../../../css/style.css"; | |
import HomePageHeader from "../Headers/HomePageHeader"; | |
import MainFooter from "../Footers/MainFooter"; |