Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View balinterdi's full-sized avatar
👌
Enjoying life, including work.

Balint Erdi balinterdi

👌
Enjoying life, including work.
View GitHub Profile
import Ember from 'ember';
export default Ember.Component.extend({
myColor: 'red',
});
@balinterdi
balinterdi / d3-heatmap.html
Created December 22, 2015 14:56 — forked from nfisher/d3-heatmap.html
Simple D3.js SVG heatmap
<!doctype HTML>
<title>D3 Test</title>
<script src="d3.v3.min.js" charset="utf-8"></script>
<style type="text/css">
body {
margin:0 auto;
position:relative;
width:958px;
}
.chart rect {

Balint Erdi

Contact details

Speaker bio

class HomeApp
def call(env)
[200, {"Content-Type" => "text/plain"}, ["Hello World!"]]
end
end
Marketinsushi::Application.routes.draw do |map|
# match "/home" => HomeApp
mount HelloWorld.new => "/home"
match '/' => "static#welcome"
#!/usr/bin/env ruby
#
# Update iChat/Adium/Skype status
#
# USAGE: imstatus <online|available|offline|away|dnd|invisible> [message]
# (supports partial status identifiers like 'on' or 'aw')
#
# László Bácsi <lackac@icanscale.com>
# http://github.com/lackac
#!/usr/bin/env ruby
# Author: Bálint Érdi <balint.erdi@gmail.com>
# forking the work of László Bácsi <lackac@lackac.hu>
require 'rubygems'
require 'httparty'
require 'json'
require 'sequel'
class ControllerHelper
include Singleton
include ActionView::Helpers
end
def url_helpers
ControllerHelper.instance
end
#
# cucumber.yml
#
# Filter which features are run with each profile by the file extension
webrat: --require features/steps/common --require features/support/webrat_env.rb --exclude selenium.feature --format progress
selenium: --require features/steps/common --require features/support/selenium_env.rb --exclude webrat.feature --format progress
#
# features/support/env.rb