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
package implicitclass | |
import scala.collection.JavaConverters._ | |
import scala.collection.immutable._ | |
import com.typesafe.config.{ Config, ConfigFactory } | |
trait ConfigSupport { | |
def customLoadConfig(): Config = ConfigFactory.load() |
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
bootstrap.js:8 Uncaught Error: Bootstrap's JavaScript requires jQuery | |
slidebars.js:346 Uncaught ReferenceError: jQuery is not defined |
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
package com.headexplodes.gwt.link; | |
import com.google.common.annotations.VisibleForTesting; | |
import com.google.gwt.dom.client.NativeEvent; | |
import com.google.gwt.event.dom.client.ClickEvent; | |
import com.google.gwt.event.dom.client.ClickHandler; | |
import com.google.gwt.inject.client.binder.GinBinder; | |
import com.google.gwt.place.shared.Place; | |
import com.google.gwt.place.shared.PlaceChangeRequestEvent; | |
import com.google.gwt.place.shared.PlaceController; |
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
.mask { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
z-index: 10000; | |
background-color: #777; | |
opacity: 0.4; | |
} |
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
@Nonnull | |
public SafeHtml decorateWithLinkIfAny(@Nullable String link, @Nonnull SafeHtml content) { | |
return link == null ? content : SAFE_HTML_TEMPLATES.link(UriUtils.fromString(link), content); | |
} | |
private static final MySafeHtmlTemplates SAFE_HTML_TEMPLATES = GWT.create(MySafeHtmlTemplates.class); | |
// vs |
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
package rubber.duck; | |
import com.google.common.collect.ImmutableMultimap; | |
import com.google.common.collect.Lists; | |
import org.apache.commons.lang.NotImplementedException; | |
import java.util.List; | |
// TODO: generate the tree from the list of temporary element holders | |
// fail fast if an user calls methods in the wrong order |
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
package rubber.duck; | |
import com.google.common.collect.ImmutableSet; | |
public enum Foo implements FooHierarchy.Node { | |
ONE, | |
TWO, | |
THREE, | |
FOUR, | |
FIVE, |
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
package com.foo.serialization; | |
import com.dyuproject.protostuff.LinkedBuffer; | |
import com.dyuproject.protostuff.ProtostuffIOUtil; | |
import com.dyuproject.protostuff.Schema; | |
import com.google.common.collect.Lists; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; |
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
/** | |
* Copyright (C) 2011 Etienne Neveu | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |