Skip to content

Instantly share code, notes, and snippets.

View theronhitchman's full-sized avatar

TJ Hitchman theronhitchman

View GitHub Profile
@theronhitchman
theronhitchman / COPYING.txt
Created July 21, 2014 17:22
CC attribution 4.0 license
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
Section 1 – Definitions.
Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material
@theronhitchman
theronhitchman / .gitignore
Created July 21, 2014 16:52
git ignore file: latex, sage cloud, mac
# LaTeX
*.acn
*.acr
*.alg
*.aux
*.bbl
*.blg
*.dvi
*.fdb_latexmk
*.glg
@theronhitchman
theronhitchman / Euler_Meusnier.py
Created April 1, 2013 06:25
start of a demonstration of Euler and Meusnier
var('u v t s')
P = parametric_plot3d([cos(u)*sinh(v), sin(u)*sinh(v), cosh(v)], [u,0,2*pi], [v,0,2], opacity=0.6, aspect_ratio=1, color='blue')
P+= parametric_plot3d([cos(u)*sqrt(3), sin(u)*sqrt(3), 2], [u,0,2*pi], thickness=2, color='black')
P+= parametric_plot3d([0, sinh(v), cosh(v)], [v,0,2], thickness=2, color='red')
P.show()
@theronhitchman
theronhitchman / SageCell.html
Last active June 4, 2018 13:02
Sage Cell code for a web page
<!-- put this in the header-->
<script src="http://sagecell.sagemath.org/static/jquery.min.js"></script>
<script src="http://sagecell.sagemath.org/static/embedded_sagecell.js"></script>
<link rel="stylesheet" type="text/css" href="http://sagecell.sagemath.org/static/sagecell_embed.css">
<!-- put this in the body where you want a cell. adjust your inputs, of course. -->
<div class="sage">
<script type="text/x-sage">
1+2
</script></div>
@theronhitchman
theronhitchman / student_paper.tex
Last active December 12, 2015 03:09
Template for Student Homework Paper in a proof based mathematics course using a journal structure
%%% This is a cut-and-paste template for a basic short paper in an IBL proof-heavy course.
%%% The header parts of this document should be left alone. It will ensure that everything
%%% will compile and all of the formatting will turn out OK.
%%% Headers -- these give the document its general structure, and tell LaTeX which basic
%%% functionality to load
\documentclass{amsart}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{url}