Skip to content

Instantly share code, notes, and snippets.

View nesterone's full-sized avatar

Igor Nesterenko nesterone

  • Globallogic
  • Kharkiv
View GitHub Profile
alert('Hello World!!');
{
"@context":{
"SKU" : "http://schema.org/sku"
}
}
@nesterone
nesterone / index.js
Created July 11, 2015 09:09
requirebin sketch
var _ = require('underscore');
function createCounterTemplate(){
var style = [
"text-align:center",
"line-height:<%= count %>",
"border: 1px solid red",
"width: <%= (100+count) + 'px' %>",
"height: <%= (100+count) +'px'"
].join(";");
<!DOCTYPE html>
<html>
<head>
<title>Getting data back with Datasource</title>
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.2.0/build/cssreset/reset-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.2.0/build/cssbase/base-min.css">
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.2.0/build/cssgrids/grids-min.css">
<link rel="stylesheet" type="text/css" href="styles.css">
We couldn’t find that file to show.
// Configuration
cssClass.config.guard = 'jr';
//use cases
cssClass({
module: "button"
});
// -> 'jr-mButton jr'
<div class="jr-mJoinsDesigner">
<div class="jr-mJoinsDesigner-header">
<div class="jr-mJoinsDesigner-header-leftTable">Left:Table Fields</div>
<div class="jr-mJoinsDesigner-header-operator">Operator</div>
<div class="jr-mJoinsDesigner-header-rightTable">Right:Table Fields</div>
<div class="jr-mJoinsDesigner-header-type">Type</div>
<div class="jr-mJoinsDesigner-header-weight">Weight</div>
<div class="jr-mJoinsDesigner-header-options">Options</div>
</div>
<div class="jr-mJoinsDesigner-dataIslands">
import fs from 'fs';
import path, { resolve } from 'path';
import assert from 'assert';
import Module from 'module';
import jsdom from 'jsdom';
import Mocha from 'mocha';
import chokidar from 'chokidar';
// Let's import and globalize testing tools so
// there's no need to require them in each test
@nesterone
nesterone / .block
Created May 2, 2017 10:06
fresh block
license: mit
<!DOCTYPE html>
<html>
<head>
<title>My first Vue app</title>
<script src="https://unpkg.com/vue"></script>
</head>
<body>
<div id="app">
{{ message }}
</div>