Skip to content

Instantly share code, notes, and snippets.

<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>
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):
mPos[0] = (mPos[0] * 1.0 / $( "#BuildingHelperBase").desiredlayoutwidth ) * 1920;
mPos[1] = (mPos[1] * 1.0 / $( "#BuildingHelperBase").desiredlayoutheight) * 1080;
$.Msg(mPos);
@musshorn
musshorn / RedeemKeys.py
Last active June 4, 2024 21:37
Python script to redeem bulk steam keys
'''
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