Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Shaig Khaligli mastershaig

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