Last active
August 9, 2022 06:18
-
-
Save dswwsd/4649be95285dc39ccd1c8a089b72c5b9 to your computer and use it in GitHub Desktop.
Revisions
-
dswwsd revised this gist
Aug 9, 2022 . 1 changed file with 37 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,37 @@ # Debian # via http://askubuntu.com/questions/510056/how-to-install-google-chrome wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' sudo apt-get update sudo apt-get install google-chrome-stable # Update sudo apt-get --only-upgrade install google-chrome-stable # 文泉字体 apt-get install ttf-wqy-* # -------------------------------------------- # Redhat # /etc/yum.repos.d/google-chrome.repo # [google-chrome] # name=google-chrome # baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch # enabled=1 # gpgcheck=1 # gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub yum install google-chrome-stable # 文泉字体 yum install ttf-wqy-* # remote debug google-chrome --headless --remote-debugging-port=9222 --disable-gpu --remote-debugging-address=0.0.0.0 # centos7 yum groupinstall "fonts" vim /etc/locale.conf # LANG="zh_CN.UTF-8" source /etc/locale.conf -
dswwsd revised this gist
Aug 9, 2022 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,3 @@ [global] trusted-host = mirrors.aliyun.com index-url = https://mirrors.aliyun.com/pypi/simple -
dswwsd renamed this gist
Aug 9, 2022 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
dswwsd revised this gist
Aug 9, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ -
dswwsd revised this gist
Aug 14, 2020 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,5 +12,7 @@ npm set node_inspector_cdnurl=https://cnpmjs.org/mirrors/node-inspector export NVM_NODEJS_ORG_MIRROR=https://cnpmjs.org/mirrors/node export PUPPETEER_DOWNLOAD_HOST=https://storage.googleapis.com.cnpmjs.org export SHARP_DIST_BASE_URL=https://npm.taobao.org/mirrors/sharp-libvips/ # HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles -
dswwsd revised this gist
Mar 4, 2018 . 1 changed file with 10 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,16 @@ npm set registry https://r.cnpmjs.org # 注册模块镜像 npm set disturl https://cnpmjs.org/dist # node-gyp 编译依赖的 node 源码镜像 npm set chromedriver_cdnurl http://cnpmjs.org/mirrors/chromedriver # chromedriver npm set operadriver_cdnurl http://cnpmjs.org/mirrors/operadriver # operadriver npm set phantomjs_cdnurl http:/cnpmjs.org/mirrors/phantomjs # phantomjs npm set sass_binary_site http://cnpmjs.org/mirrors/node-sass # node-sass npm set electron_mirror http://cnpmjs.org/mirrors/electron/ # electron npm set selenium_cdnurl=http://cnpmjs.org/mirrors/selenium npm set node_inspector_cdnurl=https://cnpmjs.org/mirrors/node-inspector export NVM_NODEJS_ORG_MIRROR=https://cnpmjs.org/mirrors/node export PUPPETEER_DOWNLOAD_HOST=https://storage.googleapis.com.cnpmjs.org # HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles -
dswwsd revised this gist
Jan 15, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,6 +11,6 @@ npm set selenium_cdnurl=http://npm.taobao.org/mirrors/selenium npm set node_inspector_cdnurl=https://npm.taobao.org/mirrors/node-inspector export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node export PUPPETEER_DOWNLOAD_HOST=https://storage.googleapis.com.cnpmjs.org # HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles -
dswwsd revised this gist
Oct 31, 2017 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ npm set registry https://registry.npm.taobao.org # 注册模块镜像 npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像 npm set chromedriver_cdnurl http://npm.taobao.org/mirrors/chromedriver # chromedriver npm set operadriver_cdnurl http://npm.taobao.org/mirrors/operadriver # operadriver npm set phantomjs_cdnurl http://npm.taobao.org/mirrors/phantomjs # phantomjs npm set sass_binary_site http://npm.taobao.org/mirrors/node-sass # node-sass npm set electron_mirror http://npm.taobao.org/mirrors/electron/ # electron npm set selenium_cdnurl=http://npm.taobao.org/mirrors/selenium npm set node_inspector_cdnurl=https://npm.taobao.org/mirrors/node-inspector -
dswwsd revised this gist
Sep 1, 2017 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,7 @@ npm set electron_mirror http://cdn.npm.taobao.org/dist/electron/ # electron npm set selenium_cdnurl=http://npm.taobao.org/mirrors/selenium npm set node_inspector_cdnurl=https://npm.taobao.org/mirrors/node-inspector export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node # HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles -
dswwsd revised this gist
Aug 1, 2017 . 1 changed file with 5 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,13 @@ npm set registry https://registry.npm.taobao.org # 注册模块镜像 npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像 npm set chromedriver_cdnurl http://cdn.npm.taobao.org/dist/chromedriver # chromedriver npm set operadriver_cdnurl http://cdn.npm.taobao.org/dist/operadriver # operadriver npm set phantomjs_cdnurl http://cdn.npm.taobao.org/dist/phantomjs # phantomjs npm set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass # node-sass npm set electron_mirror http://cdn.npm.taobao.org/dist/electron/ # electron npm set selenium_cdnurl=http://npm.taobao.org/mirrors/selenium npm set node_inspector_cdnurl=https://npm.taobao.org/mirrors/node-inspector export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node -
dswwsd revised this gist
Aug 1, 2017 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,4 +11,6 @@ npm set electron_mirror http://cdn.npm.taobao.org/dist/electron/ # electron 二 npm set selenium_cdnurl=http://npm.taobao.org/mirrors/selenium npm set node_inspector_cdnurl=https://npm.taobao.org/mirrors/node-inspector npm cache clean export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node -
dswwsd created this gist
Jul 9, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ npm set registry https://registry.npm.taobao.org # 注册模块镜像 npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像 ## 以下选择添加 npm set chromedriver_cdnurl http://cdn.npm.taobao.org/dist/chromedriver # chromedriver 二进制包镜像 npm set operadriver_cdnurl http://cdn.npm.taobao.org/dist/operadriver # operadriver 二进制包镜像 npm set phantomjs_cdnurl http://cdn.npm.taobao.org/dist/phantomjs # phantomjs 二进制包镜像 npm set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass # node-sass 二进制包镜像 npm set electron_mirror http://cdn.npm.taobao.org/dist/electron/ # electron 二进制包镜像 npm set selenium_cdnurl=http://npm.taobao.org/mirrors/selenium npm set node_inspector_cdnurl=https://npm.taobao.org/mirrors/node-inspector npm cache clean