Browse Source

last minute updates

master
Julio Biason 8 years ago
parent
commit
0ca4729ac8
  1. 16
      python23six.html
  2. 2
      reveal.js
  3. 23
      unit-in-unittest.html

16
python23six.html

@ -58,7 +58,7 @@
<section> <section>
<section> <section>
<img src="_images/AYV1X0yv.png" alt="Me" style="float:left;" class="no-border"> <img src="_images/AYV1X0yv.png" alt="Me" style="float:left;width:300px;" class="no-border">
<div> <div>
<ul> <ul>
@ -66,6 +66,7 @@
<li><img src="_images/logo-horizontal-claro.png" alt="CWI Software" class='no-border'> <li><img src="_images/logo-horizontal-claro.png" alt="CWI Software" class='no-border'>
<li>@juliobiason</li> <li>@juliobiason</li>
<li>julio.biason@gmail.com</li> <li>julio.biason@gmail.com</li>
<li><a href="http://presentations.juliobiason.net">http://presentations.juliobiason.net</a></li>
</ul> </ul>
</div> </div>
</section> </section>
@ -198,7 +199,7 @@ if __name__ == "__main__":
<h2>E Python 3?</h2> <h2>E Python 3?</h2>
<p><code>class Model(object):</code></p> <p><code>class Model(object):</code></p>
<p>Todas as classes são new style, mas Python 3 não <p>Todas as classes são new style, mas Python 3 não
reclama disso.</p> reclama disso.</p>
</section> </section>
@ -258,7 +259,7 @@ print('{} {}'.format(letter, count))
<h3>(sugestão)</h3> <h3>(sugestão)</h3>
<pre><code class='python'> <pre><code class='python'>
print('{letter} {count}'.format(letter=letter, print('{letter} {count}'.format(letter=letter,
count=count)) count=count))
</code></pre> </code></pre>
@ -279,7 +280,7 @@ import six
[...] [...]
six.print_('{letter} {count}'.format(letter=letter, six.print_('{letter} {count}'.format(letter=letter,
count=count)) count=count))
</code></pre> </code></pre>
@ -331,7 +332,7 @@ def add_querystring(url, querystring, value):
if __name__ == "__main__": if __name__ == "__main__":
print add_querystring('http://python.org', 'doc', 'urllib') print add_querystring('http://python.org', 'doc', 'urllib')
print add_querystring('http://python.org?doc=urllib', print add_querystring('http://python.org?doc=urllib',
'page', '2')</code></pre> 'page', '2')</code></pre>
</section> </section>
@ -358,7 +359,7 @@ def add_querystring(url, querystring, value):
if __name__ == "__main__": if __name__ == "__main__":
six.print_(add_querystring('http://python.org', 'doc', 'urllib')) six.print_(add_querystring('http://python.org', 'doc', 'urllib'))
six.print_(add_querystring('http://python.org?doc=urllib', six.print_(add_querystring('http://python.org?doc=urllib',
'page', '2'))</code></pre> 'page', '2'))</code></pre>
</section> </section>
</section> </section>
@ -366,7 +367,7 @@ if __name__ == "__main__":
<section data-background='_images/thats-all-folks.jpg'> <section data-background='_images/thats-all-folks.jpg'>
<section> <section>
<h1 class="fragment semi-opaque">Perguntas?</h1> <h1 class="fragment semi-opaque">Perguntas?</h1>
<p class="fragment semi-opaque">E antes que alguém pergunte, <p class="fragment semi-opaque">E antes que alguém pergunte,
é 2 <strong>*</strong>3, não 2 <strong>+</strong>3.</p> é 2 <strong>*</strong>3, não 2 <strong>+</strong>3.</p>
</section> </section>
</section> </section>
@ -402,4 +403,3 @@ if __name__ == "__main__":
</body> </body>
</html> </html>

2
reveal.js

@ -1 +1 @@
Subproject commit 3c36ee6cff43d2c4aefe59ef5198df4f327fa094 Subproject commit bef2722eedd9671a9e0f0f9e553c0863437d1402

23
unit-in-unittest.html

@ -44,6 +44,10 @@
.reveal section img { .reveal section img {
border: none; border: none;
} }
.reveal ul.empty {
list-style: none outside;
}
</style> </style>
</head> </head>
@ -58,14 +62,15 @@
<section> <section>
<section> <section>
<img src="_images/AYV1X0yv.png" alt="Me" style="float:left;" class="no-border"> <img src="_images/AYV1X0yv.png" alt="Me" style="float:left;width:300px;" class="no-border">
<div> <div>
<ul> <ul class="empty">
<li>Júlio Biason</li> <li>Júlio Biason</li>
<li><img src="_images/logo-horizontal-claro.png" alt="CWI Software" class='no-border'> <li><img src="_images/logo-horizontal-claro.png" alt="CWI Software" class='no-border'>
<li>@juliobiason</li> <li>@juliobiason</li>
<li>julio.biason@gmail.com</li> <li>julio.biason@gmail.com</li>
<li><a href="http://presentations.juliobiason.net">http://presentations.juliobiason.net</a></li>
</ul> </ul>
</div> </div>
</section> </section>
@ -97,9 +102,11 @@
</section> </section>
<section> <section>
<p>Quem já</p> <p>Quem já...</p>
<p class="fragment">falou de "testes de unidade"?</p> <ul class="empty">
<p class="fragment">discutiu a "unidade" dos testes de unidade?</p> <li class="fragment">... falou de "testes de unidade"?</li>
<li class="fragment">... discutiu a "unidade" dos testes de unidade?</li>
</ul>
</section> </section>
<section> <section>
@ -350,6 +357,12 @@ client.py 24 0 100%
</aside> </aside>
</section> </section>
<section>
<h2>TDD</h2>
<img src="_images/tdd-lifecycle.png" alt="The TDD lifecycle" class="stretch">
</section>
<section> <section>
<h2>TDD</h2> <h2>TDD</h2>

Loading…
Cancel
Save