- 48x48px
- 72x72px
- 96x96px
- 144x144px
- 192x192px
- 20x20px
- 29x29px
import React, { Component } from 'react' | |
import JsonSchemaForm from 'react-jsonschema-form' | |
import NodeNumberInput from '../components/node-number-input' | |
import NodeSchemaInput from '../components/node-schema-input' | |
import FlowDataInput from '../components/flow-data-input' | |
export default class FlowJsonSchemaEditor extends Component { | |
state = { |
import React, { Component } from 'react' | |
export default class NodeSchemaInput extends Component { | |
handleChange = () => { | |
} | |
render() { | |
return <div> |
ToDo: | |
workspace - create another flow |
{ | |
"type": "object", | |
"title": "Citrix Sales to Pokemon!", | |
"properties": { | |
"name": { | |
"title": "Seller Name", | |
"type": "string" | |
}, | |
"customer": { | |
"title": "Customer Name", |
% function to create a vocabulary from multiple text files under folders | |
function voc = buildVoc(folder, voc) | |
stopword = {'ourselves', 'hers', 'between', 'yourself', 'but', 'again', 'there', ... | |
'about', 'once', 'during', 'out', 'very', 'having', 'with', 'they', 'own', ... | |
'an', 'be', 'some', 'for', 'do', 'its', 'yours', 'such', 'into', ... | |
'of', 'most', 'itself', 'other', 'off', 'is', 's', 'am', 'or', ... | |
'who', 'as', 'from', 'him', 'each', 'the', 'themselves', 'until', ... | |
'below', 'are', 'we', 'these', 'your', 'his', 'through', 'don', 'nor', ... |
% function to create a vocabulary from multiple text files under folders | |
function feat_vec = cse408_bow(filepath, voc) | |
[fid, msg] = fopen(filepath, 'rt'); | |
error(msg); | |
line = fgets(fid); % Get the first line from the file. | |
feat_vec = zeros(size(voc)); %Initialize the feature vector' | |
% array of words |
console.log(data) | |
var filterBy | |
// filtering | |
switch (body.orderBy.toLowerCase()) { | |
case 'name': | |
filterBy = 'first_name' | |
break; | |
case 'age': | |
filterBy = 'age' | |
break; |
#!/bin/bash | |
for dir in $(ls) | |
do | |
if [ ! -f $dir/package.json ]; then | |
echo 'No modules to install for: ' $dir | |
else | |
echo 'Reinstalling node_modules for: ' $dir; | |
if [ -d $dir/node_modules/ ]; then | |
rm -rf $dir/node_modules/ |