I am Dave Jing Tian, an Assistant Professor in the Department of Computer Science at Purdue University working on system security. My research involves embedded systems, operating systems, and trusted computing. All opinions are my own.
- 174,776 hits
All blogs on this website are licensed under a Creative Commons Attribution 4.0 International License.
Category Archives: Dave’s Tools
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
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
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
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
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
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
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
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
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
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