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
setTimeout( function(){ windowReload() }, 2000 ); | |
function windowReload(){ | |
if(!window.location.hash) { | |
window.location = window.location + '#loaded'; | |
window.location.reload(); | |
}else{ | |
if (history && history.pushState){ | |
history.pushState( null, null, window.location.href.split('#')[0] ); | |
} | |
} |
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
class RankArray(object): | |
"""An array with negative index positions""" | |
average=None | |
pos=[] | |
neg=[] | |
def __init__(self,average,pos,neg): |
NewerOlder