XSD schema

<!– example –> <xs:simpleType> <xs:restriction base=”xs:string”> <xs:enumeration value=”Audi”/> <xs:enumeration value=”Golf”/> <xs:enumeration value=”BMW”/> </xs:restriction> </xs:simpleType> <!– example –> <xs:complexType name=”personinfo”> <xs:sequence> <xs:element name=”firstname” type=”xs:string”/> <xs:element name=”lastname” type=”xs:string”/> </xs:sequence> </xs:complexType> <xs:complexType name=”fullpersoninfo”> <xs:complexContent> <xs:extension base=”personinfo”> <xs:sequence> <xs:element name=”address” type=”xs:string”/> <xs:element name=”city” type=”xs:string”/> […]

IBM WebSphere 6.1 on Ubuntu

Install 1. install java 1.5 from oracle 2. start WAS install: cd /********/Downloads/was.cd.6100.trial.base.linux.ia32/WAS/ /********/apps/opt/java/jdk1.5.0_22/bin/java -jar setup.jar 3. WAS install window should start … Configuration export JAVA_HOME=/********/apps/opt/java/jdk1.5.0_22 export PATH=”/********/apps/opt/java/jdk1.5.0_22/bin:$PATH” cd /********/apps/opt/WebSphere/AppServer/bin mv /********/apps/opt/WebSphere/AppServer/java/bin/java /********/apps/opt/WebSphere/AppServer/java/bin/java1 ln -s $JAVA_HOME/bin/java /********/apps/opt/WebSphere/AppServer/java/bin/java ./manageprofiles.sh help -> […]

Ubuntu 16.04 XRDP (remote desktop)

installation Consider ubuntu xrdp error problem connecting 5910 solution: tightvncserver MUST be installed before xrdp!!! sudo apt-get install xubuntu-desktop sudo apt-get install tightvncserver sudo apt-get install xrdp sudo usermod -aG xrdp adr configure XRDP (option 1) cat ~/.xsession echo ‘xfce4-session’ […]

Handling video in Linux

video exif tool sudo apt-get install libimage-exiftool-perl display video’s rotation exif exiftool -Rotation 20151024_132350.mp4 rotate the exif metadata only ffmpeg -i 20151024_132350.mp4 -metadata:s:v rotate=”0″ -vf “hflip,vflip” -c:v libx264 -crf 23 -acodec copy 20151024_132350b.mp4 resize to 720p ffmpeg -i IMG_0001.MOV -vf […]

/var/mail && thunderbird

See http://askubuntu.com/questions/1916/how-can-i-access-system-mail-in-var-mail-via-thunderbird. Create the account Thunderbird -> Edit -> Account settings -> Account Action -> Add Another Account -> Unix Mailspool (Movemail) Your Name: adr (mailspool) Email Address: adr@localhost Browse your mails Open Thunderbird then press Get Messages button; you […]