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
public class ReportCpuCount { | |
public static void main(String[] args) throws Exception{ | |
while(true){ | |
System.out.printf("#Found %d CPUs%n", Runtime.getRuntime().availableProcessors()); | |
Thread.sleep(1000); | |
} | |
} | |
} |
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
// ==UserScript== | |
// @name Ingress Intel: Notify UI | |
// @namespace https://arantius.com/misc/greasemonkey/ | |
// @description Annotate the Ingress Intel Dashboard with links to control the Ingress Notify app. | |
// @match http://www.ingress.com/intel* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
//const NOTIFY_SERVER = 'http://localhost:8080/' |