Skip to content

Instantly share code, notes, and snippets.

Egor Homakov homakov

View GitHub Profile
View boot.js
var state={hi: prompt("Choose state")};
let body = `<html>
var state = {JSON.stringify(state)}
window.onload = function(){
homakov /
Last active Sep 24, 2016
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
#prevents DNS rebinding attacks
class DNSBinding
VALID_HOSTS = %w{localhost:9292}
def initialize(app)
@app = app
You can’t perform that action at this time.