请选择 进入手机版 | 继续访问电脑版

技术控

    今日:67| 主题:57491
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] Lightweight time-management CLI tool

[复制链接]
你会发光但我怕烫 投递于 2016-10-4 04:17:46
282 4
Ding  

   

Lightweight time-management CLI tool

Lightweight time-management CLI tool-1-技术控-compatible,management,download,Windows,includes

   Tired of $ sleep 4231; beep ? This is a very simple solution to help with short-term time management. The beep sound uses the motherboard audio, so it works even if your speakers are muted, but not if you muted the PC speakers      :stuck_out_tongue:   . Furthermore, it works wherever there's a Linux terminal, and that includes ssh sessions.
  
       
  • No dependencies other than Python itself        :dizzy:   
  • Install with pip or just copy the binary somewhere in $PATH        :sparkles:   
  • Python2 and Python3 compatible        :star2:   
  • Around 100 LOC        :boom:   
  • Runs on Linux, OS X, Windows, and maybe more        :tada:  
  Installation

  1. $ pip install ding-ding
复制代码
  ( ding was taken)
   Alternatively, download theding.py file and run it however you please.
  1. $ ./ding.py in 1s
复制代码
Scenarios

  
       
  • You want to start work after browsing the news for a bit, but you don't want to get carried away and do no work. Set a timer for 15 minutes:  
  1. $ ding in 15m
复制代码

       
  • You need to leave at 17:00 and you want to have time to get ready:  
  1. $ ding at 16:45
复制代码

       
  • Pomodoro technique  
  1. $ alias pomo="ding in 25m"
  2. $ pomo
复制代码
Example usage:

  1. # Relative time
  2. $ ding in 2m
  3. $ ding in 2h 15m
  4. $ ding in 2m 15s
  5. # Absolute time
  6. $ ding at 12
  7. $ ding at 17:30
  8. $ ding at 17:30:21
复制代码



上一篇:Rocker – explanation and motivation for Docker containers usage in applications
下一篇:An exercise in futility
shuyinejiao 投递于 2016-10-4 05:58:41
好好顶贴,天天向上!
回复 支持 反对

使用道具 举报

a7112595a 投递于 2016-10-8 02:54:48
天空飘过五个字,那都不是事。
回复 支持 反对

使用道具 举报

蒋孟岑 投递于 2016-11-13 21:50:06
你会发光但我怕烫英明!
回复 支持 反对

使用道具 举报

左手的聖光 投递于 2016-11-17 18:31:41
一脸的虚假繁荣。
回复 支持 反对

使用道具 举报

我要投稿

推荐阅读


回页顶回复上一篇下一篇回列表
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 | 粤公网安备 44010402000842号 )

© 2001-2017 Comsenz Inc.

返回顶部 返回列表