Interactive tool for creating directed graphs, created using d3.js.
Demo: http://bl.ocks.org/cjrd/6863459
Operation:
- drag/scroll to translate/zoom the graph
| import theano | |
| import theano.tensor as T | |
| from theano.sandbox.rng_mrg import MRG_RandomStreams as RandomStreams | |
| from theano.tensor.signal.downsample import max_pool_2d | |
| from theano.tensor.extra_ops import repeat | |
| from theano.sandbox.cuda.dnn import dnn_conv | |
| from time import time | |
| import numpy as np | |
| from matplotlib import pyplot as plt |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| svg { | |
| border: 1px solid #ccc; | |
| } | |
| path { | |
| fill: #ccc; |
Interactive tool for creating directed graphs, created using d3.js.
Demo: http://bl.ocks.org/cjrd/6863459
Operation:
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| .graticule { | |
| fill: none; | |
| stroke: #777; | |
| } | |
| .boundary { |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <body> | |
| <script src="http://d3js.org/d3.v3.min.js"></script> | |
| <script src="http://d3js.org/topojson.v1.min.js"></script> | |
| <script> | |
| var width = 960, | |
| height = 700; | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta content="utf-8"> | |
| <style type="text/css"> | |
| svg { | |
| border: 1px solid #ccc; | |
| } | |
| path { |
Using d3.js and TopoJson to draw a zoomable map of Tunisia. Done by Mohamed Ali Jamaoui. To know more about Tunisia check this Wiki http://en.wikipedia.org/wiki/Tunisia
Using d3.js and TopoJson to draw the map of Tunisia. Done by Mohamed Ali Jamaoui. To know more about Tunisia check this Wiki http://en.wikipedia.org/wiki/Tunisia
| drop type measuresAndDimensionsType; | |
| create type measuresAndDimensionsType as table("ATTRIBUTE_NAME" varchar(100),"DIMENSION_NAME" varchar(100), "ATTRIBUTE_DESCRIPTION" varchar(100), "ATTRIBUTE_TYPE" integer); | |
| drop procedure getListOfMeasuresAndDimensions; | |
| create procedure getListOfMeasuresAndDimensions(in currentCubeName varchar(100), in currentPackageName varchar(100), out outputResults measuresAndDimensionsType) | |
| language sqlscript as | |
| cursor listOfDimensions for select distinct "DIMENSION_NAME" | |
| from "_SYS_BI"."BIMC_DIMENSIONS" where "CUBE_NAME"='KDD' and |
| import ply.lex as lex | |
| #list of tokens | |
| tokens = ( | |
| 'LANGLE', #< | |
| 'LANGLESLASH', #</ | |
| 'RANGLE', #> | |
| 'EQUAL', # = | |
| 'STRING', # "hello" | |
| 'WORD', # Welcome! |