This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reuters-21578 dataset downloader and parser | |
# | |
# Author: Eustache Diemert <[email protected]> | |
# http://scikit-learn.org/stable/auto_examples/applications/plot_out_of_core_classification.html | |
# | |
# Modified by @herrfz, get pandas DataFrame from the orig SGML | |
# License: BSD 3 clause | |
from __future__ import print_function |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pygithub3 import Github | |
def Members(github, organisation): | |
pages = github.orgs.members.list(organisation) | |
print 'Members of ' + organisation | |
for members in pages: | |
for member in members: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* The API controller | |
Exports 3 methods: | |
* post - Creates a new thread | |
* list - Returns a list of threads | |
* show - Displays a thread and its posts | |
*/ | |
var Thread = require('../models/thread.js'); | |
var Post = require('../models/post.js'); |