This purpose of package is to avail ubiquitous on-line Lab for Dynamical Systems, with minimal resources but unlimit gains.
To implement the platform, we use the following Python and IPython (notebook interface) as the user interface on the top of power Python computing environment. Sources can be re-used on Sage Notebook.
[Python Modules Requirement]
[Topics]
In [1]:
from IPython.core.display import HTML
def css_styling():
styles = open("styles/custom.css", "r").read()
return HTML(styles)
css_styling()
Out[1]:
In [ ]:
In [1]:
import sha
# Our first commit
data1 = 'Math 2014 - Lecture 1 '
meta1 = 'date: 8/1/14'
hash1 = sha.sha(data1 + meta1).hexdigest()
print 'Hash:', hash1
In [3]:
%%bash
git config --global user.name "Chu-ching Huang"
git config --global user.email "cchuang2009@gmail.com"
In [4]:
%%bash
rm -rf lecture
git init lecture
In [5]:
%%bash
cd lecture
ls -la
In [6]:
%%bash
cd lecture
echo "Lecture2014 for Math" > file1.txt
In [3]:
%%bash
cd lecture
git status
In [4]:
%%bash
cd lecture
git commit -a -m"This is our first commit"
In [11]:
%%bash
cp -rp 1 lecture/
In [13]:
%%bash
cp index.ipynb lecture
cp -rp imgs lecture
cp -rp styles lecture
ls -l lecture
In [8]:
%%bash
cd lecture
git add index.ipynb
git add styles
git add imgs
git add 1
git commit -m "Math 2014 lecture 1"
In [20]:
%%bash
cd lecture
git add README.md
git commit -m "Math 2014"
In [14]:
%%bash
cd lecture
git add index.html
git commit -m "Math 2014"
In [22]:
%%bash
cd lecture
git add 2
git add 3
git add 4
git add 8
git commit -m "Math 2014 2-8"
In [23]:
%%bash
cd lecture
git push -u origin master
In [9]:
%%bash
cd lecture
git status
In [14]:
!git clone https://github.com/cchuang2009/math2014
> touch README.md
> git init
> git add README.md
> git commit -m "first commit"
> git remote add origin https://github.com/cchuang2009/math2014.git
> git push -u origin master
> git remote add origin https://github.com/cchuang2009/math2014.git
> git push -u origin master > touch README.md
In [ ]: