HOME
  1. ECharts 如何居中图表

    比如设置图表宽度 80%, 那么再设置左偏移量为 10% 就可以了。没有(或者没有找到)类似 CSS text-align: center 这种设置。 const series = [ { type: 'funnel', left: '10%', width: '80%', ... } ]; ...

    • 03 Jan 2020
  2. Angular Quick Manual

    you can't access private members in your templates if you want to use ahead-of-time compilation. (https://stackoverflow.com/a/43177386/2609042) ...

    • 17 Jul 2019
  3. mac 使用多显示器或者 Airplay 时如何指定主显示器

    如图,拖动小白条,小白条所在的显示器即为主显示器。 ...

  4. Vim Cheat Sheet

    This article will be continuously updated. Moving around h j k l move left up down right ONE character. 5 h move 5 characters towards left. gg jump to the first line. 5 G jump to the fifth line. Editing ~ toggle case of ONE character, or N continuous characters with motion. like 4u to change ...

  5. Failed my driving tests

    Failed my driving tests today. ...

  6. 拒绝 HHKB-BT 丑陋的大鼻子,HHKB Pro2 魔改有线变无线

    现在在用的键盘是 2015 年买的 HHKB Pro 2 黑色无刻版,每天带着它上下班,它已经成为我生活的一部分了。对我来讲,它唯一的不足,就是需要连这一根 USB 线(甚至是 micro USB,想换一根线都不好买),所以后面又有了官方的蓝牙版,但是蓝牙版外置电池仓丑出天际。 因此,在我刚知道 YDKB 的魔改方案后就毫不犹豫地下单了。这套方案不需要改动键盘的外壳,替换过程也很简单。 拧开外壳螺丝钉,拧开主控 PCB 的螺丝钉,拔掉排线,排线插上 YDKB 的主控板,把电池固定,电池连上主控板,拧上主控板的螺丝钉,合上键盘外壳并拧上螺丝,结束。 可选的是,如果你用的是白色的外壳,可以焊接 ...