Skip to content

Instantly share code, notes, and snippets.

Hacking away on Minibase

Jordan Brauer jordanbrauer

Hacking away on Minibase
View GitHub Profile
newhouse / mediumUsersFollowedByCount.js
Last active Nov 25, 2020
Medium API: get number of followers for User
View mediumUsersFollowedByCount.js
* Example of how to get the number of followers for a User.
* Related links:

Testing Node.JS applications using Mocha

Mocha is a unittest framework for Node. In this document, we explain how you can test your javascript code and also your HTTP servers.

Installing Mocha

Use npm to install Mocha:

npm install mocha
blech /
Last active Feb 13, 2021
Fetch genre names from Netflix
# TODO make range command line arguments
import sys, codecs
sys.stdout = codecs.getwriter('utf-8')(sys.stdout) # if your terminal can't do utf-8, well...
import time
import urllib2
import BeautifulSoup
irazasyed / Install Composer using MAMP's
Last active Apr 1, 2021
Instructions on how to change preinstalled Mac OS X PHP to MAMP's PHP Installation and then install Composer Package Management
View Install Composer using MAMP's

Change default Mac OS X PHP to MAMP's PHP Installation and Install Composer Package Management

Instructions to Change PHP Installation

First, Lets find out what version of PHP we're running (To find out if it's the default version).

To do that, Within the terminal, Fire this command:

which php