一本码簿

众里寻码千百度,那段却在github处。

0%

os

Windows安装

Chocolatey

1
Set-ExecutionPolicy Bypass -Scope Process -Force;iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

choco install vscode everything tim firefox google-chrome-x64 flashplayerplugin flashplayerppapi -y

choco install tortoisesvn seafile-client autohotkey InnoSetup -y

choco install chocolatey-package.config

Scoop

1
Set-ExecutionPolicy RemoteSigned -scope CurrentUser -Force;iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

scoop install 7zip git-with-openssh gitignore sudo nodejs-lts busybox maven -g

npm i -g tldr vue-cli webpack-cli

scoop install cmder yarn python -g

微软商店

  • 印象笔记剪辑
  • f.lux
  • WSL-Debian

手动安装

  • office
  • Foxit PhantomPDF
  • Navicat Premium 12
  • xftp/xshell
  • intellijidea-ultimate
  • visualstudio2017professional
  • 印象笔记

WSL

sudo sh -c "$(wget http://www.haies.cn/assets/debian-init.sh -O -)"

sudo sh -c "$(wget http://www.haies.cn/assets/ubuntu-init.sh -O -)"

sudo sh -c "$(wget http://www.haies.cn/assets/centos-init.sh -O -)"

  • DejaVu Sans Mono for Powerline
  • WSL-Terminal
  • 改zsh和tmux
  • base16-darktooth.minttyrc

    安装设置

    Atom

  • 多行光标
    在Windows 下atom多行光标的快捷键 ctrl-shift-L 被语法高亮占用,网上大多数给的快捷键说明是Mac上的 cmd-shit-L 并没什么用。
    实现atom多行光标的方式是在keymap.cson中添加下面的脚本
    1
    2
    '.editor:not(.mini)':
    'ctrl-shift-L': 'editor:split-selections-into-lines'

Sublime

  • Package Control
    Package Control: Advanced Install Package
    1
    SideBarEnhancements,BracketHighlighter,SublimeCodeIntel,All Autocomplete,AutoFileName,JavaScript Console,IMESupport,ConvertToUTF8,HTML5,HTML-CSS-JS Prettify,Pretty JSON,A File Icon,Theme Spacegray,1337 Color Scheme`

环境

  • Everything %AppData%\Everything\Everything.ini
  • SSH %HOMEPATH%\.ssh
  • Git %HOMEPATH%\.gitconfig

Package Manager

npm

npm install phantomjs-prebuilt

npm install tldr -g

pip

apm

apm i sync-settings file-icons git-plus atom-beautify platformio-ide-terminal atom-hexo language-markdown markdown-img-paste markdown-pdf markdown-scroll-sync markdown-toc sublime-style-column-selection

apm list --installed --bare > hai-atom-packages.txt
apm install --packages-file hai-atom-packages.txt

homebrew

bower

Nuget