Skip to content

Instantly share code, notes, and snippets.

View sluger's full-sized avatar

Stefan Luger sluger

View GitHub Profile
@keckelt
keckelt / Backtick Behaviour.md
Last active July 13, 2024 12:25
Avoid typing backticks twice (on Linux and Windows)

Avoid typing backticks twice (on Linux and Windows) using the instructions below :)

# Author: Pieter Noordhuis
# Description: Simple demo to showcase Redis PubSub with EventMachine
#
# Update 7 Oct 2010:
# - This example does *not* appear to work with Chrome >=6.0. Apparently,
# the WebSocket protocol implementation in the cramp gem does not work
# well with Chrome's (newer) WebSocket implementation.
#
# Requirements:
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby