Skip to content

Instantly share code, notes, and snippets.

@sjgallagher2
sjgallagher2 / get_txt_words.py
Created February 7, 2021 19:56
Vocab list builder for Python 3 with PYWORDS
# Detailed instructions on how to use this:
# 1. Make sure you have Python 3 installed on your computer. It's available here: https://www.python.org/downloads/
# Python is a scripting language, meaning you can run it interactively (typing into a terminal) or you can write scripts
# (like this one) and run them with a Python IDE like PyCharm, or from Python IDLE, or any other way you want.
# Python 2 (e.g. 2.7) is NOT supported by PyWORDS, only Python 3.
# 2. Download the PYWORDS repository here: https://www.python.org/downloads/
# You can download it as a .zip file. Save the zip in a folder somewhere like
# C:/Users/<user>/Documents/MyDictionaries/PYWORDS.zip
# Where "MyDictionaries" is whatever name you choose for the files will be saved.
# It doesn't matter where you save it, but for THIS script to work, you need to save this script in the same directory
@sjgallagher2
sjgallagher2 / basic-embedded-c.c
Last active July 7, 2024 03:08
A get-started-fast guide to embedded C
/*
* In embedded systems, the C programming language is most often the language of choice. For more intensive
* elements in the system, assembly can be used. Embedded C is distinct from typical C programming in its
* requirements for efficiency, its limited resources, and its unique hardware problems which are much less common in
* the majority of C programs. Even still, the language itself is the same, so check out K&R's The C Programming
* Language and other reference books.
*
* Some of the problems central to embedded systems programming:
* - Memory management
* - Register access and manipulation
@sjgallagher2
sjgallagher2 / install-log.txt
Created June 17, 2017 15:30
Log of "make" command for nupic.core
This file has been truncated, but you can view the full file.
@note
Run with "sudo"
@logstart
[ 4%] Built target YamlStaticLib
[ 7%] Built target YamlCppStaticLib
[ 8%] Built target yaml-cpp-bundle
[ 11%] Built target Apr1StaticLib
[ 14%] Built target ZStaticLib
[ 16%] Built target z-bundle