(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.
| #!/usr/bin/env python | |
| import random | |
| # does nodes need to have edges? | |
| createEdges = True | |
| # number of nodes | |
| nodes = 500 | |
| def main(): | |
| for i in range(0, nodes): |
| // Check whether --offline was passed to gradle and set it in the test configuration's system properties | |
| test { | |
| if(gradle.startParameter.isOffline()) { | |
| systemProperties 'TESTS.ARE.OFFLINE' : '1' | |
| } | |
| } |
(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.