Skip to content

Instantly share code, notes, and snippets.

View rhyolight's full-sized avatar

Matthew Taylor rhyolight

View GitHub Profile
@paulscode
paulscode / Dockerfile
Last active September 19, 2018 05:04
Dockerfile to build NuPIC 1.0.5 on Raspberry Pi
FROM armhf/debian:jessie
# To build on Intel processor (much faster!)
# sudo apt install -y qemu qemu-user-static qemu-user binfmt-support
# cp /usr/bin/qemu-arm-static ./
# docker run --rm --privileged multiarch/qemu-user-static:register --reset
# Comment below line if building on the Raspberry Pi itself
COPY ./qemu-arm-static /usr/bin/qemu-arm-static
RUN apt-get update && \
@cogmission
cogmission / QuickTest.py
Last active July 28, 2016 15:53
Example Use of Raw HTM Algorithms
'''
Created on Feb 8, 2015
@author: David Ray
'''
import numpy as np
from nupic.encoders.scalar import ScalarEncoder as ScalarEncoder
from nupic.algorithms.CLAClassifier import CLAClassifier as CLAClassifier
@aembleton
aembleton / docx2md.md
Last active May 17, 2023 07:04 — forked from vdavez/docx2md.md
Convert a Word Document into MD

Converting a Word Document to Markdown in One Move

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

Installing Pandoc

On a mac you can use homebrew by running the command brew install pandoc.

The Solution