]> Zhao Yanbai Git Server - acecode.git/commitdiff
...
authorAce Zhao <ace@acezhao-mb2.tencent.com>
Mon, 21 Jan 2019 11:34:17 +0000 (19:34 +0800)
committerAce Zhao <ace@acezhao-mb2.tencent.com>
Mon, 21 Jan 2019 11:34:17 +0000 (19:34 +0800)
learn/doc/mac_bash_profile
learn/doc/vimrc
tools/game/ksp_planet_transfer_calculator.go

index 3b0562a86766f4d73dd385badf09930f5e1a0c54..2330121f1f5a96c0995b1fd8829306df01a9252e 100644 (file)
@@ -5,10 +5,12 @@ HISTCONTROL=ignoreboth
 export PATH=/usr/local/sbin:$PATH
 export PATH=$HOME/.local/bin:$PATH
 export PATH=$PATH:$HOME/workspace/esp/xtensa-esp32-elf/bin
+export PATH=$PATH:$HOME/workspace/esp/xtensa-lx106-elf/bin
 export GOBIN=$HOME/.local/bin
 export IDF_PATH=$HOME/workspace/esp/esp-idf
 export PATH=$PATH:/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/
 export PATH=$PATH:$HOME/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin
+export PATH=$PATH:/usr/local/opt/go/libexec/bin
 #多个GOPATH用';'分隔 go get会存到第一个目录
 export GOPATH=$HOME/go
 export RTOS_PATH=$HOME/workspace/acecode/rtos/
index 72f9f27dfc170ca757e84dabad884cede9f1320c..1e3f596e08bb5943b3c16c4bfd9eddf454645e9f 100644 (file)
@@ -72,7 +72,6 @@ set tabstop=4     " TAB的宽度
 set shiftwidth=4
 set expandtab     " TAB用空格代替,否则可用 set noexpandtab
 set cursorline
-set paste
 
 "hi CursorLine ctermbg=lightcyan cterm=BOLD
 "set cursorcolumn
@@ -113,4 +112,8 @@ autocmd FileType asm set tabstop=4
 autocmd FileType asm set shiftwidth=4
 autocmd FileType asm set expandtab
 
-imap jj <esc> " 连续按两次jj表示按ESC,进入命令模式
+" 连续按两次jj表示按ESC,进入命令模式
+imap jj <Esc>
+
+" set paste 会使 imap jj <Esc>失效
+"set paste
index a65cc0b5b617900ffcb3eb2b672ce5d85f00c475..fce6ba950e2fe7c96a4dc7b191f3e89573348e2f 100644 (file)
@@ -52,7 +52,7 @@ var objects = map[string]AstronomicalObject {
                320000,
                20726155264,
                0.06,
-               0.05,
+               0.051,
                3.0136321e11,
                47921949,
        },
@@ -67,6 +67,17 @@ var objects = map[string]AstronomicalObject {
                3.5315984e12,
                84159271,
        },
+    "Dress" :
+    {
+        "Dress",
+        "Kerbol",
+        138000,
+        40839348203,
+        5,
+        0.145,
+        2.1484489e10,
+        32832840,
+    },
 }
 
 func getAstronomicalObjectOrbitalPeriod(sma float64, u float64) float64 {
@@ -88,7 +99,7 @@ func main() {
        // ===> PhaseAngle = Pi - Tt*Pi/Td 
 
        aos := objects["Kerbin"]
-       aod := objects["Eve"]
+       aod := objects["Duna"]
        if aos.parent != aod.parent || aos.parent == "" || aod.parent == "" {
                fmt.Println("invalid astronomical object");
                return