I hereby claim:
- I am rbarfoed on github.
- I am rbarfoed (https://keybase.io/rbarfoed) on keybase.
- I have a public key whose fingerprint is 4BA2 5D20 8390 0553 E742 54B7 3CE6 2081 7CE0 3771
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// This is the main application configuration file. It is a Grunt | |
// configuration file, which you can learn more about here: | |
// https://github.com/cowboy/grunt/blob/master/docs/configuring.md | |
// | |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
// The clean task ensures all files are removed from the dist/ directory so | |
// that no files linger from previous builds. |
require 'sinatra/base' | |
require 'eventmachine' | |
require 'em-http-request' | |
EM.run do | |
class App < Sinatra::Base | |
get "/bar" do | |
stream(:keep_open) do |out| | |
http = EventMachine::HttpRequest.new('https://www.google.dk/').get |
require 'rubygems' | |
require 'thread' | |
require 'timeout' | |
require 'amqp' | |
require 'vcevent' | |
EventMachine.run { | |
# FIXME avoid hardcoding amqp url |
#!/usr/bin/env ruby -KU | |
require 'cinch' | |
require 'iconv' | |
require_relative 'quote' | |
require_relative 'seen' | |
bot = Cinch::Bot.new do | |
configure do |c| |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Multipage test</title> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css" /> | |
<script src="http://code.jquery.com/jquery-1.4.3.min.js"></script> | |
<script src="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js"></script> | |
</head> | |
<body> |