2014-03-27

TCL, the List ( lindex, lrange, linsert, llength & lappend )

Syntax: lindex, lrange, linsert, llength, lappend, lsort & lsearch.

Example:
set list1 [list motocycle car bus truck airplane cablecar]

puts $list1
# output:  motocycle car bus truck airplane cablecar

puts [lindex $list1 end-2]
# output:  truck

puts [lrange $list1 1 3]
# output:  car bus truck

puts [linsert $list1 2 taxi]
# output:  motocycle car taxi bus truck airplane cablecar

puts [llength $list1]
# output: 6

lappend list1 all, I don't like
puts $list1
# output:  motocycle car bus truck airplane cablecar all, I don't like

2014-03-13

Callback Windows Desktop

Windows Desktop is gone!!!
([顯示桌面] , 不小心誤刪了, 這時 怎麼辦?)

OS: Windows XP

Fix it:
Step1- Go to following path.
           C:\Documents and Settings\User\Application Data\Microsoft\Internet Explorer\Quick Launch
step2- New a text file contains below, and named that file as “Show Desktop.scf”.
           [Shell]
           Command=2
           IconFile=explorer.exe,3

           [Taskbar]
           Command=ToggleDesktop       

See, it is there.

F.A.C.K Skype AD remove be


Block a web "https://apps.skype.com" through IE.
  • On Internet Explorer (version 11 or previous) 
  • Go to Internet Options --> Security --> Limited Web Site
  • Click "Web site" and then insert "https://apps.skype.com" to block list.
  • Done



2014-03-11

Ericssion/MS MediaRoom

History

01- Ericssion deployed the Microsoft Mediaroom service to Taiwan CHT in 2013 April. YouTube

02- Telfornica's mediaroom also deployed by Ericssion.

03- Microsoft Mediaroom (IPTV) department be merged by Ericession in Mid 2013.

04- Then the Microsoft can pay more attention with their XBox business.

05- Midiaroom already deployed to Telecoms of AT&T, Deutsche Telekom & Telefonica for VoD service.

06- Amount 2200 million STBs are subscribed for 11 million users around worldwide.

07- Taiwan Taichung MSO 威達電訊 deployed Mediaroom STB of VeeTV in 2010 October.

Feature

a- 3D EPG

b- Multi-Screens

c- Multiview

d- Picture in Picture

e- TV sharing over different devices with single account.

f- Interactive Gaming

g- Social network through MS Windows Live on TV.

h- Booking

i- VeeTV function. YouTube



2014-03-10

GPU-z

Version: 0.7.7

Purpose: Detect Graph Card detail and show you all the information your desktop/laptop running.
Following captured from my laptop Acer TravelMate 8371. As you saw, do not play the 3D game with this one.

To see maximum performance your Graph Card supported.
Package required: DirectX SDK

  • Install DirectX SDK before execute GPU-z.
  • Click a "Question" button beside "Bus Interface".
  • Wait a while moment, real data will show. 

GPUz, Get it form here
DirectX SDK, Get it from here

Linux CentOS-5.3 mounted NTFS

Operated under System: CentOS 5.3


Source code request:
01- fuse mount: fuse-2.7.3.tar.gz
02- ntfs-3g-2009.4.4.tgz


step-01: Software of "Fuse" installation
     # tar xzvf fuse-2.7.3.tar.gz
     # cd fuse-2.7.3
     # ./configure
     # make
     # make install
     # /sbin/modprobe fuse
        (no wrong message shows up)


step-02: Software of "ntfs-3g" installation
     # tar ntfs-3g-2009.4.4.tgz
     # cd fuse-2.7.3
     # ./configure
     # make
     # make install


step-03: Mount NTFS
# ntfs-3g /dev/hda1 /mnt/hddidk -o locale=zh_TW.UTF-8


Linux CentOS TFTP Server bring up


Enable TFTP server
1- # vi  /etc/xinit.d/tftp
       disable =yes          -----> default is NO


2- # mkdir  /tftpboot     -----> create a directory for TFTP, default is /tftpboot.


User Login
$  tftp  [Server IP]
    tftp>  get  /tftpboot/filename

Linux CentOS TestLink v1.9.2 installation

Requirement:
testLink version 1.9.2
php -5.2.0 or higher


Reference: http://farwill-linux.blogspot.com/2011/03/install-testlink.html

Install TestLink

1. yum install mysql
yum install mysql-server


2. Add CentOS-Testing repo


3. yum install php
yum install php-mysql
yum install php-gd
yum install php-ldap


4. service mysqld start
chkconfig mysqld on
5. service httpd start
chkconfig httpd start


6. cp testlink-1.9.1.tar.gz /var/www/html/
cd /var/www/html/
tar zxvf testlink-1.9.1.tar.gz
mv testlink-1.9.1 testlink
rm testlink-1.9.1.ta.gz


7. edit /etc/php.ini
session.gc_maxlifetime = 2400
max_execution_time = 120
memory_limit = 64M


8. service httpd restart


9. go to "http://localhost/testlink/


10. step by step install 

TCL/TK v8.6 installation

Requirement:
ActiveTcl 8.5.7.0 ==> http://www.activestate.com/activetcl/downloads/
OS Linux & MS-Win

With MS-Windows7
Step-1 Environment Variable modification (設定環境變數)

  • Right-click [My Computer] --> [Advanced System Settings] --> [Environment variable]
  • Focus on System variable field
  • Modify "Path" within column Variable, and insert ";C:\Tcl\bin" into the end of line.
  • Such as "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\SecureCRT;C:\Program Files\Java\jdk1.7.0_45\bin;C:\Tcl\bin"
Execution:
C:\> tclsh [*.tcl source code] --> for Text mode
C:\> wish [*.tcl source code] --> for GUI

2014-03-07

dupeGuru, find out all duplicate/garbage files

Web site: http://www.hardcoded.net/dupeguru/
OS supported: Windows 32/64bits, Mac OS X & Linux Ubuntu

Main GUI