Skip to content

Instantly share code, notes, and snippets.

EvanWill evanwill

Block or report user

Report or block evanwill

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
evanwill /
Last active Oct 19, 2019
how to add more utilities to git bash for windows, wget, make

How to add more to Git Bash on Windows

Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.

The basic idea is that C:\Program Files\Git\mingw64\ is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git, the mingw64 in this directory is your root. Find it by using pwd -W). If you go to that directory, you will find the typical linux root folder structure (bin, etc, lib and so on).

If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so


PocketCHIP stuff


build in calculator: xcalc

use the built in browser: surf (need help, man surf)

get a text browser: sudo apt-get install lynx


Writing in Markdown

Markdown is a quick and simple way to write formatted documents in plaintext. It is easy to read as plaintext, but is designed to convert to HTML for easy web publishing. Writing in plaintext rather than proprietary formats such as Word has many advantages:

  • simple - dont waste time in complex and frustrating formatting in Word that will be deleted by publishers anyway. This keeps your distractions to a minimum.
  • sharable - any device can open and read plaintext.
  • preservable - markdown is plaintext which is easy for digital preservation, unlike Word.
  • version controlable - you can use the full power of Git or other version control systems.

Using Cygwin

Cygwin is a project that adds Unix style terminal to Windows. It includes hundreds of Unix commandline utilities built and packaged to function natively on Windows. It includes more functionality than Git Bash (included with Git for Windows) and is open-source (unlike MobaXterm). If you are currently using Git Bash on Windows, you may want to move to Cygwin if you would like Nano Editor, wget, and GNU Make.

Install Cygwin

Download the current installation utility from the Cygwin site.

evanwill /
Created Jun 3, 2016
add more kernels to python 3 jupyter notebooks with anaconda

this assumes you have installed Python 3 via Anaconda distribution.

Make Python 2 kernel available to Jupyter Notebook

  1. open a terminal and create a new python 2 environment: conda create -n py27 python=2.7
  2. activate the environment: linux source activate py27 or windows activate py27
  3. install the kernel in the env: conda install notebook ipykernel
  4. install the kernel for outside the env: ipython kernel install --user
  5. close the env: source deactivate

Use Git locally to collaborate

Set up shared repository

Create a directory on the shared drive to hold the repository, then git init --bare. By convention, bare repos are given the extension .git.

cd /t/
mkdir newRepo.git
evanwill /
Created Oct 6, 2016
get stuff off flickr

Need to download metadata from flickr?

You can bulk download stuff from flickr very easily now (which is a great feature), by going to Camera Roll, selecting things, and clicking download. Or you can bulk download your sets/albums now as well. This is handy, but it doesnt export any metadata you added to the photos in the system.

Unfortunately, I found none of the apps are very stable. The most recent and least broken apps are:

evanwill /
Created May 8, 2018
recipe for pannukakku finnish pancake


Inspired by memories of Chocolate Moose in Ely, MN, and ancient ancestral foods, we wanted to create thick, custardy, Pannukakku oven pancakes. Partly based on a "Scandinavian food expert" website, we came up with this recipe.

Basic concept is to create a batter following the ratio of 1 egg : 1/4 cup flour : 1/4 cup milk, beating it well (usually about 8 eggs for a rectangle cake pan). Add:

  • vanilla extract (1 tsp)
  • a bit of sugar (1 - 2 Tbs)
evanwill /
Last active Jul 21, 2017
command line mini workshop

Intro to the Command Line

Does command line interface (CLI), REPL, terminal, console, or shell sound scary? Don't worry, we'll learn about the basic computer interface that gives you super powers! If you want to work with Raspberry Pi, Linux, or many programming languages you need a basic familiarity with the CLI. This MILL-Mini will demystify the terminal so you can use it to get things done.

What is the Shell?

The command line is a text-based interface for efficiently getting stuff done. It's often called the shell, terminal, console, cmd, or Bash, but ultimately the Shell is just a program on your computer like any other application. Its job is to act as a command shell, taking input from the user, ordering the computer's operating system (OS) to execute the instructions, and returning the outputs.


Open Textbook on GitHub and gh-pages

Kris Shaffer, Bryn Hughes, and Brian Moseley, Open Music Theory, Hybrid Pedagogy 2014+.

Open Textbook =

  • open access: website
  • open source: GitHub repository
  • open license: cc-by-sa, you CAN copy, modify, and share it, as long as you attribute it and also openly license it.

Basically this open textbook is a Jekyll project, using Balzac theme, hosted on GitHub Pages. Thus:

You can’t perform that action at this time.