python计算
摘要:线性回归from scipy import statsimport numpy as npx = np.random.random(10)y = np.random.random(10)slope, intercept, r_value, p_value, std_err = stats.linregress(x,y)# slope 斜率# intercept 截距
阅读全文
posted @
2013-08-30 19:18
maxc01
阅读(255)
推荐(0)
Using True Type Fonts in XTerm
摘要:I’ve not had to use TrueType fonts before as my desktop display resolution never warranted it.Now with eyesight failing and much better monitors, I decided to give them a go.Fonts are globally managed by settings in/etc/X11/app-defaults. However, TrueType fonts can be locally set using ~/.Xresources
阅读全文
posted @
2013-08-19 17:19
maxc01
阅读(318)
推荐(0)
emacs
摘要:换行Emacs当中有四种方式进行自动换行:1.当一个行的长度超过窗口的宽度的时候,Emacs会默认换行内,缓冲区的文本不会发生变化。但是换行可能会截断word。2.AutoFillMode模式在行宽度未超过fill-column的最后一个单词之后会插入一个行结束符。3.LongLines模式会在行宽度未超过fill-column的最后一个单词前面换行,但不会改变缓冲区文本。它只是在外观显示效果上进行换行。4.VisualLineMode模式在窗口的边缘换行,但是也不会修改缓冲区文本内容,该模式只是在外观显示效果上进行换行。不会截断单词。当你的键入字符的长度超过一个规定的列数(fill-colu
阅读全文
posted @
2013-08-07 14:55
maxc01
阅读(507)
推荐(0)