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
const gremlin = require('gremlin'); | |
const { traversal } = gremlin.process.AnonymousTraversalSource; | |
const { DriverRemoteConnection } = gremlin.driver; | |
const graph = traversal().withRemote(new DriverRemoteConnection('ws://graphdb:8182/gremlin', {})); | |
module.exports = { graph } |
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
data class HelloVO (val property: String) { | |
interface IHello { | |
fun `say hello`() | |
} | |
} |
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
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.togglz.core.Feature; | |
import org.togglz.core.context.FeatureContext; | |
import org.togglz.core.manager.FeatureManager; | |
import org.togglz.core.repository.FeatureState; | |
import org.togglz.core.spi.ActivationStrategy; | |
import org.togglz.core.user.SimpleFeatureUser; | |
public enum TogglzUserFeatureImpl implements Feature { |
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
import android.content.Context; | |
import android.content.Intent; | |
import android.net.Uri; | |
import android.support.v7.widget.Toolbar; | |
/** | |
* Created by gustavo on 11/28/17. | |
* | |
* Interface for defining a Promotions View | |
* |
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
import android.content.Context; | |
import android.graphics.Color; | |
import android.support.annotation.NonNull; | |
import android.util.Log; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.ArrayAdapter; | |
import android.widget.Filter; | |
import android.widget.ImageView; |
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
import android.support.v7.widget.LinearLayoutManager; | |
import android.support.v7.widget.RecyclerView; | |
/** | |
* Class for extending Recycler view functionality | |
* Allows for fetching more data when user reaches end of view! | |
*/ | |
public abstract class EndlessRecyclerOnScrollListener extends RecyclerView.OnScrollListener { | |
public static String TAG = EndlessRecyclerOnScrollListener.class.getSimpleName(); |