Skip to content
Permalink
Browse files

Pile of poo

Signed-off-by: Adam Obeng <github@binaryeagle.com>
  • Loading branch information...
adamobeng committed Sep 17, 2016
1 parent 2f4088f commit f96a2027614c0ea0b53e832d13e3c97b345f51da
Showing with 66 additions and 4 deletions.
  1. +66 −4 presentation/presentation.ipynb
@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 25,
"metadata": {
"collapsed": false,
"slideshow": {
@@ -13,20 +13,20 @@
{
"data": {
"text/html": [
"<style>h1 {font-size: 400% !important;} h2 {font-size: 300% !important}"
"<style> h1 {font-size: 300% !important} h2 {font-size: 200% !important} </style>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
]
},
"execution_count": 1,
"execution_count": 25,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from IPython.display import HTML\n",
"style = \"\"\"<style>h1 {font-size: 400% !important;} h2 {font-size: 300% !important}\"\"\"\n",
"style = \"\"\"<style> h1 {font-size: 300% !important} h2 {font-size: 200% !important} </style>\"\"\"\n",
"\n",
"HTML(style)\n",
"\n",
@@ -455,6 +455,68 @@
"%cat ../examples/output.py"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false,
"slideshow": {
"slide_type": "slide"
}
},
"outputs": [],
"source": [
"%cat ../snake/replace_emoji.py"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false,
"slideshow": {
"slide_type": "slide"
}
},
"outputs": [],
"source": [
"%%bash \n",
"shasum ../original.py ../examples/output.py"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false,
"slideshow": {
"slide_type": "slide"
}
},
"outputs": [],
"source": [
"import snake.python_to_emoji\n",
"\n",
"# Converts python into emoji\n",
"snake.python_to_emoji.python_to_emoji(\n",
" '../snake/replace_emoji.py',\n",
" \"../examples/replace_emoji.emj\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false,
"slideshow": {
"slide_type": "slide"
}
},
"outputs": [],
"source": [
"%cat ../examples/replace_emoji.emj"
]
},
{
"cell_type": "markdown",
"metadata": {

0 comments on commit f96a202

Please sign in to comment.
You can’t perform that action at this time.