鍍金池/ 問(wèn)答/ Linux問(wèn)答
焚音 回答

git pull --rebase

ssh不是應(yīng)該這個(gè)格式嗎?

git@github.com:xxx/xxx.git

傻叼 回答

我的錯(cuò)誤是這樣的

npm ERR! code EINTEGRITY
npm ERR! sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA== integrity checksum failed when using sha512: wanted sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA== but got sha512-n+6hC9m8/M79/zP73OVephxorZkaamBKLLwslR3SOUCqGyBpmyWwfdmqEs/NZGksb86QEJawH8+fz6iKNrYJKw==. (48732 bytes)

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\likang\AppData\Roaming\npm-cache\_logs\2017-12-14T11_24_54_278Z-debug.log

我換個(gè)網(wǎng)絡(luò)就好了,可能是網(wǎng)絡(luò)問(wèn)題吧,并且今天我的網(wǎng)上不去Vue官,手機(jī)4G就可以

病癮 回答

有setuid/gid且沒(méi)有相應(yīng)的x就會(huì)顯示為S (+x就會(huì)變成s了)

s的含義可以看man chmod

久不遇 回答

從 NPM 5.0 開(kāi)始,npm update 會(huì)自動(dòng)更新 package.json。所以先查下 npm 版本吧。

陌璃 回答
<filesMatch "\.(html|htm|js|css)$">
  FileETag None
  <ifModule mod_headers.c>
     Header unset ETag
     Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
     Header set Pragma "no-cache"
     Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
  </ifModule>
</filesMatch>

轉(zhuǎn)自 Disable caching of assets in Apache
http://bertanguven.com/disabl...

尛曖昧 回答

使用ConcurrentHashMap:new ConcurrentHashMap<String,Object>();
或者Collections的靜態(tài)內(nèi)部類(lèi)synchronizedMap:Collections.synchronizedMap都可以

生性 回答
git config --global user.name "Your_Username"
git config --global user.email username@xxx.com
我以為 回答

啊哈哈哈哈哈哈哈哈,我解決了,感謝知乎的答友提醒我看安裝包里的 INSTALL 文件,里面很詳細(xì),雖然是全英文,但是我眼神好,看到一句 ‘make update’當(dāng)時(shí)就想,我擦,還有這個(gè)操作,即使沒(méi)理解上下文,但是先試試吧,然后重新編譯了一次openssl:
./config shared --prefix=/usr/local/openssl (這一句我其實(shí)用過(guò)幾回了,都沒(méi)有效果)
make
make update (沒(méi)想到居然不是用make install?。?/p>

//以下是編譯openssh的結(jié)果,終于識(shí)別我想裝的版本啦!?。?/p>

checking OpenSSL header version... 100020cf (OpenSSL 1.0.2l  25 May 2017)
checking OpenSSL library version... 100020cf (OpenSSL 1.0.2l  25 May 2017)
checking whether OpenSSL's headers match the library... yes
checking if programs using OpenSSL functions will link... yes
....(此處省略)
OpenSSH has been configured with the following options:
                 User binaries: /usr/local/openssh/bin
               System binaries: /usr/local/openssh/sbin
           Configuration files: /etc/ssh
               Askpass program: /usr/local/openssh/libexec/ssh-askpass
                  Manual pages: /usr/share/man/manX
                      PID file: /var/run
  Privilege separation chroot path: /var/empty
        sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/openssh/bin
                Manpage format: doc
                   PAM support: yes
               OSF SIA support: no
             KerberosV support: no
               SELinux support: no
             Smartcard support: 
                 S/KEY support: no
          MD5 password support: yes
               libedit support: no
               libldns support: no
  Solaris process contract support: no
       Solaris project support: no
     Solaris privilege support: no
   IP address in $DISPLAY hack: no
       Translate v4 in v6 hack: yes
              BSD Auth support: no
          Random number source: OpenSSL internal ONLY
         Privsep sandbox style: seccomp_filter

          Host: x86_64-pc-linux-gnu
      Compiler: gcc
Compiler flags: -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  
Preprocessor flags: -I/usr/local/openssl/include -I/usr/local/zlib/include  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE
  Linker flags: -L/usr/local/openssl/lib -L/usr/local/zlib  -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -fstack-protector-strong -pie 
     Libraries: -lcrypto -ldl -lutil -lz  -lcrypt -lresolv
     +for sshd:  -lpam

PAM is enabled. You may need to install a PAM control file 
for sshd, otherwise password authentication may fail. 
Example PAM control files can be found in the contrib/ 
subdirectory
故林 回答

root用戶(hù)一樣可以設(shè)置只讀權(quán)限的。

笨尐豬 回答

如果是遠(yuǎn)程登陸,有可能遠(yuǎn)程主機(jī)被禁止訪問(wèn)。本地登陸說(shuō)明密碼確實(shí)錯(cuò)了

安于心 回答

是的,需要有一個(gè)服務(wù)來(lái)做持續(xù)集成的工作,比如 Jenkins

萌吟 回答
請(qǐng)問(wèn)怎么改造可以讓后臺(tái)POST時(shí)候收到收到參

network看你前端本來(lái)就沒(méi)問(wèn)題,而問(wèn)題就變成后端接收不到參數(shù),那么后端可以處理什么content-type呢?(這是接口定義的問(wèn)題,人家定義不接受form data你發(fā)過(guò)去有啥用)

一開(kāi)始以為你是發(fā)送請(qǐng)求的截圖,原來(lái)是后臺(tái)給的成功實(shí)例。。
當(dāng)然有問(wèn)題,application/x-www-form-urlencoded發(fā)送數(shù)據(jù)的格式是a=b&c=d,而你發(fā)的是json字符串,你可以用qs模塊轉(zhuǎn)一下。

      if (type == 'POST') {
        sendData = JSON.stringify(data);
      }

      requestObj.open(type, url, true);
      requestObj.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
      requestObj.send(sendData);

然后以后有關(guān)Network的問(wèn)題,有什么不成功請(qǐng)截個(gè)圖發(fā)出來(lái)才能看到你到底發(fā)送了什么。

選擇 回答

1.啥叫浪費(fèi)了呢?可以給dialog加v-if指令來(lái)控制要不要繪制dialog啊
2.也可以只寫(xiě)一個(gè)dialog,dialog里的內(nèi)容根據(jù)邏輯來(lái)判斷顯示哪個(gè),但是這樣的話邏輯會(huì)比較復(fù)雜

枕邊人 回答

頁(yè)面的鏈接應(yīng)該用絕對(duì)路徑,你這可能是相對(duì)路徑了,檢查檢查。javaweb類(lèi)有相應(yīng)的方法

笑浮塵 回答

你應(yīng)該使用add 而不是copy,另外你所使用的php鏡像是基于alpine的,alpine沒(méi)有bash,只有sh

墨沫 回答

方法1.重新啟動(dòng)XCode,然后嘗試創(chuàng)建一個(gè)新的項(xiàng)目,看看錯(cuò)誤是否持續(xù)。
方法2.Project --> Build settings ---> Other Interface Builder Compiler Flags --> set to none(empty).