Skip to content

Instantly share code, notes, and snippets.

@fschwiet
fschwiet / gist:ff088954086c402ae7a42ae3a8d3d7c2
Last active October 3, 2017 04:54
autoclicker for online challenge cookie clicker
// Autoclicker for Cookie Clicker, Cookie Clicker is at http://orteil.dashnet.org/cookieclicker/
// Run it in the debug console
var clicky = function() { ($(".shimmer") || $("#bigCookie")).click(); setTimeout(clicky, 30); };
clicky();
@fschwiet
fschwiet / Main.cs
Last active September 13, 2022 20:24
experimenting with default interface implementation overrides in C#
using System;
public interface ISparrow
{
double GetAirspeed() => 1.0;
}
public class AfricanSparrow : ISparrow
{
public double GetAirspeed() => 2.0;