Skip to content

Instantly share code, notes, and snippets.

div {
border-style: solid;
border-width: 1px;
border-color: #000000
}
#header {
width: 100%;
div {
border-style: solid;
border-width: 1px;
border-color: #000000;
height: 100%;
}
#wrapper {
width: 70%;
margin: auto;
div {
border-style: solid;
border-width: 1px;
border-color: #000000;
height: 100%;
}
#wrapper {
width: 70%;
margin: auto;
table {
width: 900px
}
.tr {
height: 20px;
width: 300px;
}
td {
width : 10px;
background: #f06;
table {
width: 900px;
background-color: #058;
}
.tr {
height: 20px;
width: 300px;
#wrapper {
width: 100%;
height: 700px;
margin: 0 auto;
}
#top {
background: #77ACF2;
border-radius: 10px;
width: 99%;
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
browserify: {
app: {
options: {
debug: false,
transform: ['reactify']
@jpellizzari
jpellizzari / package.json
Created December 1, 2015 04:40
React, ES6 project base
{
"name": "react-base",
"version": "1.0.0",
"description": "staring point for react projects",
"main": "index.js",
"ci": {
"nvm": "4.1.0"
},
"directories": {
"test": "test"
@jpellizzari
jpellizzari / snippets.cson
Last active May 15, 2016 17:10
Mocha and React shortcuts for Atom
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
// Change to getNodeDetails to make this work. Returns a promise to allow for chaining
export function getNodeDetails(topologyUrlsById, currentTopologyId, options, nodeMap, dispatch) {
// get details for all opened nodes
const obj = nodeMap.last();
if (obj && topologyUrlsById.has(obj.topologyId)) {
const topologyUrl = topologyUrlsById.get(obj.topologyId);
let urlComponents = [topologyUrl, '/', encodeURIComponent(obj.id)];
if (currentTopologyId === obj.topologyId) {
// Only forward filters for nodes in the current topology
const optionsQuery = buildOptionsQuery(options);