Skip to content

Instantly share code, notes, and snippets.

@joetm
joetm / mouseleave-popup
Created October 17, 2015 10:37
Annoying popup when mouse leaves the browser window
<!DOCTYPE html>
<html>
<head>
<title>Mouseout Popup Demonstration</title>
<link href="bootstrap4/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align:center;">
Move the mouse outside of the browser window.
@robmiller
robmiller / play-wordle.rb
Last active February 15, 2022 19:40
A command-line, offline version of Wordle. A new word every time you run it.
#!/usr/bin/env ruby
#
# Play a command-line version of Wordle
#
# Original game by Josh Wardle: https://www.powerlanguage.co.uk/wordle/
#
# Installation and usage:
#
# 1. Save this file somewhere as play-wordle.rb
# 2. Run `ruby play-wordle.rb`