Tuesday, March 15, 2016

google-site-verification


My title

page contents

Tuesday, October 27, 2015

Windows common variables





Here is a list of the most common Variables on Windows Vista and later systems.

Tuesday, May 5, 2015

ABI compliance checker






ABI Compliance Checker (ACC) is a tool for checking backward binary and source-level compatibility of a C/C++ library. The tool checks header files and shared libraries of old and new versions and analyzes changes in API and ABI (ABI=API+compiler ABI) that may break binary and/or source compatibility: changes in calling stack, v-table changes, removed symbols, renamed fields, etc. Binary incompatibility may result in crashing or incorrect behavior of applications built with an old version of a library if they run on a new one. Source incompatibility may result in recompilation errors with a new library version. The tool is intended for developers of software libraries and maintainers of operating systems who are interested in ensuring backward compatibility, i.e. allow old applications to run or to be recompiled with newer library versions.



Tuesday, April 14, 2015

gitdiff script





~xviengu/w/dlb D01_XVIENGU_TESTTOOL_PEXPU_IPV6 /vobs/axeiv/test_applications
[xviengu@dekt1 xviengu_tt_apz22 /vobs/axeiv]$ cat ~xviengu/w/dlb
#!/bin/sh

BR="$1"
shift
cleartool find "$@" -ver "lbtype($BR)" -type f -print |
         sed 's,\(.*\)/\([0-9][0-9]*\)$,\1/0 \1/\2,' |
        while read base new; do
                if [ -x /usr/bin/git ]; then
                        /usr/bin/git --no-pager diff --stat --no-index --color "$base" "$new"
                else
                        cleartool diff -columns 200 "$base" "$new"
                fi
        done |
        less -FRX
[xviengu@dekt1 xviengu_tt_apz22 /vobs/axeiv]$


Or


[xviengu@dekt1 xviengu_tt_pexpu_ipv6 home/xviengu/3512Transfer]$ cat ~xtunngu/bin/dif
#!/bin/sh
if [ ! -d "/tmp/$USER" ]; then
  mkdir "/tmp/$USER"
else
  rm -rf  "/tmp/$USER/*"
fi

param1="$1"
param2="$2"
LABEL=""

if [ -z "$param1" ]; then
 echo "parameter is invalid"
 exit
fi

while getopts l:h OPTION
do
   case "$OPTION" in
        l)
           LABEL="$OPTARG"
           ;;
        h)
           ;;
   esac
done

echo "$LABEL"
if [ ! -z "$LABEL" ]; then
   echo "create directories to copy ... "

   if [ ! -d "/tmp/$USER/base" ]; then
     mkdir /tmp/$USER/base
   else
     rm -rf /tmp/$USER/base
     mkdir /tmp/$USER/base
   fi

   if [ ! -d "/tmp/$USER/$LABEL" ]; then
     mkdir /tmp/$USER/$LABEL
   else
     rm -rf /tmp/$USER/$LABEL
     mkdir /tmp/$USER/$LABEL
   fi

   Exist=0 # exist counter
   echo "copying files to /tmp/$USER and comparing ..."
   cleartool find "$3" -ver "lbtype($LABEL)" -type f -print |
  # cleartool find "$3" -version 'version($LABEL)' -print |
    sed 's,\(.*\)/\([0-9][0-9]*\)$,\1/0 \1/\2,' |
     while read base new; do
       #echo "[BASE] cp $base /tmp/$USER/base/`echo $base | sed 's,@@\(.*\), ,' | sed 's,\(/.*/\),,'`"
       if [ ! -f  "/tmp/$USER/base/`echo $base | sed 's,@@\(.*\),,' | sed 's,\(/.*/\),,'`" ]; then
          yes | cp $base "/tmp/$USER/base/"`echo $base | sed 's,@@\(.*\),,' | sed 's,\(/.*/\),,'`
       else
          yes | cp $base "/tmp/$USER/base/`echo $base | sed 's,@@\(.*\),,' | sed 's,\(/.*/\),,'`.0"
       fi

       if [ ! -f  "/tmp/$USER/$LABEL/`echo $new | sed 's,@@\(.*\),,' | sed 's,\(/.*/\),,'`" ]; then
          yes | cp $new "/tmp/$USER/$LABEL/"`echo $new | sed 's,@@\(.*\),,' | sed 's,\(/.*/\),,'`
       else
          yes | cp $new "/tmp/$USER/$LABEL/`echo $new | sed 's,@@\(.*\),,' | sed 's,\(/.*/\),,'`.0"
       fi

     # echo "[LABEL] cp $new /tmp/$USER/$LABEL/`echo $new | sed 's,@@\(.*\), ,' | sed 's,\(/.*/\),,'`"
     done

     vi "+DirDiff /tmp/$USER/$LABEL/ /tmp/$USER/base/"
     exit
