Changkun's Blog

Science and art, life in between.


  • Home

  • Ideas

  • Archives

  • Tags

  • Bio

Mac下新安装的MySQL无法登陆root用户解决方法

Published at: 2014-05-18   |   Reading: 633 words ~2min
也不知是何原因,新安装好的MySQL,如果尝试用mysql -u root -p登陆就会出现这样的错误,但是root用户根本就没有设置密码。 1 ERROR 1045 (28000): Access denied for
Read More »

Matlab 2013a for Mac 帮助文档卡死解决方案

Published at: 2014-04-28   |   Reading: 135 words ~1min
有两种方法,不过都有自己的缺点。 方法1: R2013a在命令窗口中输入: 1 com.mathworks.mlwidgets.html.HtmlComponentFactory.setBrowserProperty('JxBrowser.BrowserType','Mozilla15'); 缺点:会使得Menubar菜单消失。 如果想还原运行的上面命令: 1 com.mathworks.mlwidgets.html.HtmlComponentFactory.setBrowserProperty('JxBrowser.BrowserType','Safari');
Read More »

Put color on Mac terminal

Published at: 2014-04-22   |   Reading: 734 words ~2min
Mac中的ls命令可以使用-G参数彩色化输出的文件列表,需要配置LSCOLORS环境变量定义颜色,具体配置方法可以输入man ls查看。 不过,
Read More »

论文都是逼出来的

Published at: 2014-04-04   |   Reading: 739 words ~2min
美赛成绩出来了,应该算是相比去年来说算是进步了很多吧。 去年苦逼的只拿到了Successfully Participation,今年查到成绩的时
Read More »

Python QuickStart

Published at: 2014-03-27   |   Reading: 200 words ~1min
Python Version: 2.7 We use python for rapid development. Mainly using the matrix operations, so we quickly introduce python collection type and control structure. List 1 2 3 4 >>> wow=[] >>> wow.append(1) >>> wow.append('nice hat') >>> wow python has arryay data type, which similar to c/cpp/java/…, can contain only one type of data. This array type is faster than list when you are looping. Dicthinaries 1 2 3 4 >>> wow={} >>> wow['name']='euryugasaki' >>> wow[123]=456 >>> wow Set 1 2 3 4 5 6 7 8 >>> Set1 = [1,2,3,4,5,6,7,8,9] >>> pSet1 = set(Set1) >>> pSet1 >>> pSet2 = set([4,5,6,7]) >>> pSet2 >>> pSet1-pSet2 >>> pSet1|pSet2 >>> pSet1&pSet2 if 1 2 3 4 5 >>> val=10 >>> if val<9: print "hehe" >>> if val<9: .
Read More »
21 22 23 24 25 26 27 28 29
Changkun Ou

Changkun Ou

Stop Talking. Just Coding.

276 Blogs
165 Tags
RSS
Homepage GitHub Email YouTube Twitter Zhihu
Friends
    Frimin ZZZero march1993 qcrao maiyang Xargin Muniao
© 2008 - 2024 Changkun Ou. All rights reserved. | PV/UV: /
0%