Skip to content

Instantly share code, notes, and snippets.


Naoko Reeves naoko

View GitHub Profile
View gist:66b042235604702d924ac2b8f3f523ee
$ sudo minikube - vm-driver none start
[sudo] password for naoko: 
Starting local Kubernetes v1.10.0 cluster…
Starting VM…
Getting VM IP address…
Moving files into cluster…
Setting up certs…
Connecting to cluster…
Setting up kubeconfig…
Starting cluster components…
naoko / Install OpenFst with Python Binding on OSX
Last active Oct 23, 2021
How to install OpenFst with Python Biding on OSX
View Install OpenFst with Python Binding on OSX
# download
curl -O
tar -xvzf openfst-1.6.2.tar.gz
rm openfst-1.6.2.tar.gz
cd openfst-1.6.2
./configure --enable-python
make install
# Test installtion
naoko /
Last active Mar 9, 2017
Example of how to use Google Pub/Sub
import logging
from import pubsub
logger = logging.getLogger(__name__)
def create_topic(topic_name):
client = pubsub.Client()
topic = client.topic(topic_name)