GithubHelp home page GithubHelp logo

classicvalues / harvard.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harvard/harvard.github.io

0.0 1.0 0.0 197 KB

Open Source at Harvard

Home Page: https://harvard.github.io/

Ruby 100.00%

harvard.github.io's Introduction

Open Source at Harvard

Contributing

Open a pull request, adding your repo's URL to _data/github.tsv.

Developing

bundle install
bundle exec jekyll build
open _site/index.html

Notes

In index.md, get is a Jekyll filter implemented in _plugins/get.rb that takes _data/github.tsv as input and returns an array of [user, repos] "tuples" (i.e., arrays), wherein user (the owner of repos) is a hash like https://api.github.com/users/harvard, and repos is a hash like https://api.github.com/repos/harvard/harvard.github.io.

You can iterate over those tuples as follows:


{% assign tuples = site.data.github | get %}

{% for tuple in tuples %}

{% assign user = tuple[0] %}
{% assign repos = tuple[1] %}

{% for repo in repos %}

...

{% endfor %}

{% endfor %}

harvard.github.io's People

Contributors

dmalan avatar

Watchers

 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.