Skip to content

Instantly share code, notes, and snippets.

@milessabin
milessabin / singleton-only.scala
Created Jun 6, 2016
Scala type which can only be extended by an object, not by a non-abstract type ...
View singleton-only.scala
scala> class Foo { self: Singleton => }
defined class Foo
scala> class Bar extends Foo
<console>:12: error: illegal inheritance;
self-type Bar does not conform to Foo's selftype Foo with Singleton
class Bar extends Foo
^
scala> object Bar extends Foo
View iitc-player-tracker-names.user.js
// ==UserScript==
// @id iitc-player-tracker-names
// @name IITC Player Tracker Names
// @category Tweaks
// @version 1.0
// @description This plugin displays player names for player tracker
// @include https://*.ingress.com/intel*
// @include http://*.ingress.com/intel*
// @match https://*.ingress.com/intel*
// @match http://*.ingress.com/intel*
@wene1067
wene1067 / iitc-player-tracker-names-alt.user.js
Last active Sep 24, 2019 — forked from neon-ninja/iitc-player-tracker-names-alt.user.js
IITC Player Tracker Names leaflet label version
View iitc-player-tracker-names-alt.user.js
// ==UserScript==
// @id iitc-player-tracker-names-alt
// @name IITC Player Tracker Names
// @category Tweaks
// @version 1.0
// @description This plugin displays player names for player tracker
// @include https://*.ingress.com/intel*
// @include http://*.ingress.com/intel*
// @match https://*.ingress.com/intel*
// @match http://*.ingress.com/intel*
View iitc-player-tracker-names-alt.user.js
// ==UserScript==
// @id iitc-player-tracker-names-alt
// @name IITC Player Tracker Names alt
// @category Tweaks
// @version 1.0
// @description This plugin displays player names for player tracker
// @include https://*.ingress.com/intel*
// @include http://*.ingress.com/intel*
// @match https://*.ingress.com/intel*
// @match http://*.ingress.com/intel*
View latitude-geodesic-precision.user.js
// ==UserScript==
// @id latitude-geodesic-precision
// @name IITC plugin: Latitude geodesic precision
// @category Custom
// @version 0.2.0
// @description Increase latitude geodesic precision
// @namespace https://github.com/IITC-CE/ingress-intel-total-conversion
// @include https://intel.ingress.com/*
// @grant none
// ==/UserScript==
View experimental-geodesic-precision.user.js
// ==UserScript==
// @id experimental-geodesic-precision
// @name IITC plugin: Experimental geodesic precision
// @category Custom
// @version 0.2.0-alpha
// @description Increase latitude geodesic precision (experimental way)
// Instead of geodesic distance formula uses some Pyphagorean-like approximation,
// where latitude has less contribution than longitude.
// @namespace https://github.com/IITC-CE/ingress-intel-total-conversion
// @include https://intel.ingress.com/*
View control-history.user.js
// ==UserScript==
// @id iitc-plugin-control-history
// @name IITC plugin: History control
// @description Allows user to navigate back through previous extents
// @category Controls
// @version 0.1.0
// @author jd
// @namespace https://gist.github.com/johnd0e
// @homepageURL https://gist.github.com/johnd0e/cabe8d9a59f0ede60f7f6c184fa131e3
// @supportURL https://gist.github.com/johnd0e/cabe8d9a59f0ede60f7f6c184fa131e3#new_comment_field
@johnd0e
johnd0e / zoom-info.user.js
Created Dec 24, 2018
IITC plugin: zoom-info
View zoom-info.user.js
// ==UserScript==
// @id iitc-plugin-zoom-info
// @name IITC plugin: zoom-info
// @description zoomcontrol plugin with map zoom level information
// @category test
// @version 0.1.0
// @author jd
// @namespace https://gist.github.com/johnd0e
// @homepageURL https://gist.github.com/johnd0e/%
// @supportURL https://gist.github.com/johnd0e/%#new_comment_field
@johnd0e
johnd0e / extra-zoom.meta.js
Last active Jul 2, 2020
IITC plugin: Extra zoom: Load portals/links from higher zoom levels (click statusbar) [https://gist.github.com/johnd0e/fcfd9d365a9a4714b8f93ac0afb81b25/raw/extra-zoom.user.js]
View extra-zoom.meta.js
// ==UserScript==
// @id iitc-plugin-extra-zoom
// @name IITC plugin: Extra zoom
// @description Load portals/links from higher zoom levels (click statusbar)
// Increases data zoom, in steps (limit: 4 levels)
// @category Info
// @version 0.3.3
// @author jd
// @namespace https://gist.github.com/johnd0e
// @homepageURL https://gist.github.com/johnd0e/fcfd9d365a9a4714b8f93ac0afb81b25
@spiralray
spiralray / caputuremap.user.js
Last active Jul 2, 2020
Capture the IntelMap
View caputuremap.user.js
// ==UserScript==
// @id iitc-plugin-CaptureMap@spiralray
// @name IITC plugin: CaptureMap
// @category Info
// @version 0.0.2
// @namespace https://www.spiralray.net/iitc_plugin/
// @description [spiralray-2016-11-23-235400] Capture map
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*