在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/ Linux問答
傲嬌范 回答
<style>
        @-webkit-keyframes move {
            0%{
                -webkit-clip-path:polygon(0% 0%,0% 100%,0% 100%,0% 0%);
            }
            100%{
                -webkit-clip-path:polygon(0% 0%,0% 100%,100% 100%,100% 0%);
            }
        }
        div{
            height: 50px;
            line-height: 50px;
            text-align: center;
            font-size: 2px;
        }
        .outer{
            position: relative;
        }
        .inner{
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            color: red;
            background-color: blue;
            -webkit-clip-path:polygon(0% 0%,0% 100%,100% 100%,100% 0%);
            animation: move 1s linear 0s;
        }
    </style>
</head>
<body>
<div class="outer">
    1/22
    <div class="inner">1/22</div>
</div>
莓森 回答

幫你把sh下下來了,你存下來試試看,我就估計你git clone的時候也會卡住。哈哈,到時候再找我吧。

main() {
  # Use colors, but only if connected to a terminal, and that terminal
  # supports them.
  if which tput >/dev/null 2>&1; then
      ncolors=$(tput colors)
  fi
  if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
    RED="$(tput setaf 1)"
    GREEN="$(tput setaf 2)"
    YELLOW="$(tput setaf 3)"
    BLUE="$(tput setaf 4)"
    BOLD="$(tput bold)"
    NORMAL="$(tput sgr0)"
  else
    RED=""
    GREEN=""
    YELLOW=""
    BLUE=""
    BOLD=""
    NORMAL=""
  fi

  # Only enable exit-on-error after the non-critical colorization stuff,
  # which may fail on systems lacking tput or terminfo
  set -e

  CHECK_ZSH_INSTALLED=$(grep /zsh$ /etc/shells | wc -l)
  if [ ! $CHECK_ZSH_INSTALLED -ge 1 ]; then
    printf "${YELLOW}Zsh is not installed!${NORMAL} Please install zsh first!\n"
    exit
  fi
  unset CHECK_ZSH_INSTALLED

  if [ ! -n "$ZSH" ]; then
    ZSH=~/.oh-my-zsh
  fi

  if [ -d "$ZSH" ]; then
    printf "${YELLOW}You already have Oh My Zsh installed.${NORMAL}\n"
    printf "You'll need to remove $ZSH if you want to re-install.\n"
    exit
  fi

  # Prevent the cloned repository from having insecure permissions. Failing to do
  # so causes compinit() calls to fail with "command not found: compdef" errors
  # for users with insecure umasks (e.g., "002", allowing group writability). Note
  # that this will be ignored under Cygwin by default, as Windows ACLs take
  # precedence over umasks except for filesystems mounted with option "noacl".
  umask g-w,o-w

  printf "${BLUE}Cloning Oh My Zsh...${NORMAL}\n"
  hash git >/dev/null 2>&1 || {
    echo "Error: git is not installed"
    exit 1
  }
  # The Windows (MSYS) Git is not compatible with normal use on cygwin
  if [ "$OSTYPE" = cygwin ]; then
    if git --version | grep msysgit > /dev/null; then
      echo "Error: Windows/MSYS Git is not supported on Cygwin"
      echo "Error: Make sure the Cygwin git package is installed and is first on the path"
      exit 1
    fi
  fi
  env git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $ZSH || {
    printf "Error: git clone of oh-my-zsh repo failed\n"
    exit 1
  }


  printf "${BLUE}Looking for an existing zsh config...${NORMAL}\n"
  if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]; then
    printf "${YELLOW}Found ~/.zshrc.${NORMAL} ${GREEN}Backing up to ~/.zshrc.pre-oh-my-zsh${NORMAL}\n";
    mv ~/.zshrc ~/.zshrc.pre-oh-my-zsh;
  fi

  printf "${BLUE}Using the Oh My Zsh template file and adding it to ~/.zshrc${NORMAL}\n"
  cp $ZSH/templates/zshrc.zsh-template ~/.zshrc
  sed "/^export ZSH=/ c\\
  export ZSH=$ZSH
  " ~/.zshrc > ~/.zshrc-omztemp
  mv -f ~/.zshrc-omztemp ~/.zshrc

  # If this user's login shell is not already "zsh", attempt to switch.
  TEST_CURRENT_SHELL=$(expr "$SHELL" : '.*/\(.*\)')
  if [ "$TEST_CURRENT_SHELL" != "zsh" ]; then
    # If this platform provides a "chsh" command (not Cygwin), do it, man!
    if hash chsh >/dev/null 2>&1; then
      printf "${BLUE}Time to change your default shell to zsh!${NORMAL}\n"
      chsh -s $(grep /zsh$ /etc/shells | tail -1)
    # Else, suggest the user do so manually.
    else
      printf "I can't change your shell automatically because this system does not have chsh.\n"
      printf "${BLUE}Please manually change your default shell to zsh!${NORMAL}\n"
    fi
  fi

  printf "${GREEN}"
  echo '         __                                     __   '
  echo '  ____  / /_     ____ ___  __  __   ____  _____/ /_  '
  echo ' / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ '
  echo '/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / '
  echo '\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  '
  echo '                        /____/                       ....is now installed!'
  echo ''
  echo ''
  echo 'Please look over the ~/.zshrc file to select plugins, themes, and options.'
  echo ''
  echo 'p.s. Follow us at https://twitter.com/ohmyzsh.'
  echo ''
  echo 'p.p.s. Get stickers and t-shirts at https://shop.planetargon.com.'
  echo ''
  printf "${NORMAL}"
  env zsh
}

