(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /* | |
| `arc4random_uniform` is very useful but limited to `UInt32`. | |
| This defines a generic version of `arc4random` for any type | |
| expressible by an integer literal, and extends some numeric | |
| types with a `random` method that mitigates for modulo bias | |
| in the same manner as `arc4random`. | |
| `lower` is inclusive and `upper` is exclusive, thus: | |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| printf (date "+$c2%H$c0:$c2%M$c0:$c2%S, ") |
| import sys, time | |
| while True: | |
| for i in range(311, 319): | |
| print "\r", eval("u'\U0001f%d'" % i), "", | |
| sys.stdout.flush() | |
| time.sleep(0.1) |
| """"Create "The Matrix" of binary numbers scrolling vertically in your terminal. | |
| original code adapted from juancarlospaco: | |
| - http://ubuntuforums.org/showpost.php?p=10306676 | |
| Inspired by the movie: The Matrix | |
| - Corey Goldberg (2013) | |
| Requires: |