- Microsoft Windows
- Phabricator
- Language-specific build tools (Rake, Grunt, etc.)
- Angular.js
- Solano CI (formerly TDDium)
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
Run lita+docker interactively: | |
$ sudo docker run -ti --link lita_redis:litadb sirhopcount/lita | |
Type "exit" or "quit" to end the session. | |
Lita > quit | |
Run it as daemon: | |
$ sudo docker run -d --link lita_redis:litadb sirhopcount/lita |
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
FROM litaio/ruby | |
MAINTAINER "Ted Wexler <ted@stuckinacan.com>" | |
RUN apt-get update | |
RUN apt-get install -y redis-server libssl-dev | |
RUN gem install lita | |
ADD conf/ /srv/lita-docker/ | |
WORKDIR /srv/lita-docker | |
RUN bundle install | |
CMD service redis-server start && bundle exec lita start |
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
# Ensure AssetTagHelper has been loaded before we try to monkey-patch it. | |
require 'action_view/helpers/asset_tag_helper' | |
module ActionView::Helpers::AssetTagHelper | |
# Insert the asset id in the filename, rather than in the query string. In | |
# addition to looking nicer, this also keeps any other static file handlers | |
# from preempting our Rack::StaticCache middleware, since these | |
# version-numbered files don't actually exist on disk. | |
def rewrite_asset_path(source) | |
source.insert source.rindex('.'), "-#{rails_asset_id(source)}" |
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
[user] | |
name = Ondrej Certik | |
email = ondrej@certik.cz | |
[color] | |
ui = auto | |
interactive = true | |
[alias] | |
ci = commit |
- Threadless gift certificates
- iTunes store credit
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
generate | |
rails plugin new importable --dummy-path=spec/dummy --full --mountable -T | |
add to gemspec | |
s.add_dependency 'jquery-rails' | |
s.add_dependency 'sass-rails' | |
s.add_dependency 'bootstrap-sass', '~> 2.0.3' |
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
require 'test/unit' | |
class Whale | |
def self.attr_validated(method_name, &validation) | |
# Enter code here to make all tests pass. | |
end | |
attr_validated :num_teeth do |v| | |
v <= 4 | |
end |
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
function beget(parent, child){ | |
// put code here to make test() return true | |
}; | |
function test(){ | |
function Parent(){ | |
throw 'exception'; | |
}; | |
Parent.prototype = {code: Math.random()}; |
OlderNewer