Skip to content

Instantly share code, notes, and snippets.

@seler
seler / robot.js
Created December 4, 2012 15:21
seler
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
var direction = 1;
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
//robot.ahead(100);
@seler
seler / rsifolloworg.user.js
Last active March 24, 2017 14:01
Follow all members of StarCitizen organization
// ==UserScript==
// @name Follow all members of StarCitizen organization
// @namespace seler
// @version 0.1
// @description Follow all members of StarCitizen organization
// @author You
// @match https://robertsspaceindustries.com/orgs/*/members
// @grant none
// @updateURL https://gist.githubusercontent.com/seler/d37f23a511960b0ce03b6591f80d7d35/raw/rsifolloworg.user.js
// @installURL https://gist.githubusercontent.com/seler/d37f23a511960b0ce03b6591f80d7d35/raw/rsifolloworg.user.js
import time
from handlers import handlers, invalid_command, Exit
def get_greeting():
commands = ", ".join(handlers)
return (
f"available commands are: {commands}\n"
"hit CTRL+C or type exit to exit"
)
// ==UserScript==
// @name New World Map Live Position
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the world!
// @author You
// @match https://www.newworld-map.com/*
// @icon https://www.google.com/s2/favicons?domain=newworld-map.com
// @grant none
// @run-on document-end