2010年12月30日 星期四



國民年金與勞保年金



支出


































國民年金



勞保費支出



年齡



25 ~ 65





費率









1-2



6.5%



3-4



7%


以後每2年調高0.5%,最高上限至12%









1-2



7.5%



3-4



8%


以後每2年調高0.5%,最高上限至13%



保險費


1,123(17,280*6.5%)

17,280->勞保投保薪資第一級(即基本工資)

一般自付674(60%)

政府補助449(40%)

1,372(18,300*7.5%)

18,300->勞保投保薪資第三級(工會通用)


一般自付824(60%)

政府補助548(40%)



100年國民年金費率調整為7%



100年勞保費率調整為8%


如果再加上工會會費差距就越大。











因應人口老化,請領年齡於施行起第10年提高1歲,其他每2年提高1歲至65歲。則民國5111日以後出生者,因受勞保年金實施日起第5年提高一歲,其後每2年須增加1歲之影響,屆時必須年齡達到65歲時,才可以開始請領[勞保年金]





2010年10月31日 星期日

2010年10月19日 星期二

HWIC-3G-HSPA - CHT configuration

## Step 1
####################################################################################
# No authentication, username, password in the SIM card. You need to unlock the sim
# card pin if any
####################################################################################
Router#cellular 0/3/0 gsm profile create 4 tcbank

4 => gsm profile number.
tcbank => APN(Access Point Name)

## Step 2
####################################################################################
# Create a chat-script for cht network
####################################################################################

chat-script cht "" "ATD*99***4#" TIMEOUT 60 CONNECT

## Step 3
####################################################################################
# Configure the router
####################################################################################
interface Cellular0/3/0
no ip address
encapsulation ppp
dialer in-band
dialer pool-member 1
dialer-group 1
async mode interactive

interface Dialer1
ip address negotiated
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer idle-timeout 0
dialer string cht
dialer persistent
dialer-group 1
ppp chap password 0 dummy
ppp ipcp dns request

ip route 0.0.0.0 0.0.0.0 Dialer1

dialer-list 1 protocol ip permit

line 0/3/0
exec-timeout 0 0
script dialer cht

no exec
rxspeed 7200000
txspeed 2000000

## Step 4
####################################################################################
Router#show cellular 0/3/0 all

Hardware Information
====================
Modem Firmware Version = K2_0_7_19AP C:/WS/F
Modem Firmware built = 10/26/09
Hardware Version = 1.0
International Mobile Subscriber Identity (IMSI) = 466923300264098
International Mobile Equipment Identity (IMEI) = 012073000031966
Integrated Circuit Card ID (ICCID) = 89886920033002640989
Mobile Subscriber International Subscriber
IDentity Number (MSISDN) =
Factory Serial Number (FSN) = D79103006421014
Modem Status = Online
Current Modem Temperature = 30 deg C, State = Normal
PRI SKU ID = 9993248, SKU Rev. = 1.1

Profile Information
====================
Profile 4 = ACTIVE
--------
PDP Type = IPv4
PDP address = 172.28.1.2
Access Point Name (APN) = tcbank
Authentication = None
Username: , Password:

* - Default profile

Data Connection Information
===========================
Data Transmitted = 500 bytes, Received = 500 bytes
Profile 1, Packet Session Status = INACTIVE
Inactivity Reason = Normal inactivate state
Profile 2, Packet Session Status = INACTIVE
Inactivity Reason = Normal inactivate state
Profile 3, Packet Session Status = INACTIVE
Inactivity Reason = Normal inactivate state
Profile 4, Packet Session Status = ACTIVE
IP address = 172.28.1.2
Negotiated QOS Parameters:
Precedence = Normal Priority, Delay = Class 4
Reliability = Unack GTP, LLC, Ack RLC, Protected data
Peak = 256 kB/sec, Mean = 50000 kB/hr
Traffic Class = Background
Uplink Max = Unknown, Guaranteed = Subscribed
Downlink Max = Unknown, Guaranteed = Subscribed
Max SDU size = 1500 bytes
SDU error ratio = 1E-4, BER = 4E-3

2010年10月18日 星期一

YahooMessenger離線下載版

YahooMessenger離線下載版

灌YAHOO即時通時
每次從官網下載完Yahoo即時通後
執行時才會真正把Yahoo即時通的軟體抓下來
然後安裝
不過這樣總是會等一段漫長的時間
而且電腦重灌或是想灌到學校電腦時
又要重等
「離線下載版」就是解決這種賭爛的事的最佳方案


YahooMessenger離線安裝版
-版本:9.0正式
-下載:
本站存檔點此下載[此載點請勿使用FLASHGET][進入頁面後左上方點下載]
官網程式點此下載

說明
官方的離線下載版本其實是遵循公式的
公式如下:
@=版本
(若為9.x版則輸入9,8.x版則輸入8,依此類推)
#=國家域名
http://download.yahoo.com/dl/msgr@/#/ymsgr@#.exe
http://download.yahoo.com/dl/msgr9/tw/ymsgr9tw.exe
(EXAMPLE.VERSION9)