main
不歸路 回答

ftp得寫上用戶名密碼吧,比如你用戶名是test,密碼是6666667,那么應(yīng)該是:

<img src="ftp://test:6666667@127.0.0.1/image/a3e5d211-42d4-466a-940d-040e496f9faf.jpg" class="img-thumbnail">

另外不建議用匿名,那個拼寫起來比具名的還長……

遲月 回答

https://github.com/chxj1992/k...
項目文檔說的很清楚?。▌e告訴我你看不懂中文)
安裝

$ npm install kline 

使用

//在頁面中加入
  <div id="kline_container"></div>
//在你需要的文件導(dǎo)入kline模塊
 import Kline from 'kline';
//然后實例化(這些參數(shù)需要你配置成自己的數(shù)據(jù)),參數(shù)的含義文檔也有說

 var kline = new Kline({
        element: "#kline_container",
        symbol: "BTC",
        symbolName: "比特幣",
        type: "poll", // poll/stomp
        url: "http://127.0.0.1:8080/mock.json"
    });
    kline.draw();

打開你的頁面應(yīng)該就可以了

唯一你需要注意的恐怕就是這個url了,你參考人家給的例子里的數(shù)據(jù)

舊時光 回答

1.segmentfault可以上傳圖片
2.創(chuàng)建好項目后,svn會自動生成鏈接

使用try_files $uri $uri/ /;

    location / {
        proxy_pass http://localhost:6666;
        proxy_set_header  Host $host:$server_port;
        proxy_set_header  X-Real-IP  $remote_addr;
        client_max_body_size  10m;
        try_files $uri $uri/ /;
    }
祈歡 回答

“一般不要定義為Static變量”,這是為了防止不安全的SimpleDateFormat實例被意外泄漏導(dǎo)致線程安全性問題。但是泄漏實例或者共享實例的方式有很多,不管是否使用static修飾,只要可變實例被多線程共享即不安全。不要定義為static變量只是一種良好的規(guī)范,但并不能阻止實例被多線程共享。

若相惜 回答

xesv5.com是你們公司內(nèi)網(wǎng)吧,packagist.xesv5.com域名解析不了找你們網(wǎng)管

刮刮樂 回答

看nginx日志,包括access_log和error_log

未命名 回答

在windows系統(tǒng)下,我更推薦打開ftp,然后通過FreeFileSync這類同步軟件操作。這個軟件比一些單純的FTP軟件更加可視及可控。

毀了心 回答

如果你問的是環(huán)境變量的話,建議各個系統(tǒng)各自增加環(huán)境變量,名稱一致,比如ENV=test等.js的編譯本身是可以帶環(huán)境參數(shù)的,比如

project_path=$(cd `dirname $0`; pwd)

export NODE_ENV=$ENV

./node_modules/.bin/webpack --config webpack.dll.config -p
./node_modules/.bin/webpack --config webpack.config -p

這里可以將環(huán)境變量直接導(dǎo)出到j(luò)s編譯環(huán)境。
然后就可以在程序愉快的進行判斷了


module.exports = {
    API_URL:process.env.NODE_ENV == "production" ? "http://XXXX/api/":"http://AAAA/api/",
    IMAGE_URL:process.env.NODE_ENV == "production" ?  "http://XXXXX": "http://AAAA"
}
何蘇葉 回答

因為 Node 包里的 npm 是 5.6。不知道你怎么升級的,所以不好判定問題在哪兒。

之后不能升級看起來是權(quán)限問題,之前的目錄不能訪問,可以試下 sudo 或者重裝。

最后建議不要用 CNPM,會導(dǎo)致發(fā)包問題。建議在必要的時候(下載 Electron、Phonegap 等)臨時修改系統(tǒng)變量,大部分時候 NPM 也不會太慢。

脾氣硬 回答

先確定.gitignore 文件中有沒有忽略 public ,然后git add .就可以全部推送

解夏 回答

1.一種方式是在子組件的構(gòu)造函數(shù)里把props用state緩存起來,這樣的話會導(dǎo)致父組件的屬性更新了,子組件沒有更新,這個時候需要結(jié)合componentWillRecieveProps函數(shù)處理
2.把父組件傳給子組件的屬性分開,各個子組件的屬性相互獨立

爆扎 回答
It is not a bug, it is a feature

.git/hooks/被特意設(shè)計為用戶本地使用的,原因很簡單:

  1. 對創(chuàng)建者來說,很可能把ssh部署密鑰之類的放進去,分享出去很危險;
  2. 對接受者來說,我只是git push,怎么突然就被刪庫了???接受任意代碼插入git標(biāo)準(zhǔn)流程也很危險。

所以,如果想分享hooks,需要顯式地放到repo里面,用符號鏈接就可以。然后配置一個安裝腳本(bashscript, makefile, package.json, etc),讓用戶顯式地去安裝。

爆扎 回答

三元運算嵌套一下就可以了啊,干嘛要computed
{{(item.state==0?'辦理中':(item.state==1?:'已結(jié)辦':'已中止'))}}