Fan de sal

•June 2, 2011 • Leave a Comment

image

Paa at remote control

•June 2, 2011 • Leave a Comment

image

At San Antonio Riverwalk Hyatt Hotel.

Warhol daw?

•June 2, 2011 • Leave a Comment

image

Siguro nga?

Create VG/LV and File System in AIX

•December 7, 2010 • Leave a Comment

Create the volume group:

To create a volume group that can accommodate a maximum of 1024 physical volumes and 2048 logical volumes, type:

mkvg -S -y’volgrp1′ -s’128′ -P’1024′ -v’2048′ hdisk1

note:
add -f to force if needed

Create Logical Volume and Filesystem

LV=fslv07
MNT=/usr/local/bin/test
VG=vg101
SIZE=80

/usr/sbin/mklv -y ${LV} -t ‘jfs2′ -a’ie’ -e’x’ -L ${MNT} ${VG} ${SIZE}

crfs -v jfs2 -d ${LV} -m ${MNT} -A yes -p rw

mount ${MNT}

resize jpg for pandigital

•December 5, 2010 • Leave a Comment

A quick and dirty script to resize jpg files into 800 x 600 for Pandigital viewing

#resizepics.sh
#resize jpg to 800X600 size
for filename in *.jpg
do
echo “now converting : ” $filename
convert -resize 800×600 $filename `basename $filename .jpg`-new-`date +”%H-%M-%S”`.jpg
done
filedate =`date +”%m-%d-%Y”`
mkdir $filedate
mv *new*.jpg $filedate
echo “JPGs moved to : ” $filedate

strings convert.exe.stackdump

•November 30, 2010 • Leave a Comment

$ strings convert.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=65209150
eax=00000002 ebx=00000002 ecx=65209150 edx=00000004 esi=61102F64 edi=61102EDC
ebp=0022CCB8 esp=0022CC8C program=C:\cygwin\bin\convert.exe, pid 10000, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022CCB8  65209150  (00000001, 00000000, 611021A0, 00000001)
0022CCD8  610E1558  (00000001, 00000000, 0022CD98, 610060E0)
0022CCE8  61004DD1  (00000001, 6116AAA8, 10020090, 00000000)
0022CD98  610060E0  (00000000, 0022CDD0, 61005450, 0022CDD0)
61005450  61004416  (0000009C, A02404C7, E8611021, FFFFFF48)
      6 [main] convert 10000 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)

NEF to JPG

•November 7, 2010 • Leave a Comment

#Script to convert NEF to jpg

for filename in *.NEF ;
do
echo “now converting : ” $filename
convert -quality 100 $filename `basename $filename .NEF`.jpg;
done
filedate=`date +”%m-%d-%Y”`
mkdir $filedate
mv *.jpg $filedate
echo “JPGs moved to : ” $filedate

•April 5, 2010 • Leave a Comment

ok

•April 5, 2010 • Leave a Comment

like it or not but I’m on SAP-MSSQL class its a 4 days of click click next and reboot.

Improved version: Convert NEF to jpg

•April 4, 2010 • Leave a Comment

for i in `ls |grep NEF|awk ‘{FS=”.”}{print $1}’`; do
echo “Now converting this file” $i;
dcraw -q 3 -w -c $i.NEF | convert -quality 100 -sharpen 5 – $i.jpg
done

 
Follow

Get every new post delivered to your Inbox.