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
| package no.uia.tflip.gnult.tests; | |
| import junit.framework.Assert; | |
| import no.uia.tflip.gnult.RequiredClasses; | |
| import no.uia.tflip.gnult.TestFramework; | |
| import org.testng.annotations.*; | |
| import java.io.*; | |
| /* |
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
| __author__ = 'perar' | |
| import math | |
| import random | |
| class Graph: | |
| EPSILON = 0.000001 | |
| def __init__(self, nodes, edges, max_iterations = 1000, area=5000): | |
| self.attraction_multiplier = 5 |
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 mechanicalsoup | |
| import re | |
| browser = mechanicalsoup.Browser() | |
| start_page = browser.get("http://realmplayers.com/CharacterList.aspx?search=") | |
| last_page_raw = start_page.soup.find('a', text='Last') | |
| start_page = 1 |
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
| # CoffeeScript | |
| class Tween | |
| # All Tweening Objects | |
| @_objects = [] | |
| @_oldObjects = [] | |
| @_currentTime = 0 |
NewerOlder