- Live slides
- Use and arrow keys to step through
- Presentation markdown source
- Links to repository with actual markdown source that is used for HTML5 slides
- Landslide
- Great Python library to turn markdown into HTML slides
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gem('pg', :group=>'production') | |
| gem('sqlite3', :group=>'development') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ipython notebook --debug | |
| [NotebookApp] Config changed: | |
| [NotebookApp] {'Application': {'log_level': 10}} | |
| [NotebookApp] Using existing profile dir: u'/home/yogesh/.config/ipython/profile_default' | |
| [NotebookApp] Searching path [u'/home/yogesh/Downloads/Courses/python-talks/numba/ipython/ipython-master', u'/home/yogesh/.config/ipython/profile_default'] for config files | |
| [NotebookApp] Attempting to load config file: ipython_config.py | |
| [NotebookApp] Config file ipython_config.py not found | |
| [NotebookApp] Attempting to load config file: ipython_notebook_config.py | |
| [NotebookApp] Config file not found, skipping: ipython_notebook_config.py | |
| [NotebookApp] Serving notebooks from /home/yogesh/Downloads/Courses/python-talks/numba/ipython/ipython-master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [NotebookApp] Kernel 325611a2-4752-4ef6-8100-256b209a7522 failed to respond to heartbeat | |
| ^[[B^CShutdown Notebook Server (y/[n])? y | |
| [NotebookApp] Shutdown confirmed | |
| [NotebookApp] Shutting down kernels | |
| ERROR:root:Uncaught exception, closing connection. | |
| Traceback (most recent call last): | |
| File "/home/yogesh/.virtualenvs/epd/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 444, in _handle_events | |
| self._handle_send() | |
| File "/home/yogesh/.virtualenvs/epd/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 487, in _handle_send | |
| status = self.socket.send_multipart(msg, **kwargs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [NotebookApp] Using existing profile dir: u'/home/yogesh/.config/ipython/profile_default' | |
| [NotebookApp] Serving notebooks from /home/yogesh/Downloads/Courses/python-talks | |
| [NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888/ | |
| [NotebookApp] Use Control-C to stop this server and shut down all kernels. | |
| Created new window in existing browser session. | |
| [NotebookApp] Using MathJax from CDN: http://cdn.mathjax.org/mathjax/latest/MathJax.js | |
| [NotebookApp] Kernel started: 84424379-6ce7-4ea0-b3ed-e3d5a2d4fb1e | |
| [NotebookApp] Connecting to: tcp://127.0.0.1:52016 | |
| [NotebookApp] Connecting to: tcp://127.0.0.1:55996 | |
| [NotebookApp] Connecting to: tcp://127.0.0.1:53254 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| class Content(object): | |
| def where(self, params={}): | |
| return Query(self).where(params) | |
| def all(self): | |
| return Query(self).all() | |
| class Query(object): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ln -s /usr/include/freetype2/freetype /usr/local/include/freetype | |
| ln -s /usr/include/ft2build.h /usr/local/include/ft2build.h | |
| ln -s /usr/include/png.h /usr/local/include/png.h | |
| ln -s /usr/include/pngconf.h /usr/local/include/pngconf.h | |
| ln -s /usr/include/pngconf.h /usr/local/include/pngconf.h^C | |
| ln -s /usr/include/pnglibconf.h /usr/local/include/pnglibconf.h | |
| ln -s /usr/lib/libfreetype.so /usr/local/lib/libfreetype.so | |
| ln -s /usr/lib/libfreetype.a /usr/local/lib/libfreetype.a | |
| ln -s /usr/lib/libfreetype.la /usr/local/lib/libfreetype.la |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #The famous Sieve_of_Eratosthenes | |
| def primes(): | |
| yield 2 ; yield 3 ; yield 5 ; yield 7 ; | |
| ps = (p for p in primes()) # additional primes supply | |
| p = ps.next() and ps.next() # discard 2, then get 3 | |
| q = p*p # 9 - square of next prime to be put | |
| sieve = {} # into sieve dict | |
| n = 9 # the candidate number | |
| while True: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| /* | |
| Automatically grade files for the presence of specified HTML tags/attributes. | |
| Uses commander.js and cheerio. Teaches command line application development | |
| and basic DOM parsing. | |
| References: | |
| + cheerio | |
| - https://github.com/MatthewMueller/cheerio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // DhwaniBoardViewController.swift | |
| // DhwaniBoard | |
| // | |
| // Created by Yogesh on 05/10/2014. | |
| // Copyright (c) 2014 appcodr. All rights reserved. | |
| // | |
| import Foundation | |
| import UIKit |
OlderNewer