from Beijing, focus on Javascript, ReactJS.
Discover gists
This file contains 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
{ | |
"manifest_version": 2, | |
"name": "AWS Console", | |
"description": "Just a shortcut to AWS Management Console", | |
"version": "1.0", | |
"icons": { | |
"128": "icon-128.png" | |
}, | |
"app": { | |
"urls": [ |
This is a collection of awesome tools, that I use for daily work.
convert code snippets to image: png, jpg
https://prezi.com/dashboard/next/#ease-modal
- simple design with drag and drop
- pretty template
- cool animation
- image resources and style template
In short, do his daily practice of:
- I eat well, i dont eat junk food
- I sleep well (8 hours/day). I used to never sleep. Sleeping is the key to ALL health
- I dont drink. Drinking is a depressant and has a lot of sugar.
- I only engage with positive people. ELIMINATE all negative people from your life. NEVER gossip
- I read every day. 2 hours. Books. not web.
- I write 10 ideas a day. Doesn't matter what kind of ideas. The key is to get the idea muscle going.
This file contains 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 { Route, Redirect } from 'react-router-dom'; | |
const PrivateRoute = ({ component: Component, authed, ...rest }) => ( | |
<Route | |
{...rest} | |
render={props => ( | |
authed | |
? <Component {...props} /> | |
: <Redirect to="/login" /> |
NewerOlder