Skip to content

Instantly share code, notes, and snippets.

View alexalemi's full-sized avatar

Alex Alemi alexalemi

View GitHub Profile
@alexalemi
alexalemi / keybase.md
Last active October 15, 2017 05:50
Keybase Proof

Keybase proof

I hereby claim:

  • I am alexalemi on github. * I am alexalemi on github.
  • I am alemi (https://keybase.io/alemi) on keybase.
  • I have a public key ASA0hMzhBTPHUk-F8Vo14ABIrmE3zG-7jqIeUrakZlZIiQo

To claim this, I am signing this object:

@alexalemi
alexalemi / golconv.ipynb
Created September 30, 2015 20:44
Game of Life Convnet
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexalemi
alexalemi / fuelefficienthills.ipynb
Created April 22, 2015 02:49
Stackexchange answer for optimal path for fuel efficiency
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexalemi
alexalemi / mellnikcut.ipynb
Created September 13, 2014 15:53
looking at Mellnik's cutting problem
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexalemi
alexalemi / sky.ipynb
Created August 11, 2014 22:59
Where did the blue go?
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexalemi
alexalemi / ParticularRevisited.ipynb
Created August 5, 2014 23:44
illustration of the modified method of particular solutions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexalemi
alexalemi / racquetball.ipynb
Created July 23, 2014 06:37
ipython notebook of simulated sound in racquetball court
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexalemi
alexalemi / BinaryPlot
Created December 3, 2012 19:49
BinaryPlot, showing an array of binary digits for a list of numbers
BinaryPlot[nums_, K_: 0, opts : OptionsPattern[BinaryPlot]] :=
MatrixPlot[
Table[BitGet[nums[[j]], i], {j, 1, Length[nums]}, {i, 0,
If[K > 0, K, nums // Log2 // Floor // Max]}],
Evaluate@FilterRules[{opts, { DataReversed -> {False, True},
Mesh -> True, FrameTicks -> None, Frame -> False }},
Options@MatrixPlot]]
BinaryPlot::usage =
"BinaryPlot[list] Creates and array showing the binary \
representation of a list of numbers. Takes the same options as \