CSDN 真白痴

由 非洲饿鱼 于 星期三, 12/21/2011 - 20:44 发表

broken heartcsdn真白痴竟然明文保存用户密码!电驴一查 csdn 600 就。。。。

nginx: [emerg] getpwnam("nginx") failed

由 非洲饿鱼 于 星期五, 08/19/2011 - 11:38 发表

在启动nginx之前还需要添加nginx用户组,否则会提示

[emerg]: getpwnam(“nginx”) failed

添加用户组

sudo adduser --system --no-create-home --disabled-password --group nginx

目前出票问题

由 非洲饿鱼 于 星期二, 08/09/2011 - 10:19 发表
  • 一群闲人在死等一堆问题broken heart

程序员要抓紧办证!免得被拘留!哈哈!

由 非洲饿鱼 于 星期一, 07/25/2011 - 22:23 发表

新版的FireFox真是越来越垃圾了!

由 非洲饿鱼 于 星期日, 07/24/2011 - 16:03 发表

经常莫名奇妙来个假死!cpu站各百分百!奶奶的,如果不是几个插件好用,才不用你!

删除Delphi 2007 无效的菜单actionclientitem9

由 非洲饿鱼 于 星期六, 07/23/2011 - 10:13 发表

原来又是个bug http://qc.embarcadero.com/wc/qcmain.aspx?d=71796 去注册表HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Transfer 一看就明白了cheeky

Delphi多维数组Copy有问题!

由 非洲饿鱼 于 星期日, 07/17/2011 - 20:11 发表

看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;

让Trac PlantUML Plugin支持汉字

由 非洲饿鱼 于 星期五, 07/15/2011 - 18:34 发表


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
}}}

制作 trac egg包

由 非洲饿鱼 于 星期四, 07/14/2011 - 13:39 发表

setup.py bdist_egg

Delphi 64位!不错!

由 非洲饿鱼 于 星期二, 07/12/2011 - 19:17 发表

不错!很好!加油!laugh

同步内容 同步内容
Drupal theme by Kiwi Themes.