npm i
./node_modules/.bin/webpack index.js
ls -l ./webpack.png ./build/webpack.png
| import 'package:flutter/services.dart'; | |
| import 'package:flutter/material.dart'; | |
| class MyIntent extends Intent { | |
| const MyIntent(this.content); | |
| final String content; | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/widgets.dart'; | |
| final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { |
| round=1;suc=1; | |
| while true | |
| if randomDucks() | |
| suc=suc+1; | |
| end | |
| round=round+1; | |
| sprintf('%f (%d/%d)', suc/round, suc, round) | |
| end |
| 移动光标类: | |
| w 到下个词开始 | |
| e 到本词最后(相当于whh,很多时候用这个而不是w) | |
| b 到本词开始/到上个词开始 | |
| { 和 } 向前/向后一个空行 | |
| % 匹配括号 | |
| gg 文件头 | |
| G 文件尾 | |
| 0 行头(第一列) | |
| ^ 行头(第一个非空字符) |
| import React, { Component } from 'react'; | |
| class MountingTest extends Component { | |
| componentDidMount() { | |
| console.warn('mount', this.props.name); | |
| } | |
| componentWillUnmount() { | |
| console.warn('unmount', this.props.name); | |
| } |
| import React, { Component, createContext } from 'react'; | |
| const ApplicationContext = createContext(); | |
| const { Provider, Consumer } = ApplicationContext; | |
| class Display extends Component { | |
| render() { | |
| console.warn('Display render') | |
| return ( |
| { | |
| "presets": [ | |
| ["es2015", { | |
| "modules": false | |
| }], | |
| "stage-0" | |
| ], | |
| "plugins": [ | |
| ["module-resolver", { | |
| "alias": { |
| { | |
| "presets": [ | |
| "es2015", | |
| "stage-0" | |
| ] | |
| } | |
| [size=150%][b]Heroes of the Storm PTR Notes — 2017年5月20日[/b][/size] | |
| Blizzard Entertainment 5/8/2017 0 | |
| [img]//bnetcmsus-a.akamaihd.net/cms/blog_header/s9/S905U982A5MG1441231839760.jpg[/img] | |
| [size=130%][b]Heroes of the Storm PTR Notes — 2017年5月20日[/b][/size] | |
| Our next Heroes of the Storm patch has just arrived to the Public Test Realm and will be available for playtesting until May 15. During this time, we kindly request your assistance in trying out some of the new content it contains before we officially release the patch to the live version of Heroes. If you encounter any bugs or other issues during your PTR play sessions, please stop by thePTR Bug Report forumto let us know about your experiences. | |
| [img]https://bnetcmsus-a.akamaihd.net/cms/content_folder_media/19RBT3IUQUYB1403137112368.png[/img] [size=130%][b]Jump to Section: [/b][/size] | |
| [img]https://bnetcmsus-a.akamaihd.net/cms/content_folder_media/KZL2FQ5Y3I9C1493853825957.jpg[/img] | |
| [list][*]新英雄 | |
| [*]美术 | |
| [*]Collection |