Showing posts with label Common Tools. Show all posts
Showing posts with label Common Tools. Show all posts

Saturday, August 10, 2013

Programs for Windows Administration

This is a list of programs, that you can use for Windows administration.

  1. Computer Management: compmgmt.msc
  2. Component Services: comexp.msc 
  3. Event Viewer: eventvwr.exe 
  4. Local Security Policy: secpol.msc 
  5. ODBC Data Sources: odbcad32.exe
  6. Performance Monitor: perfmon.msc
  7. Print Management: printmanagement.msc
  8. Services: services.msc
  9. System Configuration: msconfig.exe 
  10. Task Scheduler:taskschd.msc
  11. Windows Firewall with Advanced Security: WF.msc 

Common Tools for Regular Use

I use a variety of tools during development. Here is a list of some of them. This list keeps growing as I use additional software.

  1. Beyond Compare: for file, folder comparison and file merge
  2. gVim: for file editing, comparison and merge
  3. WinMerge: file comparison and merge
  4. Application Verifier: runtime verification of c, c++ code on Windows
  5. Driver Verifier: Windows kernel mode driver runtime verifier
  6. WinDbg: debugging C and C++ code on Windows
  7. WireShark: network packet analysis and sniffing
  8. Maven: build, package
  9. Gradle: build, package, deploy
  10. Selenium: web site testing
  11. JUnit: framework for unit testing of Java code
  12. Fortify SCA: source code analysis
  13. Clover: code coverage for Java and Groovy code
  14. SonarQube: for trend analysis of various aspects in a project
  15. BlackDuck: open source software management
  16. VMWare Player: free virtual machine software
  17. psftp: sftp client
  18. putty: telnet client
  19. pscp: scp client
  20. tomcat: web server
  21. process explorer: Windows processes, open files, handles etc
  22. dependency finder: for finding dependencies in java code
  23. lattix: for finding dependencies in java/c/c++/.net/database code

Disclaimer: This is just a list of software that I used. I do not make any recommendations regarding the software that I listed here.

Sunday, July 21, 2013

Popular git commands

Git is a distributed version control and source code management system. Some popular git commands that we use are

git clone 
git push heroku master
git add &ltfilename&gt
git commit -m "description message"
git config --global user.name "&ltusername&gt"
git config --global user.email "&ltemail&gt"
git push origin master

Saturday, July 20, 2013

Maven Fortify Plugin

Fortify provides the source code to create a plugin for Maven. The GAV co-ordinates for maven fortify plugin are

<groupId>com.fortify.ps.maven.plugin</groupId>
<artifactId>sca-maven-plugin</artifactId>
<version>3.90</version>
To install Fortify maven plugin and run Fortify SCA in a Maven build, perform the following

1. Copy the folder %FORTIFY_INSTALLATION_DIRECTORY%\HP_FORTIFY\HP_Fortify_SCA_and_Apps_3.90\Samples\advanced\maven-plugin to c:\temp
2. Open a cmd prompt and change directory to c:\temp\maven-plugin
3. Execute the following command. This compiles the maven-plugin and adds maven plugin to local repository
mvn clean package install
4. Change directory to your project folder on which you want to run Fortify 5. Execute the following commands
mvn com.fortify.ps.maven.plugin:sca-maven-plugin:3.90:clean
mvn com.fortify.ps.maven.plugin:sca-maven-plugin:3.90:translate -Dfortify.sca.verbose=true -Dfortify.sca.debug=true
mvn com.fortify.ps.maven.plugin:sca-maven-plugin:3.90:scan -Dfortify.sca.verbose=true -Dfortify.sca.debug=true
6. Search for .fpr in the project directory for Fortify SCA report

Tomcat Version

Here is a way to find the version of Tomcat installation. Run the following in your command prompt

java -classpath %CATALINA_HOME%\server\lib\catalina.jar org.apache.catalina.util.ServerInfo

Fortify SCA - Location of .fpr file

Fortify Source Code Analyzer creates the scan result file with an extension .fpr in

%LOCALAPPDATA%\Fortify\AWB-&ltversion&gt\&ltapplicationName&gt