Skip to content

Instantly share code, notes, and snippets.

View stocc's full-sized avatar

Daniel Petri stocc

  • Aachen, Germany
  • 20:54 (UTC +02:00)
View GitHub Profile
@stocc
stocc / appleguessr.user.js
Last active February 26, 2023 15:28
AppleGuessr
// ==UserScript==
// @name AppleGuessr
// @namespace https://gist.github.com/stocc/d249c913a47ffde1d01c23d0f415edad
// @updateURL https://gist.github.com/stocc/d249c913a47ffde1d01c23d0f415edad/raw/54143a8190e2667abdf237bc0288d7deaddd89eb/appleguessr.user.js
// @version 2.2
// @description Adds Apple Look Around to GeoGuessr
// @author Mistystar (Mistystar#2205, https://github.com/kittenz) & stocc (stocc#2919, https://github.com/stocc)
// @match https://www.geoguessr.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=geoguessr.com
// @grant none
import SpriteKit
import GameplayKit
extension CGFloat {
func toRadians() -> CGFloat {
return (self * .pi) / 180
}
}
// Extend `CGPoint` to add an initializer from a `float2` representation of a point.

Keybase proof

I hereby claim:

  • I am stocc on github.
  • I am stocc (https://keybase.io/stocc) on keybase.
  • I have a public key whose fingerprint is 070C 21C7 F6C4 BB10 2285 4E7D F72C 1ACA 4743 0820

To claim this, I am signing this object: