Coder Social home page Coder Social logo

food-trucks's Introduction

Show Open Food Trucks

A Mac OSX command line program to print a list of food trucks open at runtime. Bon Appetit!

Dependencies

  • Ruby
  • formatador (for outputting table of food truck names and addresses)

Max OSX comes with Ruby preinstalled. You can check which version you have installed by typing ruby -v. If you do not have Ruby installed, follow the link above to download and install Ruby.

To install formatador:

  1. gem install formatador
  2. If you clone this repository and have bundler installed, you can also use bundle install

Set Up & Usage

Building from Source

  1. Clone this repository git clone https://github.com/esther-ng/food-trucks.git
  2. Install formatador (see above)
  3. ./show-open-food-trucks.rb (set up a bash alias if desired)
  4. Follow the prompts

Just Give Me the Food Trucks

  1. Navigate to the releases page of this repository
  2. Download the show-open-food-trucks file to your usr/local/bin directory
  3. From that directory run chmod 755 show-open-food-trucks
  4. gem install formatador
  5. show-open-food-trucks
  6. Follow the prompts

Notes on Throttling

If you receive an error message that your usage has been throttled, you may raise your limits by requesting a San Francisco Data API App Token and utilizing the commented out code on line 54 of the source code.

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.