Skip to content

liijunwei/notebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

Editor+Cmdline+TODO-OK Workflow

Personal use since 2020-07-18 22:51, 18290 commits until 2022-01-28 22:26, experience value for auto commit frequency is 10min/commit.

Important Notice

Pushing Your Notebook to public repo is a BAD IDEA, since when this workflow gets handy you'll inevitably write down important/sensitive info and they'll all be logged into git.

Core

  • cmdline + texteditor + shellscript(or other cli)
  • workflow + template + crontab
  • establish file/folder naming conventions and follow them
  • mark your task as TODO/OK
  • prioritize your TODO/OKs visually
  • benefit from fuzzy search feature provided by texteditor(cmd/ctrl+p) or fzf
  • duplication is acceptable
  • all changes are auto commited
crontab -e

NOTEBOOK_PATH=/path/to/your/notebook

*/10 * * * * /bin/bash -l -c "cd $NOTEBOOK_PATH && git pull >> /dev/null && git add . && git commit -m 'Commit automatically by crontab' >> /dev/null 2>> log/cron_commit.log"
7 * * * *    /bin/bash -l -c "cd $NOTEBOOK_PATH && git push --porcelain >> log/cron_push.log 2>&1"

Example

Tips

Credits

https://github.com/ery/suitup

I learned a lot from my first career mentor/manager(the workflow, the comline+editor mindset, coding tricks, shell scipts management...)

Huge thanks to him

About

Editor+Cmdline+TODO-OK Workflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages