Skip to content

Instantly share code, notes, and snippets.

@ntuaha
ntuaha / fugle-realtime-api.py
Created September 18, 2019 05:16 — forked from frieadgood/fugle-realtime-api.py
Fugle realtime API demo code(#2884)
import websocket
def on_message(ws, message):
print(message)
def on_error(ws, error):
print(error)
def on_close(ws):
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ntuaha
ntuaha / 1. Install python3.6 & pip3.md
Created September 26, 2018 23:27 — forked from alyssaq/1. Install python3.7 & pip3.md
Python3.6 setup on Mac 10.13 (High Sierra)
  1. Install Python 3.6.x from https://www.python.org/downloads/ or via homebrew.
$ brew install python3   # Installed at /usr/local/Cellar/python3

Check that python3 has been installed by running it at the terminal:

$ python3
>>> Python 3.6.5
  1. Download get-pip.py from https://bootstrap.pypa.io/get-pip.py and install (this should already be installed if python was installed from python.org or homebrew):
@ntuaha
ntuaha / 0_reuse_code.js
Created February 14, 2016 09:29
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console