Skip to content

Instantly share code, notes, and snippets.

View damontallen's full-sized avatar

Damon Allen damontallen

  • University of Florida
  • Gainesville, Florida
View GitHub Profile
@damontallen
damontallen / IPython Arduino Notebook
Last active May 30, 2016 06:05
This is an IPython Notebook that contains a proof of concept of communicating with an Arduino.
{
"metadata": {
"name": "Arduino"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@damontallen
damontallen / Importable_N.ipynb
Last active December 17, 2015 12:09
This is a .py download of an IPython Notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / Keyed_quick_ref.ipynb
Last active December 17, 2015 19:09
This is an IPython Notebook that is used to convert the text generated by quickref into an HTML table.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / HTML_Table_alt.html
Last active December 29, 2020 02:39
Less brittle HTML table converter of the quickref text.
<table border="1" cellpadding="3" cellspacing="0" style="border:1px solid black;border-collapse:collapse;">
<tr><td style="background-color:lightBlue;" colspan="2"; ><b>IPython -- An enhanced Interactive Python - Quick Reference Card</b></td></tr>
<tr><td colspan="2"; > </td></tr>
<tr><td style="border-bottom: 1px solid transparent;"> obj?, obj?? </td><td style="border-bottom: 1px solid transparent;"> Get help, or more help for object (also works as</tr>
<tr><td style="border-top: 1px solid transparent;"> </td><td style="border-top: 1px solid transparent;"> ?obj, ??obj).</tr>
<tr><td>?foo.*abc*</td><td> List names in 'foo' containing 'abc' in them.</td></tr>
<tr><td>%magic</td><td> Information about IPython's 'magic' % functions.</td></tr>
<tr><td colspan="2"; > </td></tr>
<tr><td colspan="2"; style="border-bottom: 1px solid transparent;">Magic functions are prefixed by % or %%, and typically take their arguments</td></tr>
<tr><td colspan="2"; style="border-top: 1px solid transparent; border-
@damontallen
damontallen / Plotting Arduino Data.ipynb
Last active December 18, 2015 03:58
This IPython3 notebook plots data collected from an analog pin on an Arduino
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / Hip and Jack rafter cuts.ipynb
Last active December 18, 2015 07:08
This IPython notebook can be used to calculate the saw angle settings to cut hip and jack rafters.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / Crash_Course_v0.5a.ipynb
Created July 4, 2013 18:16
A Crash Course in Python for Scientists (in four parts)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / test.ipynb
Last active December 19, 2015 09:59
this is a test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / timeit_magic.ipynb
Created July 11, 2013 19:35
A comparison of the %timeit magic command in IPython vs Python's timeit.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / Map_vs_for_loops.ipynb
Created July 11, 2013 19:41
A fixed comparison of python's mapping function, for loops, and other methods of manipulating data.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.