Windows基礎(chǔ)環(huán)境搭建

我的個(gè)人博客:https://lixiaohui.live

1、解決在企業(yè)域內(nèi)無(wú)法繞開(kāi)代理服務(wù)器安裝包的問(wèn)題:

pip install --proxy=domain\v_xmmxhli@proxyServer:port pyodbc -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

其中proxyServer是代理服務(wù)器名稱(chēng)或者IP,port是端口號(hào)。

2、Sublime設(shè)置proxy代理

    "http_proxy": "http://proxyServer:port",
    "https_proxy": "https://proxyServer:port",
    "ignored_packages":
    [
        "Vintage"
    ],
    "proxy_password": "yourPassword",
    "proxy_username": "domain\\v_xmmxhli",
    "remember_open_files": false

其中proxy_username為域用戶(hù),proxy_password為域賬戶(hù)密碼。

附常用sublime配置:

{
    // "font_face": "'Monaco', '文泉驛等寬微米黑'",
    "font_face":"文泉驛等寬微米黑",
    "font_size": 14,
    "hot_exit": false,
    "http_proxy": "http://proxyServer:port",
    "https_proxy": "https://proxyServer:port",
    "ignored_packages":
    [
        "Vintage"
    ],
    "proxy_password": "yourPassword",
    "proxy_username": "domain\\v_xmmxhli",
    "remember_open_files": false
}

3、Visual Studio Code設(shè)置proxy代理

{
    "http.proxy": "http://proxyServer:port",
}

附常用code配置:

{
    "git.ignoreMissingGitWarning": true,
    "workbench.startupEditor": "newUntitledFile",
    "editor.fontFamily": "Monaco",
    "editor.fontSize": 16,
    "http.proxy": "http://proxyServer:port",
}

其中proxy_username為域用戶(hù),proxy_password為域賬戶(hù)密碼。

4、添加“Edit with VS code”到鼠標(biāo)右鍵

保存以下文本為.reg文件,雙擊執(zhí)行

Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\Program Files\\Microsoft VS Code\\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%1\""
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\vscode]
@="Open Folder as VS Code Project"
"Icon"="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\vscode\command]
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%1\""
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode]
@="Open Folder as VS Code Project"
"Icon"="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command]
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%V\""
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • Spring Cloud為開(kāi)發(fā)人員提供了快速構(gòu)建分布式系統(tǒng)中一些常見(jiàn)模式的工具(例如配置管理,服務(wù)發(fā)現(xiàn),斷路器,智...
    卡卡羅2017閱讀 136,506評(píng)論 19 139
  • 管理及IO重定向 輸入設(shè)備/輸出設(shè)備,程序,控制器,運(yùn)算器,存儲(chǔ)器; 地址總線:內(nèi)存尋址; 數(shù)據(jù)總線:傳輸數(shù)據(jù) 控...
    ty杜牧閱讀 228評(píng)論 0 0
  • 今天第三次來(lái)到深圳 哥哥有了嫂子,我暫時(shí)住在這里,心情負(fù)責(zé),和哥哥用方言交流我覺(jué)得是不尊重嫂子的表現(xiàn),因?yàn)樗?tīng)不懂...
    夢(mèng)婆故事吧閱讀 355評(píng)論 0 0

友情鏈接更多精彩內(nèi)容