- Put server.coffee next to config.coffee
- Register server.coffee in config.coffee server: path: 'server.coffee'
- Add required modules to package.json npm install --save express http-proxy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Nils Kaiser", | |
"label": "Founder and Principal Advisor at kaikai", | |
"picture": "", | |
"email": "[email protected]", | |
"phone": "", | |
"website": "https://kaikai.dev", | |
"summary": "Passionate Digital Development and ICT4D adviser, and the founder of a team of African consultants (kaikai.dev). Creative ICT generalist with 10+ years of experience and a background in Political Science. Team player and enthusiastic communicator in four languages.", | |
"location": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name My Fancy New Userscript | |
// @namespace http://your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @author You | |
// @match http://tableau1.eocng.org/views/CallCenterLive/* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'rails', '4.0.0' | |
gem 'sass-rails', '~> 4.0.0' | |
gem 'uglifier', '>= 1.3.0' | |
gem 'coffee-rails', '~> 4.0.0' | |
gem 'therubyrhino' | |
gem 'jquery-rails' | |
gem 'turbolinks' | |
gem 'jbuilder', '~> 1.2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.0' | |
# Use SCSS for stylesheets | |
gem 'sass-rails', '~> 4.0.0' | |
# Use Uglifier as compressor for JavaScript assets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
berm00259937a:expertondemand c5168972$ cucumber features/acceptance_features/profiles/completeness.feature:7 | |
Using the default profile... | |
/Users/c5168972/.rvm/gems/ruby-1.9.3-p0@expertondemand/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead. | |
@javascript | |
Feature: Profile completeness | |
As a user I would like to see an indication of my profile completeness | |
so I will know If I have provided sufficient information | |
Scenario: Display completeness editing profile # features/acceptance_features/profiles/completeness.feature:7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
berm00259937a:expertondemand c5168972$ cucumber features/acceptance_features/profiles/completeness.feature:7 | |
Using the default profile... | |
/Users/c5168972/.rvm/gems/ruby-1.9.3-p0@expertondemand/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead. | |
@javascript | |
Feature: Profile completeness | |
As a user I would like to see an indication of my profile completeness | |
so I will know If I have provided sufficient information | |
Scenario: Display completeness editing profile # features/acceptance_features/profiles/completeness.feature:7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Sunspot | |
class FieldFactory::Dynamic | |
# avoid use of : in field name | |
def build(dynamic_name) | |
AttributeField.new("#{@name}_#{dynamic_name}", @type, @options.dup) | |
end | |
end | |
class Setup | |
# support using dynamicfields by using function { :"dynamic_field:field_name"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User | |
include MongoMapper::Document | |
key :uid, String, :required => true, :unique => true | |
one :profile | |
end | |
class Profile | |
include MongoMapper::EmbeddedDocument |
NewerOlder