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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* OData filter preparator: | |
* simple, compact and easy to extend | |
* copyright (c) Mohamed Ali Jamaoui 2013 | |
* | |
* can be used on the fly to prepare the OData filter | |
* can easly be extended to handle new Edm types | |
* > the list of Edm types can be found here: | |
* > http://www.odata.org/documentation/odata-v2-documentation/overview/#6_Primitive_Data_Types | |
* > check the detailed description here: http://intelligea.wordpress.com/2013/10/12/how-to-format-odata-filters-values-on-the-fly-using-their-edm-types/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.LinkedList; | |
import java.util.List; | |
public class Benchmark { | |
public static void main(String[] args) { | |
ArrayList<Integer> arrayList = new ArrayList<Integer>(); | |
LinkedList<Integer> linkedList = new LinkedList<Integer>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c), Mohamed Ali Jamaoui, All rights reserved | |
* released under the MIT license | |
*/ | |
var dm = {}; | |
dm.dataMiner = function module(){ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ply.lex as lex | |
#list of tokens | |
tokens = ( | |
'LANGLE', #< | |
'LANGLESLASH', #</ | |
'RANGLE', #> | |
'EQUAL', # = | |
'STRING', # "hello" | |
'WORD', # Welcome! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta content="utf-8"> | |
<style type="text/css"> | |
svg { | |
border: 1px solid #ccc; | |
} | |
path { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.graticule { | |
fill: none; | |
stroke: #777; | |
} | |
.boundary { |
OlderNewer