无聊
yzt356
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
如何用一行代码写Pow(x, n)
如何用一行代码写Pow(x, n)double pow(double x, int n) { return n==0?1:(n==2?x*x:(n%2?(n<0?1/x:x):1)*pow(pow(x, n/2), 2));};原创 2013-12-30 13:55:02 · 955 阅读 · 0 评论 -
Configuring git send-email to use Gmail SMTP
Firstly, apt-get install git-email.Then, add the correct configuration variables with the following:$ git config —global sendemail.smtpserver smtp.gmail.com$ git config —global sendemail原创 2014-03-04 09:41:50 · 2596 阅读 · 0 评论
分享