2010年8月5日 星期四

打包最新的病毒定義檔整合到Symantec AntiVirus用戶端安裝程式中

一、SAV用戶端安裝程式有一個VDefHub.zip是病毒定義檔,從賽門鐵克的Norton AntiVirus for Windows 2000/XP/Vista(繁體中文網頁英文網頁)可以找到最新的病毒定義檔。

二、病毒定義檔的檔案名稱是發行日期-更新版本號-支援版本號做為判別,現在需要的是支援SAV用戶端的,所以要下載20080609-003-i32.exe。

三、下載完20080609-003-i32.exe後,將裡面的VIRSCAN.ZIP解壓縮出來,然後改名成VDefHub.zip再替換到SAV用戶端安裝程式底下的VDefHub.zip,這樣就會在安裝SAV用戶端的時候也同時安裝最新的病毒定義檔。

2010年7月7日 星期三

FortiGate 3000 HA 切換 Master / Slave

7/7 更換 FortiGate 3000 power supply
原先以為只要更改HA Config裡的priority參數,就可以切換Master/Slave,
(FortiGate Priority數值越高,優先權越高)
後來發現FortiGate-01 & FortiGate-02在設定HA參數時,都是設定Set override disable,
造成不會切換Master / Slave。

於FortiGate 3000-01及Fortigate 3000-02中修改Set override enable,
此時更換Proirity數值,即會自動切換Master / Slave。

Forti3000-1 # show system ha
config system ha
set group-id 1
set mode a-p
set hbdev "internal" 25 "port1" 50
set arps 3
set session-pickup enable
set override disable
set priority 150
set monitor "external" "internal" "port1" "port4/ha"
end

Forti3000-1 # config system ha

Forti3000-1 (ha) # set override enable

切換至FortiGate 3000-02的方法

Forti3000-1 # execute ha manage
please input peer box index.
<0> Subsidary unit FG30002C05400127

2010年6月24日 星期四

在PDF文件中使用Dr.Eye即時翻譯

在看論文的時候, 透過 Dr.Eye 的即時翻譯功能, 省去許多輸入單字的時間, 該怎麼做呢?

首先到你安裝 Dr.Eye 的資料夾之下

例如:C:/Program Files/Inventec/Dreye 底下

找一個 Dreye40.api 的檔案

並將它複製到 你安裝 Adobe Acrobat 的資料夾裡面的 plug_ins 資料夾

例如 : C:/Program Files/Adobe/Acrobat 7.0/Acrobat/plug_ins 底下

這樣重新啟動PDF檔, 並打開 Dr.Eye 的即時翻譯功能, 就大功告成囉 ^^

2010年6月23日 星期三

二個DOS Command範例

1.
例如我想要做一個簡單的備份指令,想要把 A檔.data CO到 某處變成 日期.data> 這樣就不會蓋過舊的資料,而且每天都有檔案
Hi !
將下列一行存成 AutoBak.bat@for /f "tokens=1,2,3,4 delims=/ " %%i in ('date /t') do@copy %1 %%i%%j%%k%%l.dat(太長請自行接成一行,注意 do 和 @copy 中間需留一空格)
然後簡單打入 "AutoBak A檔.data" 就可以了.
測試於 Windows NT4.0 Server 正常工作.
==========================================
2.
我想寫一個自動執行檔,能夠定期將資料庫的資料備份到另一個磁碟槽上面去,
請問一下要怎樣寫才能自動的以日期來建立新目錄名稱,將每天的資料備份進去。

以下為執行過程,括號內的內容是我的註解.
E:\Test>dir (先 Dir 證明現在沒任何的子目錄)
磁碟區 E 中的磁碟是
磁碟區序號: 2366-1503

目錄: E:\Test

2005/07/19 10:54a .
2005/07/19 10:54a ..
0 個檔案 0 位元組
2 個目錄 1,235,976,192 位元組可用
E:\Test>date/t (目前的日期)
2005/07/19 星期二

(鍵入以下的命令,會得到 20050719)
E:\Test>for /f "tokens=1,2,3 delims=/ " %i in ('date/t') do @md %i%j%k

(鍵入以下的命令,會得到 會得到 2005Y07M19D)
E:\Test>for /f "tokens=1,2,3 delims=/ " %i in ('date/t') do @md %iY%jM%kD

(鍵入以下的命令,會得到 會得到 2005年07月19日)
E:\Test>for /f "tokens=1,2,3 delims=/ " %i in ('date/t') do @md %i年%j月%k日

(鍵入以下的命令,會得到 會得到 2005年07月19日星期二)
E:\Test>for /f "tokens=1,2,3,4 delims=/ " %i in ('date/t') do @md %i年%j月%k日%l

E:\Test>dir (確認剛才的結果)
磁碟區 E 中的磁碟是
磁碟區序號: 2366-1503

