Skip to content

Instantly share code, notes, and snippets.

View mastershaig's full-sized avatar
🏠
Working from home

Shaig Khaligli mastershaig

🏠
Working from home
  • Planetly
  • Berlin
View GitHub Profile
@mastershaig
mastershaig / chat.rb
Created July 8, 2016 21:59 — forked from harmesy/chat.rb
Simple EventMachine chat server
#!/usr/bin/env ruby
require 'rubygems'
require 'eventmachine'
class Server
attr_accessor :connections
def initialize
@connections = []
@mastershaig
mastershaig / index.html
Created November 10, 2016 17:14 — forked from anonymous/index.html
Capture FB Reactions count and show them on webpage
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My FB Reactions Page</title>
<style>
html {
box-sizing: border-box;
width: 100%;