This file contains hidden or 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
| 1) Error: | |
| test_bit_string_infinite_length(OpenSSL::TestASN1): | |
| NameError: uninitialized constant OpenSSL::ASN1::EndOfContent | |
| org/jruby/RubyModule.java:2626:in `const_missing' | |
| /Users/Owen/workspace/jruby-ossl/test/1.9/test_asn1.rb:519:in `test_bit_string_infinite_length' | |
| org/jruby/RubyBasicObject.java:1694:in `__send__' | |
| /Users/Owen/workspace/jruby-ossl/test/../build_lib/mocha/lib/mocha/integration/mini_test/version_142_and_above.rb:27:in `run' | |
| 2) Failure: | |
| test_cons_explicit_tagging(OpenSSL::TestASN1) [/Users/Owen/workspace/jruby-ossl/test/1.9/test_asn1.rb:408]: |
This file contains hidden or 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
| Cmnd_Alias DEVSERVER = /opt/nginx/sbin/nginx, /bin/kill | |
| mdesrosiers ALL = NOPASSWD: DEVSERVER |
This file contains hidden or 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 Store < ActiveRecord::Base | |
| has_many :products | |
| belongs_to :user | |
| validates_presence_of :name | |
| end | |
| > Store.create(:name => "Amazon") | |
| > Store.where(:name => "Amazon") |
This file contains hidden or 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
| # Author: Pieter Noordhuis | |
| # Description: Simple demo to showcase Redis PubSub with EventMachine | |
| # | |
| # Update 7 Oct 2010: | |
| # - This example does *not* appear to work with Chrome >=6.0. Apparently, | |
| # the WebSocket protocol implementation in the cramp gem does not work | |
| # well with Chrome's (newer) WebSocket implementation. | |
| # | |
| # Requirements: | |
| # - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby |
This file contains hidden or 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 < ActiveRecord::Base | |
| include TablelessColumns | |
| tableless_column :license_accepted, :boolean | |
| # other fields that are corresponding to table columns | |
| end | |
| module TablelessColumns | |
| def self.included(base) |
This file contains hidden or 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
| - build_config | |
| - build.properties |
This file contains hidden or 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
| ant -Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter | |
| -Dant.build.javac.target=1.6 | |
| -Dant.build.javac.source=1.6 compile |
This file contains hidden or 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 Baz implements Serializable { | |
| private A a; | |
| private B b; | |
| private C c; | |
| ... | |
| } |
This file contains hidden or 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
| public class SourceEditorFactory { | |
| private static IConfigurationElement cachedConfigurationElement; | |
| private static final String ATTRIBUTE_CLASS = "class"; | |
| public static ITextEditor createSourceEditor() { | |
| if (cachedConfigurationElement == null) { | |
| cachedConfigurationElement = readConfigurationElement(); | |
| } |
This file contains hidden or 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
| <dependency> | |
| <groupId>HelloWorld</groupId> | |
| <artifactId>HelloWorldProxy</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <type>jar</type> | |
| <scope>compile</scope> | |
| </dependency> |