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 { RouterContext } from 'react-router' | |
| import _ from 'lodash' | |
| export default class AsyncComp extends React.Component { | |
| constructor(props, context) { | |
| super(props, context) | |
| this.state = { | |
| loading : false, | |
| currentProp: props, |
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
| package com.tanapoln.utils; | |
| import java.time.Clock; | |
| import java.time.Instant; | |
| import java.time.LocalDateTime; | |
| import java.time.ZoneId; | |
| /** | |
| * {@code TimeMachine} provide a central method for accessing system time with an ease on testing.<br> |
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
| .border() { | |
| &:after { | |
| border: 1px solid black; | |
| } | |
| } | |
| .border() { | |
| &:after { | |
| border: 1px solid red; | |
| } |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
NewerOlder