/assets/avatar.png

Live Long and Prosper 🖖

sublime text3 安装package control

代码安装

使用Ctrl+`快捷键或者通过View->Show Console菜单打开命令行,粘贴如下代码:

1
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())

如果顺利的话,此时就可以在Preferences菜单下看到Package Settings和Package Control两个菜单了。
顺便贴下Sublime Text2 的代码(未验证):

The five keys to a successful Google team

Pod. Work group. Committee. Autonomous collective. Whatever you call it, you’re part of one at Google and probably wherever you work: a team. So if we know what makes managers great, why don’t we know what makes a team great?

A group of us in Google’s People Operations (what we call HR) set out to answer this question using data and rigorous analysis: What makes a Google team effective? We shared our research earlier today with the Associated Press, and we’re sharing the findings here, as well.

Over two years we conducted 200+ interviews with Googlers (our employees) and looked at more than 250 attributes of 180+ active Google teams. We were pretty confident that we’d find the perfect mix of individual traits and skills necessary for a stellar team – take one Rhodes Scholar, two extroverts, one engineer who rocks at AngularJS, and a PhD. Voila. Dream team assembled, right?

为hexo添加上标、下标、脚注等功能

hexo 默认的markdown解析虽然说是 GFM 但是是不支持 上标、下标、脚注这些内容的,不过这些功能还是很实用的哦,所以你可以这么解决:

通过添加hexo插件

hexo-renderer-markdown-it

Main Features 主要功能

  • Support for MarkdownGFM and CommonMark

    支持这三种语法

  • Extensive configuration

    强大的功能配置

  • Faster than the default renderer | hexo-renderer-marked

    比hexo默认的更快

  • Safe ID for headings

  • Anchors for headings with ID

    不知道说的safeid和锚点有毛用,暂时用不到

  • Footnotes

    脚注

  • sub H~2~O

    下标

  • sup x^2^

    上标

  • ins Inserted

    下划线

互联网工作者方法论集

[TOC]

法则&定律

主要原则

格式塔原则

  • 接近性原理;
  • 相似性原理;
  • 连续性原理;
  • 封闭性原理;
  • 对称性原理;
  • 主体/背景原理;
  • 共同命运原理。

简单法则

  • 减少(REDUCE):达到简单的最简单方法,就是用心割舍。
  • 组织(ORGANIZE):妥善组织能使复杂的系统显得比较简单。
  • 时间(TIME):节省时间会让人感觉简单。
  • 学习(LEARN):知识使一切变得更简单。
  • 差异(DIFFERENCES):简单和复杂相辅相成。
  • 背景(CONNEXT):简单的周边事物决非无关紧要。
  • 感情(EMOTION):感情越多越好。
  • 信任(TRUST):我们相信简单。
  • 失败(FAILURE):有些事物不可能简单。
  • 单一(THE ONE):简单是减少明显的,增加有意义的。

使用brew安装mariadb

brew install mariadb To connect: mysql -uroot To have launchd start mariadb now and restart at login: brew services start mariadb Or, if you don’t want/need a background service you can just run: mysql.server start