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 / Logging in Lab Example.ipynb
Created February 3, 2023 19:48
Logging example for Jupyter Lab Notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / untitled-3.ipynb
Created April 22, 2021 14:06
Testing nbviewer
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / Min.py
Created July 12, 2016 14:52
A recursion version of the built-in min function in Python.
def MIN(X):
"returns the minimum value in a list of numbers"
if len(X)>2:
x = X[0]
y = MIN(X[1:])
else:
x,y = X
sn = (x-y)/(2*abs(x-y))
b = (x*(0.5-sn)+y*(sn+0.5))
return b
@damontallen
damontallen / Untitled2.ipynb
Created December 10, 2015 14:32
Demonstrating a notebook reading its own file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / EM.ipynb
Last active November 7, 2015 18:22
Sample Letex Rendering
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / Markdown Example.ipynb
Created November 5, 2015 15:25
This is just an example of the difference between a markdown cell and a code cell in IPython.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / 3D Printing Lecture
Created September 7, 2015 17:59
This is for a guest lecture about 3D printing in construction
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
@damontallen
damontallen / FileSlideShow_Test.ipynb
Created August 15, 2015 19:21
Testing the importance of the <p> tag around embedded video iframes.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / Spellchecker.ipynb
Last active August 29, 2015 14:27
This a spell checking proof of concept for IPython notebooks
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@damontallen
damontallen / crash_report.txt
Created July 17, 2015 16:30
Output from the creation of a python3 notebook
damon@damon-desktop:~/Desktop$ ipython3 notebook
[I 12:26:11.906 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 12:26:11.922 NotebookApp] Serving notebooks from local directory: /home/damon/Desktop
[I 12:26:11.922 NotebookApp] 0 active kernels
[I 12:26:11.922 NotebookApp] The IPython Notebook is running at: http://localhost:8888/
[I 12:26:11.923 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
(process:11718): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
[I 12:26:16.992 NotebookApp] Creating new notebook in
[I 12:26:19.411 NotebookApp] Kernel started: b8e0f1de-59b2-468c-87a3-0e38f5d24910