Code Monkey home page Code Monkey logo

github_favourite_language's Introduction

#Favourite Language Checker

This is a command line program that allows you to enter the username of a Github profile, which then returns that users "favourite" programming language.

Summary

Favourite languages, in this case means that this is the most used language by that particular User. Also, bear in mind that this is according to the public repos only.

Installation

git clone https://github.com/zlahham/github_favourite_language.git

cd github_favourite_language

bundle

Usage

Because the Github API only allows 60 requests per hour if the calls are unauthenticated, please follow the below steps to access the increased limit of 5000 requests

  • Go to your Github account settings
  • Select the "Personal access tokens" tab
  • Click on "Generate new token"
  • Fill in the "Token description" field and then generate the token
  • COPY the number that you will then see and keep it safe for the next step
  • Create an environment variable that can be accessed from your $PATH and call it FAV_LANG
  • A sample of how it should look: export FAV_LANG=THISISADUMMYACCESSTOKEN
  • After you are done, make sure to restart your terminal or just call source ~/.bash_profile or its equivalent on your system
  • Fire up the app with ruby app.rb

github_favourite_language's People

Contributors

zlahham avatar

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.