Monday, July 25, 2011

Embedded Images di Outlook (2003) Ngilaaang...


Pekerjaan sehari-hari dikantor sangat bergantung pada yang namanya email.
No workdays w/o email, udah kayak orang sakaw. Sehari di inbox bisa mencapai 500an email booooo
*ketauan banget kerjaan gw di section operasional :P
No wonder, kenyamanan memakai fasilitas email sangat diperlukan untuk membombardir email sekian banyak.
Sampai suatu ketika tiba-tiba image di outlook gw tidak terdisplay, seperti image not found di browser gitu, ilang, tapi kalo gw repost (reply/forward) tu gambar bisa nongol.
Asal embedded di outlooknya, maka tu gambar ngumpet lagi. Gregetan.Pertamanya gw cuek aja deh, dengan tabah gw harus buka email untuk mengerti isinya secara keseluruhan.
Tapi lama-lama makin nyebelin, akhirnya nyerah dwueh.
Googling kesana kemari akhirnya nemu biang kerok setan alas katak kudisan, ini nih:
Yup, Register windows yang menunjuk ke non existent folder. Makanya gambar pada ilang.
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security\OutlookSecureTempFolder
Setelah key registry ini gw delete (outlook ditutup dolo) kemudian membuka outlook...


Holaaaa

Apa yang terjadi? well, it simple. Saat outlook startup dia akan checking registry key untuk ngambil parameter folder temporary dia. Dengan menghapus registry tersebut maka gw ngasi kesempatan buat si outlook untuk menjalankan aplikasi dengan benar, dia bikin key registry dengan value yang valid.

Toossssss :)

Thursday, July 21, 2011

Unix command

Some commands I had used on linux / unix / aix terminal.
I often used these in the past but slowly forgotten as it long time untouched.
..and now I have to dig it again, yeah in needed now.
So, I am going to write here. To ease some lowly hazed memory of me.

get a line of words in a file:
grep "RESPONSE" -f "uip.log.1"
grep pattern_text -f file_name_pattern. Options -f is for type of file -d for directory

find some files and get lines which contains respectable pattern_text
find /abcd/web/log/uip -name "abc.log*" -mtime +1 -mtime -2 | xargs grep "RESPONSE"
find directory_entry, Options -name is pattern_file_name.
a bit complicated way using pipe(ing) to further process some 'finding' (duh!) using xargs to grep line contain pattern_text.
xargs is argument passed in unix shell.

other commands and i'm too lazy to contribute some description :P
ls -l
rm -rf
pushd
popd
whoami
hostname
traceroute
ifconfig

...