Skip to content

Instantly share code, notes, and snippets.

View Zmote's full-sized avatar
🤔
Working on some personal projects...

Zafer Dogan Zmote

🤔
Working on some personal projects...
View GitHub Profile
@Zmote
Zmote / chat.rb
Created May 30, 2025 16:11 — forked from HoneyryderChuck/chat.rb
Simple Chat Application, proof of concept for hybrid of thread-server http with evented-server SSE.
# chat.rb
require 'sinatra/base'
# this also loads celluloid io, let's keep that in mind
require 'celluloid/current'
require 'reel'
# The chat server, an IO Event Loop held by the actor
# Collects connections (Reel Event Streams)
#
# Contrary to EventMachine, there is no event callback for
@Zmote
Zmote / Gemfile
Created August 6, 2020 23:04 — forked from dhh/Gemfile
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers