PHPでtranspose
配列の行列入れ換え Rubyのtransposeみたいなやつ? function array_transpose($array) { if (!is_array($array)) { return false; } foreach ($array as $res) { if (!is_arra …
メモとか
配列の行列入れ換え Rubyのtransposeみたいなやつ? function array_transpose($array) { if (!is_array($array)) { return false; } foreach ($array as $res) { if (!is_arra …
とりあえず <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 20 ServerLimit 1050 MaxClients 1000 MaxRequ …
--with-ipv6が無いとIPv6のアドレスは扱わないぽい src/core/ngx_inet.c ngx_int_t ngx_parse_addr(ngx_pool_t *pool, ngx_addr_t *addr, u_char *text, size_t len) { in_addr_t inaddr; …
glob()とscandir()の比較 glob()で「.」始まりのファイルが含まれてなかったので確認 ファイルはこんな感じ # ls -alU /tmp/filelist/ 合計 200 drwxr-xr-x 3 root root 4096 6月 8 10:39 . drwxrwxrwx 5 root root 192512 6月 …