Category Archives: Dave’s Tools

Tools – Tools/Script/Code written by Dave

excel2csv – Parse Excel file into CSV files / Parse CSV files into CSV data structure

excel2csv is a tool used to read an Excel file in and convert it into a bunch of CSV files or just read a CSV file and parse it into the CSV data structure which could be used by upper … Continue reading

Posted in Dave's Tools | Tagged , , , , | Leave a comment

myssh – an interactive ssh management tool

Inspired by the putty manager on Windows system, I have spent the whole afternoon to write ‘myssh’ – an interactive ssh management tool providing the ability to save, display, choose and connect your ssh connection automatically. I am not sure … Continue reading

Posted in Dave's Tools, Programming | Tagged , , , | 3 Comments

tmt – Tomcat monitor tool

Our Tomcat server sometimes crushes either process killed or no response from httpd. Before falling into the ‘long-term’ debugging, we have implemented ‘tmt’, which is used to moniter the status of Tomcat process and httpd by restarting the Tomcat timely. … Continue reading

Posted in Dave's Tools, Programming | Tagged , , , , , , , , , | 1 Comment

jop – Jena Owl Parser

Jena API may be the first choice for building Semantic Web applications using Java – parsing RDF and OWL. However, the official Jena document for ontology API (http://jena.apache.org/documentation/ontology/) seems kind of unfriendly with mixing parser and writer part altogether. ‘jop’ … Continue reading

Posted in AI/ML, Dave's Tools | Tagged , , , | Leave a comment

csve – csv file evolver

Csv file, short for Comma Separated Version file, is usually a easy and common way to record [field:value] in multiple lines with all fields and values separated by comma, which is the basic data file of Microsoft Excel, as well … Continue reading

Posted in Dave's Tools, Programming | Tagged , , | Leave a comment

cccmt – Coverity code complexity metrics tool

cccmt is used to parse the METRICS.errors.xml generated by cov-analyze of Coverity to produce a Code Complexity Metrics (CCM) report of different functions. SAX is used to parse XML file instead of DOM as the XML file may be very … Continue reading

Posted in Dave's Tools, Programming, Static Code Analysis | Tagged , , , , , , | Leave a comment

itevad – How to write your own protocol and its stack – part 9

Previous_Part_8 Now we are moving to the last post of ‘itevad’ – writing a stack for decoding text format of Itevad Protocol using Flex and Bison as well as C as a main function. Being different with previous Flex and … Continue reading

Posted in Dave's Tools, H.248/MEGACO/EGCP, Programming, Stuff about Compiler | Tagged , , | Leave a comment

itevad – How to write your own protocol and its stack – part 8

Previous_Part_7 After writing a Flex standalone lexer, we are going to make it a little bit useful – adding parser, Bison. When Flex and Bison work together, standalone flex file needs some changes to cooperate with Bison, as you will … Continue reading

Posted in Dave's Tools, H.248/MEGACO/EGCP, Programming, Stuff about Compiler | Tagged , , | Leave a comment

itevad – How to write your own protocol and its stack – part 7

Previous_Part_6 From this post, we will have to learn Flex and Bison, which are assumed to have very bizarre grammars to write and understand. Fortunately, we will step forwardly from Flex standalone, Flex+Bison and Flex+Bison+C finally. Please kindly note that … Continue reading

Posted in Dave's Tools, H.248/MEGACO/EGCP, Programming, Stuff about Compiler | Tagged , , | Leave a comment

itevad – How to write your own protocol and its stack – part 6

Previous_Part_5 From this post, we will start our Flex and Bison journey. Before that, we will need a clarification for BNF and ABNF again and give ABNF description of Iitevad accordingly. As mentioned in General Background, BNF and ABNF are … Continue reading

Posted in Dave's Tools, H.248/MEGACO/EGCP, Programming, Stuff about Compiler | Tagged , , , , | Leave a comment