20-20-20-timer 中文文档教程

发布于 8年前 浏览 15 项目主页 更新于 3年前

How do I use it?

  1. Run npm install -g 20-20-20-timer
  2. To start the timer run twenty in your terminal, and press ctrl+c when you're done to end the process.
  3. If you want your prompt back straight away you can run twenty &, and the timer will run in the background.
  • to bring it back into the foreground you can run fg
  • once it's in the foreground you can press ctrl+c as normal when you're done to end the process.

Why?

Founders and Coders 的学生被鼓励参与我们所说的 20-20-20,这是一种在我们遇到困难时处理问题的方法。 花 20 分钟自己/结对解决一个问题,时间到了,你请你的同伴帮助你解决 20 分钟,时间到了,你花 20 分钟与导师一起尝试解决问题问题。
我的问题是,我从来没有这样做过,20 分钟过去了我也不知道,我想要一个应用程序来帮助我做到这一点!

What?

一个用 node.js 编写的命令行应用程序,它将每隔 20 分钟发出一次桌面通知,让您知道何时询问您的群组成员或导师

How?

使用 setInterval 检查自从使用 Javascript 日期对象启动进程以来经过的时间,并使用 node-notifier 模块以 20 分钟为间隔进行跨平台桌面通知。

Basic plan

  • run a terminal command, something like "twenty --start" -> Get a desktop notification saying "timer started, good luck"
  • After 20 minutes pass get a desktop notification saying "your twenty minutes is up! ask a cohort member"
  • after another 20 minutes get a desktop notification saying "another twenty minutes is up! ask a mentor"
  • after the final 20 minutes is up get a desktop notification saying "the whole of the 20/20/20 is up, the timer has been reset. Hoep you found a solution!"
  • run "twenty --stop" to stop, get a notification saying "problem solved! good job"

How do I use it?

  1. Run npm install -g 20-20-20-timer
  2. To start the timer run twenty in your terminal, and press ctrl+c when you're done to end the process.
  3. If you want your prompt back straight away you can run twenty &, and the timer will run in the background.
  • to bring it back into the foreground you can run fg
  • once it's in the foreground you can press ctrl+c as normal when you're done to end the process.

Why?

Students at Founders and Coders are encouraged to engage in what we call 20-20-20 which is a way to deal with problems when we get stuck. Spend 20 minutes on your own/in your pair working on a problem, when that time is up you ask members of your cohort to help you out for 20 minutes, and when that time is up you spend 20 minutes with a mentor trying to solve the problem.
My trouble is, I never do this, I never acknowledge when 20 minutes has passed, I want an app to help me do this!

What?

A command line app written in node.js, which will give desktop notifications at 20 minute intervals to let you know when to ask your cohort members or mentors

How?

Using a setInterval to check the time passed since the process was started with the Javascript date object, and using the node-notifier module for cross platform desktop notifications at 20 minute intervals.

Basic plan

  • run a terminal command, something like "twenty --start" -> Get a desktop notification saying "timer started, good luck"
  • After 20 minutes pass get a desktop notification saying "your twenty minutes is up! ask a cohort member"
  • after another 20 minutes get a desktop notification saying "another twenty minutes is up! ask a mentor"
  • after the final 20 minutes is up get a desktop notification saying "the whole of the 20/20/20 is up, the timer has been reset. Hoep you found a solution!"
  • run "twenty --stop" to stop, get a notification saying "problem solved! good job"
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文