在启动nginx之前还需要添加nginx用户组,否则会提示
[emerg]: getpwnam(“nginx”) failed
添加用户组
sudo adduser --system --no-create-home --disabled-password --group nginx
原来又是个bug http://qc.embarcadero.com/wc/qcmain.aspx?d=71796 去注册表HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Transfer 一看就明白了![]()
看http://qc.embarcadero.com/wc/qcmain.aspx?d=20086
fpc编译结果一样!
type TVector = array of integer; TMatrix = array of array of integer; procedure TForm1.Button1Click(Sender: TObject); var A, B : TMatrix; C, D : TVector; begin SetLength(C, 2); C[0] := 1; //this duplicates the vector D := Copy(C); D[0] := 2; //correctly shows "1" ShowMessage(IntToStr(C[0])); SetLength(A, 2, 2); A[0,0] := 1; //this should duplicate the matrix B := Copy(A); B[0,0] := 2; //oops: it shows "2" ShowMessage(IntToStr(A[0,0])); end;
改
source = args.encode("utf-8") cmd = "java -jar -Djava.awt.headless=true \"%s\" -charset UTF-8 -pipe" % (self.plantuml_jar) {{{ #!PlantUML @startuml skinparam defaultFontName simsun 软件 -> Bob: Authentication Request Bo汉字b --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response @enduml }}}
Drupal theme by Kiwi Themes.
