• b1_585546
  • 4.1KB
  • zip
  • 0
  • VIP专享
  • 0
  • 2022-06-13 13:04
人工任务经理 安装 安装numpy , pandas和fuzzywuzzy 。 克隆仓库。 将以下宏添加到您的.bashrc文件中,并将存储库的位置替换为DIR htm () { cPWD= $( pwd ) cd DIR python -c " from htm import *; print( $1 ) " cd $cPWD } # For piping htmp () { cPWD= $( pwd ) cd DIR python -c " from htm import *; print( $1 .to_markdown()) " cd $cPWD } alias hs= ' htm "sample()" ' alias hsh= ' htm "samplehours()" ' alias he= ' htm "e
  • htm-master
  • README.md
  • htm.py
  • tasks.csv
# Human Task Manager ## Installation Install `numpy`, `pandas`, and `fuzzywuzzy`. Clone the repo. Add the following macros to your `.bashrc` file, and replace the location of the repo to `DIR` ```bash htm() { cPWD=$(pwd) cd DIR python -c "from htm import *; print($1)" cd $cPWD } # For piping htmp() { cPWD=$(pwd) cd DIR python -c "from htm import *; print($1.to_markdown())" cd $cPWD } alias hs='htm "sample()"' alias hsh='htm "samplehours()"' alias he='htm "edit_task()"' alias hp='htm "sortload()[print_cols]"' alias hph='htm "sortloadhard()[print_cols]"' alias ha='htm "add_tasks()"' alias hd='htm "del_tasks()"' alias hst='htm "printstats()"' alias hsoon='htm "get_soon()"' alias hpp='htmp "sortload()"' ``` ## Commands Control the task manager from the terminal. All tasks will be stored in `tasks.csv`. You can use `<ctl-c>` to break out of a command, or type `q`. - Print all tasks, sorted by score, with `hp`. - Add tasks with `ha`. - Delete a task with `hd`. - Edit parts tasks with `he`. - Choose a random tasks, weighted by score, with `hs`. - Choose a random tasks, weighted by hours/day, with `hsh`. - Print the tasks due soon with `hsoon`. - Print statistics about upcoming tasks with `hst`. For commands requiring you to identify a task, you can use fuzzy search. e.g., "finish paper" will match to "need to finish paper on X". For commands requiring a date, you can use generic strings like `Monday`, `2021-05-01`, `February 1`, etc., and the date parser will try to identify the date. ## Columns - `task`: Name of the task. - `score`: How important it is that you work on the task today. - `etc`: Estimated time to completion, in hours. - `hours/day`: How many hours per day you need to work on it to finish by the deadline. - `due`: When the task is due. - `hard`: Whether the deadline is hard (1) - meaning a hard deadline, soft (0.5) - meaning you would like to finish by this date, but it's not the end of the world, or nonexistent (0) - meaning it is an arbitrary date you want to aim for. - `repeat`: Whether to reset the due date after the deadline has passed to this number of days in the future. Useful for weekly/monthly deadly. `0` means no repeat.
    • bash
      Github.com/Double-Wen/bash 这是liuwenwen用来管理其自动脚本的存储库。
    • Lazy_Push:Bash脚本自动拉入git存储
      将“ LazyScript.sh”复制到您的存储库中。 将其添加到您的.gitignore(打开或创建.gitignore并编写'lazyScript.sh')。 运行“ bash LazyScript.sh”。 输入间隔时间(两次更新之间需要多少分钟)。 打开一个...
    • bash脚本:有用的bash代码的快速参考
      Bash脚本 这只是一个存储有用的bash脚本的存储
    • SampleGitBash:示例存储库以学习GIT Bash命令
      SampleGitBash 示例存储库以学习GIT Bash命令
    • IPT2TSM3E:它将用于连接Gitbash存储
      IPT2T​​SM3E 它将用于连接Gitbash存储
    • bash_cmd:存储和运行文件中的命令
      bash_cmd-存储和运行文件中的命令 从〜/ .bashrc派生的功能,用于管理不同项目或用途的命令。 为什么 我想要一种基于我正在使用的不同项目或计算机来存储和运行经常使用或复杂的命令的方法。 我不想让一堆别名或修改...
      存储库中的代码提供了一个简单的BASH脚本,以在存储库中创建一系列空的提交,从而在Git贡献图上产生字符模式。 如果您想给跟踪者留言。 用法: You may replace "icancode" with an alternative message. $ ...
    • bash_repo:用于存储库访问的bash脚本
      Bash脚本,用于访问所有需要的存储库。 注意:此仓库也是所有主bash脚本的一部分: 仓库清单 可以在找到所有包含的存储库的完整列表。 配置此存储库后,还可以使用以下bash命令列出所有存储库: repo_help
    • how-to-bash:bash基础知识和食谱
      我是一个不会记住大多数事情的人,最多... 为此,我需要写下一些注释,此存储库是有关bash脚本的注释。 它包括2个部分: basic.md:编写bash脚本时的基本规则和原则 cookbook.md:详细说明如何解决特定问题的示例列表
    • demos-bashbash外壳的演示
      Demos-bash bash外壳的演示 如何从该存储库中运行示例? $ ./src/examples/booleans/booleans.bash