免責聲明

Disclaimer (免責聲明)
繼續閱覽代表您接受以上的免責聲明.
To continue reading means you accept the above disclaimer.

2014年7月11日 星期五

Create a new repository for git + bitbucket

Create a new repository and 'upload' ( push)  to bitbucket


//=== initialize local repository first
~$ mkdir projectname
~$ cd projectname


~$ nano .gitignore
venv
env
*.pyc




~$ git init
~$ git add .
~$ git commit -m 'first commit'




*** git commit -a automatically stage all tracked, modified files before the commit ...
~$ git commit -a -m 'commit all changed files'


http://stackoverflow.com/questions/19877818/git-commit-m-vs-git-commit-am




//=== remote repository
0. use web browser to login bitbucket to create remote repository  "repoName.git"

1. ~$ git remote add origin  https://bitbucket.org/ownerName/repoName.git
[ add remote branch 'origin' ]

2. ~$ git push origin master
[ push  to remote branch 'origin' from local branch 'master' ]

2014年7月7日 星期一

兩年前的硬碟 重新開機 Windows Installer DEP Error

塵封兩年的3.5" 外接eSata 硬碟 重新開機
在試過5V DC 變壓器 確定不行之後
換上了12V DC 變壓器之後還算順利


不過 Windows Update 出現
"...
Windows could not search for new updates
An error occurred while checking for new updates for your computer
Code C80003FA
...
"


接著出現
Windows Installer  DEP Error ...
*** Make sure you've got the latest version of Windows Installer first.
*** no need to change DEP settings




重新開機兩次之後
"
Problem signature:
  Problem Event Name: BEX
  Application Name: MsiExec.exe
  Application Version: 4.5.6002.18005
  Application Timestamp: 49e01c42
  Fault Module Name: MSIFF7E.tmp_unloaded
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp: 4333dd69
  Exception Offset: 1001b76c
  Exception Code: c0000005
  Exception Data: 00000008
  OS Version: 6.0.6002.2.2.0.16.7
  ...


//===  http://www.ehow.com/how_7310317_check-windows-installer-version.html
check the windows installer (msiexec) version
msiexec /?

//=== http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/msiexecexe-crashes-when-installing/e9796657-be86-45c4-b816-ce568cb6b096


Step 1: "Reregister" the Windows Installer

1.1  msiexec /unreg
1.2  msiexec /regserver


Step 2: Stop and Restart the Windows Installer Service.
2.1 services.msc
2.2   Expand the Services window and then scroll down to Windows Installer.
2.3   Right-click the Windows Installer list item and then click Stop, right-click again and then click Start.


Step 3: SFC Scan
SFC utility allows administrators to perform a scan of all protected resources to verify that they are the correct version.


 3.1 cmd prompt + run as administrator
 3.2 sfc /scannow




Step 4: Windows Installer CleanUp Utility:
Download the latest version from ???

Step 5: Windows Installer
Download the latest version from ???




//===
http://support.microsoft.com/kb/918355#_method2
http://support.microsoft.com/kb/923159


http://superuser.com/questions/75950/windows-installer-gets-terminated-by-data-execution-prevention

*** Make sure you've got the latest version of Windows Installer first.
*** need to have thorough understanding of virtual memory to understand DEP .
*** turn off the DEP by going to my computer --> system properties --> DEP -->



勞健保網路加保, 退保

***
IE10/11 用戶請開啟IE--工具--相容性檢視設定
(Tools -> Compatibility View Settings)

nhi.gov.tw
edesk.bli.gov.tw
新增至相容性檢視網站--即可正常運作...


//=== 勞動部 勞工保險局
https://edesk.bli.gov.tw/aa/
https://edesk.bli.gov.tw/cpa/


透過公司加保 點選
 投保單位網路申報及查詢作業


勞保申辦作業 -> 單筆作業 -> 加保作業
-->
勞保(含普通及職災保險)、就保、勞退
勾選健保本人 + 健保業務組別


健保業務組別   服務電話               轄區
台北業務組 (02)21912006     台北市、新北市、基隆市、宜蘭縣、金門 縣、連江縣
北區業務組 (03)4339111       桃園縣、新竹市、新竹縣、苗栗縣


雖然勾選了健保本人 但隔天到健保署網站查詢並無加保資料
不知是否IE11的問題 導致資料未送入健保署 ???
因為在操作的過程中 最後有出現眷屬加保的按鈕 按下去之後
跳回勞保局的登入畫面, 在操作第二次時 就只有勾選健保本人 + 健保業務組別,
沒敢再按眷屬加保的按鈕 ...






只好用健保署的單獨健保加保作業, 替自己(本人加保)和媽媽(眷屬加保) 加健保 ...


//=== 衛生福利部 中央健康保險署
衛福部健保署 多憑證網際網路加退保作業系統


https://eservice.nhi.gov.tw/nhiweb1/System/Login.aspx


網路健保加保
一至三類加保作業
本人加保
眷屬加保






*** 勞保局網路 加勞保後 隔天公司查詢的申報狀態變為成功
但經過周末 禮拜一個人查詢勞保的異動資料 仍停留在上一個工作
未出現禮拜四的申報結果, why???









//=== before 65
either 勞保 + 健保 or 國保 + 健保
勞保與國保應該是互斥的,
國保的繳費單 NT$778




有工作時公司會自動幫你保健保,
那沒工作時的健保 --> 鄉鎮區公所

//=== http://www.mobile01.com/topicdetail.php?f=291&t=3480011
" ...
沒工作時選擇國民年金加健保會有二種情況:
...


若單身情況下無選擇職業工會加入勞保.
就要自行去公所加保健保.為健保第六類地區人口保險.好像是六百多.

... 健保局的催繳單 ....

如果是已婚情況下.
若無選擇職業工會加入勞保.
則要跟配偶一起加保.是不能去加保公所的健保.要跟配偶的加在一起


...
重點是我覺得勞保福利比較好 ???
...
"


//===
健保要繳到死亡


除非


得到重大疾病政府就不收錢 ...
非自願性離職,有申請失業補助, 政府免繳健保費6個月 ...
有些縣市健保費老人65歲以上會有補助

//===
國保繳至65歲,
勞保繳至退休,


...