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 * as autoprefixer from "autoprefixer"; | |
| import * as express from "express"; | |
| import { | |
| Bundle, | |
| CSSPlugin, | |
| FuseBox, | |
| FuseBoxOptions, | |
| ImageBase64Plugin, | |
| JSONPlugin, | |
| PlainJSPlugin, |
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 * as React from "react"; | |
| import { ThemedStyledFunction } from "styled-components"; | |
| const themed = <IComponentProps, U extends HTMLElement = HTMLElement>( | |
| styled: ThemedStyledFunction<any, any>, | |
| ): ThemedStyledFunction<IComponentProps & React.HTMLProps<U>, any> => styled; | |
| export default themed; | |
| // eg. |
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 sys | |
| import time | |
| def view(cond, duration): | |
| progressBarChar = '-\|/' | |
| pos = 0 | |
| while cond(): | |
| print(progressBarChar[pos], sep='', end='', flush=True) | |
| pos = (pos + 1) % len(progressBarChar) | |
| time.sleep(duration) |
NewerOlder