Friday, July 11, 2014

Two more OSS projects

Started two more OSS projects
JHexed - a small hexagonal Java based engine + Editor
JBBP - a small framework to parse binary blocks in Java

Saturday, April 12, 2014

JRebel and NetBeans

I have been working in ZeroTurnaround OU and one of items under my responsibility - the JRebel plugin for NetBeans platform. For snapshot versions of the plugin I have opened  the shared folder and early snapshots of the plugin can be found in the folder .

PROL is now an OSS project

I had got a request from a Japan graduate student to open sources of my Prol engine (it is a small Prolog engine written in Java with embedded GUI editor), so that now it is an OSS project under Apache License 2.0
If you are going to use the engine then please keep in mind that it was developed for academic purposes and to check some ideas and tested not very well.

Monday, December 9, 2013

Pulling and updating of bunch of Mercurial projects in the same folder

A Useful bash script allows pulling and updating of bunch of Mercurial (Hg) projects placed in the same folder. These project repositories should desire the same credentials for authentication.

 #!/bin/bash  
 set -e  
 echo  
 echo "The Script allows to make bunch pulling and updating of all Hg projects found in the current folder"  
 echo "Author: Igor Maznitsa (http://www.igormaznitsa.com)"  
 echo  
 echo -n "Enter name, followed by [ENTER]: "  
 read hgUserName  
 echo -n "Enter password, followed by [ENTER]:"  
 read -s hgUserPassword  
 echo  
 folderCounter=0  
 for dir in $(ls -d */)  
      do  
           echo ----------------------------------  
           echo "Detected directory $dir"  
           if [ -d "./$dir/.hg" ]; then  
             echo "Making pull and update"  
             defaultPath=$(grep "default" "./$dir.hg/hgrc")  
             extractedPath=${defaultPath#*default*=}  
             extractedPath="${extractedPath#"${extractedPath%%[![:space:]]*}"}"  
             extractedPath="${extractedPath%"${extractedPath##*[![:space:]]}"}"  
             echo "Path $extractedPath"  
             hg --config auth.rc.prefix="$extractedPath" --config auth.rc.username="$hgUserName" --config auth.rc.password="$hgUserPassword" -R "./$dir" pull -u  
             echo  
             folderCounter=$[$folderCounter+1]  
           else  
             echo "WARNING: Directory $dir is not Hg repository"  
             echo  
           fi  
      done  
 echo "The Script work has been completed"  
 echo "Updated $folderCounter folder(s)"  
 exit 0  

Monday, July 15, 2013

Java performance Mind Map is published on GitHub

I have published my Java performance mind map on GitHub as an OSS project, the link is  https://github.com/raydac/Java-performance-mind-map . The Map can be edited in a great tool called XMind (http://www.xmind.net).