目錄: E:\Test

2005/07/19 10:54a .
2005/07/19 10:54a ..
2005/07/19 10:55a 20050719
2005/07/19 10:56a 2005Y07M19D
2005/07/19 10:58a 2005年07月19日
2005/07/19 10:59a 2005年07月19日星期二

以上

2010年6月9日 星期三

Cacti CentOS Network Command

set static route
ip route add 172.17.1.0/24 via 192.168.1.250 dev eth0

Modify Default Gateway
/etc/sysconfig/network-scripts/ifcfg-eth0

2010年4月30日 星期五

VMWare Install from USB

If you have a host that doesn't have a CD-ROM or want to modify oem.tgz, you may find it easier to extract the ISO image to a USB flash drive and then run your install from it. The below method will allow you to create a USB flash drive which you can then use to install ESXi to a local drive on your host.

1) Download and extract the latest version of Syslinux. For this process I used version 3.72.
2) Insert the USB flash drive that you plan to use. It will require about 300 MB free space for the ESXi install files and should be formatted as FAT32. If you're using Windows make a note of the drive letter that is assigned to the drive. With Linux you can run fdisk -l to determine the device node (/dev/sdX).
3) For Windows run the command ..\win32\syslinux.exe and for Linux run ../linux/syslinux /dev/sdX. This command will alter the boot partition on the device and copy over the file ldlinux.sys to the root directory.
4) Extract the contents of the ESXi install CD to the USB flash drive. If you plan to modify oem.tgz you can copy over the file at this time as well.
5) On the USB flash drive rename the file isolinux.cfg to SYSlinux.cfg.

The USB flash drive will now be ready to be used in a host to install ESXi. If you have problems booting the flash drive, you might want to try one of these options of the syslinux command in step 3.
-s - this option causes Syslinux to use simpler code which boots easier on some older BIOSes.
-f - this option will force the install
-m - (Windows only) - this will install a bootable MBR sector at the beginning of the drive
-a - this marks the partions as active (bootable)

2010年3月11日 星期四

IP衝突檢查

可以使用下列指令
nbtstat -a 172.17.1.27(此ip為衝突的ip address)

2010年2月8日 星期一

歌詞_Saving All My Love For You_Whitney Houston

Saving All My Love For You
by Whitney Houston

A few stolen moments, is all that we shared
You've got your family, and they need you there
Though I try to resist, being last on your list
But no other man's gonna do
So I'm saving all my love for you

It's not very easy, living all alone
My friends try and tell me, find a man of my own
But each time I try, I just break down and cry
Cause I'd rather be home feeling blue
So I'm saving all my love for you

You use to tell me, we'd run away together
Love gives you the right to be free
You said be patient, just wait a little longer
But that's just an old fantasy

I've got to get ready, just a few minutes more
Gonna get an old feeling, when you walk through that door.
Cause tonight, is the night
When I'm feeling alright
We'll be making love the whole night through
So I'm saving all my love
Yes I'm saving all my love
Yes I'm saving all my love for you---------

No other woman is gonna love you more
Cause tonight, is the night
When I'm feeling alright
We'll be making love the whole night through
So I'm saving all my love
Yes I'm saving all my love
Yes I'm saving all my love for you---------
For you---------------
For You------------------

2010年1月29日 星期五

Cacti MacTrack fix

#1 步驟一,請執行以下指令
cd /var/www/html/plugins/mactrack/
mysql cacti < mactrack.sql
mysql cacti < mactrack.sql.0.0.1
php database_upgrade.php #重要,請執行兩次

#2 步驟二,進行檔案置換 (既有檔案有問題)
cd /var/www/html/plugins/mactrack/lib/
cp mactrack_cisco.php mactrack_cisco.php_bak
cp mactrack_functions.php mactrack_functions.php_bak
(See attached file: mactrack_lib.zip)
-unzip mactrack_lib.zip and put to replace mactrack_cisco.php and mactrack_functions.php


#3 步驟三,請將以下參數調整
Settings: Poller> 'Script and Script Server Timeout Value' (I set mine to 300)
Settings: Device Tracking> 'Start Time for Data Collection'
//時間盡量調整為未來兩三分鐘內,不然程式會一天後才開始執行

#4 步驟四,就可以進行加入設備的操作
a. first Add Site
b. second Add Device
c. check import database is right
d. modify device types to match device config
e. check the process is running


END

about document from Neo Wen
====================================================================
I try to import the downloaded file from ...standard.ieee oui.txt.
but it doesn't work. In the mactrack dir I try following
"php mactrack_import_ouidb.php -f=oui.txt"
the oui.txt file is in the same dir

============================================
修改完lib/mactrack_functions.php的oui位址後,執行import動作
php mactrack_import_ouidb.php -f=oui.txt

php -q mactrack_scanner.php -id=1 -d #scan mac
php -q poller_mactrack.php -f #poll mac to mac view
====================================================================
php poller_mactrack.php -f -d