Skip to content

Instantly share code, notes, and snippets.

@Toxicable
Toxicable / test.spec.js
Created September 12, 2019 21:52
angular jasmine nodejs test
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define("test.spec.js", ["require", "exports", "tslib", "@angular/core/testing", "@angular/platform-browser-dynamic/testing", "@angular/core", "zone.js/dist/zone-node", "zone.js/dist/zone-testing", "core-js/es/reflect"], factory);
}
})(function (require, exports) {
"use strict";
@Toxicable
Toxicable / gist:604e7551db86b5caac85b067d42fafed
Last active January 10, 2023 05:49
realestate.com.au:filter-listing+add-google-maps
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.realestate.com.au/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=realestate.com.au
// @grant none
// @run-at document-start
@Toxicable
Toxicable / 1.instructions.txt
Last active April 3, 2024 22:56
realestate map average price
1. Install Tempermonkey https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
2. CLick the Tampermonkey icon
3. Click Create New Script
4. Paste in the below code
4.5 Hit CMD+S to save it
5. Go to https://www.realestate.com.au/buy or https://www.realestate.com.au/sold
6. Click Filters, select "Only show properties with a sold price"
7. Search and click the Map view
It'll have issues when the results have 2 apartments in the same building - I was looking for houses so didn't add support for that at the second