fi

#update later for code review for VM on APZ_VM3
if [ -z "$param2" ]; then


  if [ "$(ls -A /vobs/APZ_VM3)" ]; then
    cleartool lsco -me -cview -r -fmt "%En@@%[version_predecessor]p\n" /vobs/APZ_VM3 | sed 's,\(.*\)/\([0-9][0-9]*\)$,\1/0 ,' |
    while read base; do
      yes |  cp $base  "/tmp/$USER/"`echo $base| sed 's,@@\(.*\), ,' | sed 's,\(/.*/\),,'`
    done
  else
    echo "view isnot set"
    exit
  fi

  echo "compare entered directory files with checked out files"
  vi "+DirDiff $param1 /tmp/$USER"

else
 vi "+DirDiff $param1 $param2"
fi
[xviengu@dekt1 xviengu_tt_pexpu_ipv6 home/xviengu/3512Transfer]$




Monday, April 6, 2015

RT: Request Tracker






RT is a battle-tested issue tracking system which thousands of organizations use for bug trackinghelp desk ticketingcustomer serviceworkflow processeschange managementnetwork operationsyouth counselling and even more. Organizations around the world have been running smoothly thanks to RT for over 10 years.
RT 4.2 is a major update. It's chock full of new features, enhancements and bug fixes. Don't miss our What's New in 4 series.
There's no need to wait for a quote or for a sales person to send you a demo. The full, enterprise-ready version of RT is always available at absolutely no cost under an open source license. That means it's yours to use and customize however you'd like. We built RT from the ground up to be easy to adapt to your organization and your needs.

https://www.bestpractical.com/rt/

Wednesday, March 11, 2015

Missing socket libraries in build














make clean; make all
rm -f *.o *~ core
g++ -c -o l.o l.cpp -I.
g++ -Wno-invalid-offsetof -Wall -Werror -Wextra -Winit-self -Woverloaded-virtual -Winit-self -ansi -pedantic -Wstrict-aliasing -Wno-unknown-pragmas -Wno-sign-compare -Wno-parentheses -Wno-write-strings  -O3 -ggdb3 -Wformat -Wuninitialized  -o la l.cpp -I.
Undefined                       first referenced
 symbol                             in file
inet_pton                           /var/tmp//ccYiZabf.o
inet_ntop                           /var/tmp//ccYiZabf.o
ld: fatal: Symbol referencing errors. No output written to la
collect2: ld returned 1 exit status
make: *** [all] Error 1
[xviengu@vnaps1 xviengu/ws/network]$


StartAllNeeds.bat






For Win8:: C:\Users\viet.nguyen\StartAllNeeds.bat

rem Start basic programs for work
START /NORMAL /MIN /D "C:\Program Files (x86)\Mozilla Thunderbird" thunderbird.exe
START /NORMAL /MIN /D "C:\Program Files (x86)\FreeCommander XE" FreeCommander.exe
START /NORMAL /MIN /D "C:\Windows" explorer.exe D:\DOWNLOAD
START /NORMAL /MIN /D "C:\Program Files (x86)\Zim Desktop Wiki\" zim.exe
START /NORMAL /MIN "C:\Program Files (x86)\Notepad++\" notepad++.exe
START /NORMAL /MIN "C:\Program Files (x86)\Xming\" Xming.exe
START /NORMAL /D "D:\DOWNLOAD\GreatNews" GreatNews.exe
EXIT

Friday, February 27, 2015

CHECKSUM OFFLOAD













CHECKSUM OFFLOAD
As network speed increases, offloading is becoming an important feature, and the ability to offload tasks from the host processor aids in the efficiency of the host and in overall system performance. To achieve a significant performance boost, most operating systems now a days offer a mechanism for the TCP/IP protocol stack to offload checksum calculations to the device.


Labels