This file contains 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
''' | |
Python3 Bulk Steam key importer | |
Requires the pip library 'steam' | |
Run `pip install steam` if you're unsure | |
Code expects a text file with keys line seperated. For example: | |
XXXXX-YYYYY-ZZZZZ |
This file contains 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
mPos[0] = (mPos[0] * 1.0 / $( "#BuildingHelperBase").desiredlayoutwidth ) * 1920; | |
mPos[1] = (mPos[1] * 1.0 / $( "#BuildingHelperBase").desiredlayoutheight) * 1080; | |
$.Msg(mPos); |
This file contains 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 numpy | |
v = values | |
w = weights | |
size = capacity + 1 | |
#mat = numpy.zeros(shape=(size+1,len(v)+1)) | |
mat = [ 0 ] * size | |
mold = [ 0 ] * size | |
incremented = [[ 0 ] * (len(v) + 1) for i in range(size)] | |
for x in range(1,len(v)+1): |
This file contains 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
<iframe id="Frame" width="300px" height="250px" frameborder="0" scrolling="no" src="http://www.domainhomepriceguide.com.au/Widgets/Domain/LocationTrend.aspx?size=300x250&State=QLD&Postcode=4109&Suburb=MacGregor"></iframe> | |