Changes between Version 1 and Version 2 of jazz/20-04-24


Ignore:
Timestamp:
Apr 24, 2020, 10:41:30 PM (4 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/20-04-24

    v1 v2  
    1010while (1) {$wsh.SendKeys('{SCROLLLOCK}'); sleep 60}
    1111}}}
     12
     13== SCOOP (Windows Homebrew) ==
     14
     15* without Admin permission
     16
     17{{{
     18## Note: if you get an error you might need to change the execution policy (i.e. enable Powershell) with
     19Set-ExecutionPolicy RemoteSigned -scope CurrentUser
     20
     21## NOTE: install to specified folder 'c:\scoop'
     22## https://techformist.com/install-scoop-for-command-line-nirvana/
     23$env:SCOOP='c:\scoop'
     24[environment]::setEnvironmentVariable('SCOOP',$env:SCOOP,'User')
     25iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
     26
     27scoop install git
     28
     29# make Symlinks in Windows available
     30## https://stackoverflow.com/questions/32847697/windows-specific-git-configuration-settings-where-are-they-set/32849199#32849199
     31## https://www.joshkel.com/2018/01/18/symlinks-in-windows/
     32[environment]::setEnvironmentVariable('MSYS','winsymlinks:nativestrict','User')
     33
     34scoop bucket add java
     35scoop bucket add extras
     36
     37scoop install python
     38scoop install ojdkbuild8-full
     39scoop install chromedriver
     40scoop install vscode-portable
     41}}}
     42
     43## Git-Bash
     44
     45* 要注意 `ln -s` 預設是不支援
     46* https://github.com/git-for-windows/git/wiki/Symbolic-Links#creating-directory-junctions
     47  * 可以改用 cmd.exe 的 "mklink /J <連結> <目標路徑>"
     48{{{
     49mklink /J git e:/writable/git
     50}}}