delphij's Chaos blog.delphij.net

delphij's Chaos

站名: delphij's Chaos

网址: http://blog.delphij.net

目录: 电脑网络 > 网址黄页

PR:

Alexa: 1,376,564

备案号:

服务器IP: 64.62.153.213   美国 加利福尼亚州弗里蒙特市Hurricane Electric公司

描述: delphij's Chaos

查询: [ 网站综合查询 | PR查询 | Alexa排名 | 同IP网站 ]

详细介绍

delphij's Chaos选择chaos这个词是因为~~实在很难找到一个更合适的词来形容这儿了……clang优化器的一个问题By Xin LI on August 26, 2015 8:26 PM| 1 Comment| No TrackBackschar *strndup(const char *str, size_t n){size_t len;char *copy;len = strnlen(str, n);if ((copy = malloc(len + 1)) == NULL)return (NULL);memcpy(copy, str, len);copy[len] = '\0';return (copy);}char *strndup(const char *str, size_t maxlen){char *copy;size_t len;len = strnlen(str, maxlen);copy = malloc(len + 1);if (copy != NULL) {(void)memcpy(copy, str, len);copy[len] = '\0';}return copy;}Continue reading clang优化器的一个问题.还是得提高知识水平By Xin LI on July 28, 2015 3:09 PM| No Comments| No TrackBacksworld|base|/usr/bin/slogin|f|0|0|0555|0|3d4103fa290ca0dcd32fc1f9775e860a4bbf4af7e2be80e835217cd560cb100e|/usr/bin/slogin:libprivatessh.so.5 => /usr/lib/libprivatessh.so.5 (0x800849000)libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x800ada000)libcrypto.so.7 => /lib/libcrypto.so.7 (0x800ce3000)libc.so.7 => /lib/libc.so.7 (0x8010da000)libprivateldns.so.5 => /usr/lib/libprivateldns.so.5 (0x801482000)libcrypt.so.5 => /lib/libcrypt.so.5 (0x8016de000)libz.so.6 => /lib/libz.so.6 (0x8018fe000)4574 -r-xr-xr-x 2 root wheel 179000 Jul 19 00:19 /usr/bin/slogin4574 -r-xr-xr-x 2 root wheel 179000 Jul 19 00:19 /usr/bin/ssh关于闰秒By Xin LI on June 30, 2015 12:40 PM| 2 Comments| No TrackBacksOne week until the leap-second. If you haven't tested your IT-system already, it is too late now. Good luck if you're in California or Japan.Continue reading 关于闰秒.换了zshBy Xin LI on May 22, 2015 9:59 AM| 3 Comments| No TrackBacks$ ZSH=~/.oh-my-zsh$ git clone --depth=1 --branch=delphij-20150522 https://github.com/delphij/oh-my-zsh.git $ZSH$ cd $ZSH$ git tag --verify delphij-20150522# 以上复制一份tag过的 Oh My ZSH 并验证其签名。# 如果有之前的.zshrc请自行备份。$ cp $ZSH/templates/zshrc.zsh-template ~/.zshrc$ sed -i '' -e "/^export ZSH=/ c\\export ZSH=$ZSH
" ~/.zshrc
$ sed -i '' -e "/export PATH=/ c\\
export PATH=\"$PATH\"
" ~/.zshrc
# 以上使用模板覆盖.zshrc并复制已有的PATH配置。
chsh -s `which zsh`
# 将shell改为zsh
OpenBSD的spamd
By Xin LI on March 10, 2015 6:51 PM
| 1 Comment
| No TrackBacks
cut -f3 -d[ | cut -f1 -d] | grep -v : | sort | uniq -c | \
sort -n | awk '{ if ($1 > 20) print $2; }' | sort -n | \
xargs spamdb -a
苏局语录之今儿咱聊聊电梯的事儿......
By Xin LI on February 23, 2015 12:45 PM
| 1 Comment
| No TrackBacks
FreeBSD -CURRENT随机数发生器问题
By Xin LI on February 17, 2015 10:42 AM
| No Comments
| No TrackBacks
假设 3721 = x * y,其中x, y 均为整数,则 x+y 最大是多少?
By Xin LI on February 11, 2015 4:28 PM
| No Comments
| No TrackBacks
Continue reading 假设 3721 = x * y,其中x, y 均为整数,则 x+y 最大是多少?.
逗死我了......
By Xin LI on February 2, 2015 5:31 PM
| No Comments
| No TrackBacks
Continue reading 逗死我了.......
三星滚筒洗衣机门锁的更换
By Xin LI on December 18, 2014 9:37 PM
| No Comments
| No TrackBacks
The TIDE
By Xin LI on December 17, 2014 10:47 AM
| No Comments
| No TrackBacks

猜你喜欢