Giter Site home page Giter Site logo

what-to-eat's Introduction

🍴 what-to-eat

PRs Welcome CC 4.0

A useful tool that helps you deciding what to eat for lunch.

what-to-eat

回台南工作打滾也半年多了,每天最煩惱的倒不是 deadline,而是不知道要吃什麼午餐。

研究了一下 Mac 自帶的 osascriptshell script,並搭配簡單的 crontab 每日定時推播。

🎉 Installing / Getting started

A quick introduction of how to use, first of all:

git clone https://github.com/WeiChiaChang/what-to-eat.git

Recommend installing on desktop directly, or you may have some tiny changes to make from show.sh file.

Add some crontab setting on your Mac:

crontab -e

You will enter a terminal with empty wording, is time to get your hands dirty with vim syntax:

First, press Esc then i.

Then input:

20 12 * * 1-7 sh ~/Desktop/what-to-eat/show.sh

This script will be automatically executed at 12:20 on every day-of-week from Monday through Sunday.

crontab-guru will do a favor for you ✨.

Last step, press Esc then :, w, q and Enter.

Everything all done now, enjoy your lunch! turtle

🔧 Configuration

Lunch lists can be customized on src/testLunch.json this file.

©️ License

CC 4.0

© WeiChiaChang

what-to-eat's People

Contributors

weichiachang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ansiz ian729

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.