下图是Mathematica根据输入的方程式绘制出来的图形,如果家里有小孩让他们去玩这个软件或许可能激发他们学习数学的兴趣?
{#liuzhoou}
输入如下代码后按Shift+return:
ContourPlot3D[(x^2 + 9/4 y^2 + z^2 - 1)^3 - x^2 z^3 - 9/80 y^2 z^3 ==
0, {x, -1.5, 1.5}, {y, -2, 2}, {z, -1.5, 1.5},
PlotPoints -> {3, 3, 3}, Axes -> True,
ContourStyle -> {RGBColor[1, 0.4, 0.7]}]
推荐:matrix67的博客
May-28 17:41
livid的Project Picky是用的Mercurial做的版本控制,花点时间学习了下。
基本上和一直使用的git很像,同样的我为TextMate添加Mercurial.tmbundle
mkdir -p ~/Library/Application\ Support/TextMate/Bundles/
cd !$
git svn clone http://svn.textmate.org/trunk/Bundles/Mercurial.tmbundle/
osascript -e 'tell app "TextMate" to reload bundles'
打开TextMate 后使用 control+shift+m 组合键 调出 Mercurial 的快捷菜单
注意:如果你安装过ROR的bundles,在编辑yaml文件使用上述快捷键会与“Quick Migration”冲突,解决方法是在Bundle Editor中去除“Quick Migration”里Scope Selector的“source.yaml”字段
ext:
Mercurial中文教程
Shell prompt helper for Mercurial
TextMate Bundles
Jan-11 4:12
.DS_Store文件存储了Mac OS X系统中文件夹的特定元数据信息,如自定义图标,图标的位置,图标大小,窗口位置,列表视图,自定义背景图片或颜色等。
Mac OS X的Finder会使用它们,所以删除DS_Store文件,没有重大损害(除丢失的文件夹元数据),
但在特定的Windows+Mac共享的网络环境,删除这些文件是必要的
通过执行在终端以下命令可以阻止网络驱动器上出现.DS_Store文件
defaults
write com.apple.desktopservices DSDontWriteNetworkStores true
注销登录或执行终端命令后生效
$ killall Finder
Jan-6 2:45
推荐给还没有按坏Home键的朋友赶紧安装 mQuickDo 吧
下载
Jan-5 16:14
$ tail -f log/production.log
$ less +F log/production.log
基本上可见的书籍里都使用 tail -f 来实时查看日志,不过我们有更好的选择那就是 less +F 相对于 tail -f 的好处是:
对了,退出使用“q”.
Jan-5 5:59
很久没有用Blog了,一直都是用本地的MoinMoin来作笔记,再次为Livid的新作鼓掌^^!
Jan-5 3:42