摘要:
先从官网下载dmg文件,然后安装。 然后打开终端,输入: 切换进入mysql的文件夹,然后: 然后输入密码后终端提示: 视为安装成功。 阅读全文
摘要:
发现在《算法4》里,java的命令行配置比较麻烦,我找到一个好方法,就是直接把unjar出来的class文件放到源代码同一目录下就是了! 这样就可以解决jar包依赖问题。 阅读全文
摘要:
在C#,继承类里,如果有和父类一样的方法,有两种办法可以做到,即override和new。 他们的区别在于: new出来的方法,无法使用多态! 代码: 输出为horse breathe 但是如果把horse的breathe方法改成new,结果就是mammal breathe,即父类不认子类继承的br 阅读全文
摘要:
http://msdn.microsoft.com/en-us/library/x3eht538.aspx办法如上选择你要的main所在类即可还有就是默认空工程是命令行启动(即使是做win程序)如果要改变成windows窗口启动,就要这样改 阅读全文
摘要:
st2:import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib 阅读全文
摘要:
arduino的11,12口连out1,out2;5v连L298的5v,4节电池正极接arduino的vin,和L298的vccarduino,L298,电池共地测试下来电源5.2v如果out1,2不接电机,有5.02v如果接了电机,有1.98v。 阅读全文
摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using Autodesk.AutoCAD.ApplicationServices; 7 using Autodesk.AutoCAD.EditorInput; 8 using Autodesk.AutoCAD.Runtime; 9 10 namespace test11 {12 13 public class Class114 ... 阅读全文