Posts

Showing posts from 2013

MAC OS X Recovery Disk

Image

Good Tutorial on Excel Index and Match functions

http://www.randomwok.com/excel/how-to-use-index-match/ Very clear and easy to follow.

Adjustments for Macbook with External Monitor

Read and download EDID overwrite file below to force RGB mode. The file is for U2713H and U2713HM. There is also a long discussion about this there. Dell U2713H on Mac: forcing RGB mode instead of YCbCr

Load Balance Mechanism - Triangulation

Image
การทำงานของ Load Balance แบบที่ใช้กันทั่วๆไปมีแบบต่อตรงอยู่ในลักษณะเป็น Gateway และแบบ Triangulation นอกจากนี้ยังเพิ่มการทำ NAT ไปด้วยได้ แบบอยู่ในลักษณะเป็น Gateway จะเป็นดังรูปแรก ในแบบนี้จะมีขั้นตอนการทำงานดังนี้  traffic ที่มาจาก network ข้างนอก (4.3.2.1) จะวิ่งเข้ามายัง VIP(Virtual IP) ของ Server Farm (6.6.6.100)  load balancer จะเลือก server ใน farm ที่จะ service request อันนี้ตาม algorithm ที่ set ไว้ ในตัวอย่างนี้จะเลือก server 192.168.1.10 load balancer จะเปลี่ยน destination ip และ destination mac ของ frame ให้เป็นของเครื่อง 192.168.1.10 แล้วส่งออกไป (source เหมือนเดิม) server reply ข้อมูลกลับโดย destination ip เป็น 4.3.2.1 ซึ่งเป็นคนละ network ทำให้ server ส่ง frame กลับไปที่ default gateway ซึ่งในกรณีนี้ต้องให้เป็น ip ของ load balancer load balancer เปลี่ยน source ip ของ packet กลับให้เป็น 6.6.6.100 โดย destination ip เป็น 4.3.2.1 เหมือนเดิม แล้วส่งกลับไปยัง client ที่ network ข้างนอก อีกแบบหนึ่งคือแบบ Triangulation จะเป็นดังรูปด้านล่างนี้ แบบนี้จะมีขั

No Audio when Airplay Mirroring VLC

Image
When Airplay Mirroring video opened in VLC and you don't have audio sent to Apple TV, check the setting in VLC menu. Under Audio\Audio Device, make sure you select Apple TV.

View Stream from Vivotek IP Camera on Mac

Default user on Vivotek camera is "root". To view stream media on Mac, I used Quicktime Player and then Open Locations and enter rstp://URL:port/live.sdp where URL = ip address or dyndns address or domain name if you have Port = the port that you map or forward on your router

DVI Pin 14 is shorter than others

Image
I've been wondering about this and wanting to check this out. Wiki clearly clarified this for me. Note also that on the male DVI connector, pin 14 (+5 volts) is shorter than the other pins. This is intended to ensure that this is the last contact to mate when inserting a plug.

Original iPhone Charger under UV Light

Image
Note the glowed dot.

Run As System in XP

Here's how to run any exe as system So…how do we do that? In XP, 2000, Server 2003…you can do this very simply. You will need to be logged in with an account that has administrator privileges. Open a command prompt (Start, Run, CMD). At the command prompt type the following line. Replace 01:23 with the current time in 24 hour format + one minute. i.e. if it is 3:42 in the afternoon, enter it as 15:43. at 01:23 /interactive cmd.exe

My Thesis on CELP

I did a thesis on Code Excited Linear Prediction coding back in my Master. Here's a link to the paper. http://books.google.co.th/books?id=4sNQAAAAYAAJ

Evernote, Catch and Springpad on iPhone

Image
Evernote is the most flexible when editing content. You can add image inline and also set the size of the image. But it does not have a pin to lock the app and still does not support 2 factor authentication. Catch and Springpad support pin lock but is not as good as Evernote editing note content.

Removing ClamXav from Mac

This is the instruction from ClamXav site 22. How do I uninstall ClamXav completely? First thing to do is quit ClamXav Sentry (if you use it) and make sure it's not set to launch at log in. You will then need to find the ClamXav disk image which you downloaded when you installed ClamXav (or download the current one again) as you will find an uninstaller application on that disk. The uninstaller will remove the engine and any schedules you've got set up. All that's left is to drag ClamXav.app to the trash.