2017年2月25日 星期六

[MAC]安全模式、重置PRAM、重新啟動





以安全模式啟動


若要以安全模式啟動:
啟動或重新啟動 Mac,然後立即按住 Shift 鍵。顯示器上會出現白色 Apple 標誌。如果沒看到 Apple 標誌,請參閱本文說明
看到登入視窗時,放開 Shift 鍵。如果啟動磁碟已使用 FileVault 加密,系統可能會要求您登入兩次:一次是將啟動磁碟解鎖,再一次則是登入 Finder。


若要離開安全模式,請重新啟動 Mac,但不要在啟動期間按任何按鍵。










如何清 PRAM?

選擇「蘋果」選單 >「關機」。
在鍵盤上找到下列按鍵:Option、Command(⌘)、P 和 R。您需要在步驟 4 中同時按住這些按鍵。
將 Mac 開機。
立即按住 Option + Command + P + R 鍵。您必須在灰色螢幕出現之前按下此按鍵組合。
繼續按住這些鍵直到 Mac 重新開機,且您第二次聽到開機聲音為止。
放開按鍵。








Control–Command–電源按鈕

強制 Mac 重新啟動。










2017年2月13日 星期一

[VC]How to VC6++ msdev

1.         Set env path

2.         Dos cmd

l   msdev BIN_GRADE.dsp /make "BIN_GRADE - Win32 Debug" /rebuild

l   msdev BIN_GRADE.dsp /make "BIN_GRADE - Win32 Release" /rebuild

 

Set Env:

 

 

 

Cmd

 

 

 

 

Ref:

https://msdn.microsoft.com/zh-tw/library/aa699274(v=vs.60).aspx

 

________________________________________ 3S CONFIDENTIALITY NOTICE: This message and all attachments may contain legally privileged and confidential information. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by replying to the message and delete all copies. Thank you.

2017年2月10日 星期五

[GIT] google cloude git on windows 7

 

l   gcloud init

 

l   git config credential.helper gcloud.cmd

//copy remote resource to client, folder = default

 

l   git config --system --unset credential.helper

 

l   gcloud source repos clone default

 

l   push
git push google master

 

l   clone
gcloud source repos clone default

 

l   debug

git config credential.helper gcloud.cmd

 

 

git push origin

 

 

Config setting:

 

[credential]

        helper = gcloud.cmd

       

       

[remote "QthToolSrc"]

        url = https://source.developers.google.com/p/QthToolSrc/r/vivapro20160112

        fetch = +refs/heads/*:refs/remotes/QthToolSrc/*

       

 

 

 

Another cmd

 

l   git config --list

 

 

l   google ssd setting

 

[remote "project-ssd"]

        url = https://source.developers.google.com/p/project-ssd/r/default

        fetch = +refs/heads/*:refs/remotes/project_ssd/*

       

[remote "google"]

        url = https://source.developers.google.com/p/project-ssd/

        fetch = +refs/heads/*:refs/remotes/google/*

 

 

my google project

https://console.cloud.google.com/iam-admin/projects

 

 

 

Ref:

 

Basic cmd

https://cloud.google.com/source-repositories/docs/adding-repositories-as-remotes

 

 

ERR: ERROR: (gcloud.auth.git-helper) Invalid input line format: [path=].

SOL: try cmd : credential.helper=gcloud.cmd

https://groups.google.com/forum/#!topic/google-cloud-sdk/8SfiaKEYXTM

 

 

 

 

 

Github setting python

       

[remote "origin"]

        url = git@github.com:RealCool1983/python.git

        fetch = +refs/heads/master:refs/remotes/origin/master

        puttykeyfile = C:\\Users\\Rex_wu\\.ssh\\puttyKey.ppk

       

________________________________________ 3S CONFIDENTIALITY NOTICE: This message and all attachments may contain legally privileged and confidential information. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by replying to the message and delete all copies. Thank you.