From 0910aec3be2c9106c17818bc1788bf3537c92ee5 Mon Sep 17 00:00:00 2001 From: Syamala Umamaheswaran Date: Thu, 4 Apr 2019 17:37:02 +0200 Subject: [PATCH] change highlight theme --- .gitignore | 2 ++ example/.idea/workspace.xml | 6 ++++-- index.html | 21 +++++++++++++-------- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 2726f6a..128c59a 100644 --- a/.gitignore +++ b/.gitignore @@ -104,3 +104,5 @@ venv.bak/ .mypy_cache/ **/yindex.html + +**/.idea diff --git a/example/.idea/workspace.xml b/example/.idea/workspace.xml index b97cc24..7ef2255 100644 --- a/example/.idea/workspace.xml +++ b/example/.idea/workspace.xml @@ -2,6 +2,7 @@ + + @@ -296,12 +298,12 @@ - diff --git a/index.html b/index.html index 6cd9a0b..13492a0 100644 --- a/index.html +++ b/index.html @@ -430,7 +430,7 @@ ] .right-column[ -``` +```Java private static class GracefulShutdown implements TomcatConnectorCustomizer, ApplicationListener { @@ -472,28 +472,33 @@ name: zen # [The Zen of Python](https://www.python.org/dev/peps/pep-0020/#id3) --- +name: zen-values +class: middle + +A collection of 19 "guiding principles" that influence the design of the Python programming language. + ```python > python3 -m this The Zen of Python, by Tim Peters - Beautiful is better than ugly. - Explicit is better than implicit. - Simple is better than complex. + `Beautiful is better than ugly.` + `Explicit is better than implicit.` + `Simple is better than complex.` Complex is better than complicated. Flat is better than nested. Sparse is better than dense. - Readability counts. + `Readability counts.`` Special cases aren't special enough to break the rules. Although practicality beats purity. - Errors should never pass silently. + `Errors should never pass silently.` Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. Now is better than never. Although never is often better than *right* now. - If the implementation is hard to explain, it's a bad idea. + `If the implementation is hard to explain, it's a bad idea.` If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those! ``` @@ -514,7 +519,7 @@