View kafka-consumer.js
import kafka from "kafka-node"
const client = new kafka.Client("http://localhost:2181");
const topics = [
{
topic: "webevents.dev"
}
];
const options = {
View kafka-consumer.js
import kafka from "kafka-node"
const client = new kafka.Client("http://localhost:2181");
const topics = [
{
topic: "webevents.dev"
}
];
const options = {
View animations.css
/* Make the element pulse (grow large and small slowly) */
/* Usage
.myElement {
animation: pulsate 1s ease-out;
animation-iteration-count: infinite;
opacity: 1;
}
*/
@-webkit-keyframes pulsate {
0% {-webkit-transform: scale(0.1, 0.1); opacity: 0.0;}
View getters.js
// Get all applications from the applicationList store
exports.allApplications = ['applicationList'];
// Get the search term from the searchTerm Store
exports.searchTerm = ['searchTerm'];
// Create a getter called filteredApplicationList, that takes
// the above two stores, filters the appList against the search
// query, and returns the result.
exports.filteredApplicationList = [
View Preferences.sublime-settings
{
"bold_folder_labels": true,
"caret_style": "phase",
"color_inactive_tabs": true,
"color_scheme": "Packages/Theme - Hero/Hero Dark.tmTheme",
"fade_fold_buttons": false,
"font_face": "Source Code Pro",
"font_size": 13.0,
"highlight_line": true,
"ignored_packages":
View event-hammer.js
YUI.add('event-hammer', function (Y, NAME) {
/*
Copyright 2013 Yahoo! Inc.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
'use strict';
//loop through Hammer.gestures
var HAMMER_GESTURES = [
View dd-gestures.js
/**
* This module is the conditional loaded `dd` module to support gesture events
* in the event that `dd` is loaded onto a device that support touch based events.
*
* This module is loaded and over rides 2 key methods on `DD.Drag` and `DD.DDM` to
* attach the gesture events. Overrides `DD.Drag._prep` and `DD.DDM._setupListeners`
* methods as well as set's the property `DD.Drag.START_EVENT` to `gesturemovestart`
* to enable gesture movement instead of mouse based movement.
* @module dd
View gallery-msa-checkbox.js
View Gruntfile.js
'use strict';
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
all: [
'Gruntfile.js',
'tasks/**/*.js'
],
View mobile-first-grid.css
.pure-u-1,
.pure-u-1-1,
.pure-u-1-2,
.pure-u-1-3,
.pure-u-2-3,
.pure-u-1-4,
.pure-u-3-4,
.pure-u-1-6,
.pure-u-5-6,
.pure-u-1-8,