码迷,mamicode.com
首页 >  
搜索关键字:shared preferences    ( 5663个结果
Eclipse自动生成作者、日期注释等功能设置
我们在使用Eclipse 编写Java代码时,自动生成的注释信息都是按照预先设置好的格式生成的。修改作者、日期注释格式:打开Windows->Preferences->Java->Code Style->Code Templates,点击右边窗口中的Comments,可以看到有很多选项,我们便可对此...
分类:系统相关   时间:2015-02-06 11:05:57    阅读次数:190
boost shared_ptr
文档:http://www.boost.org/doc/libs/1_57_0/libs/smart_ptr/shared_ptr.htmIntroductionTheshared_ptrclass template stores a pointer to a dynamically allocat...
分类:其他好文   时间:2015-02-05 18:16:23    阅读次数:238
MySQL Workbench 查询超时time out(Lost Connection)解决方案
在使用MySQL Workbench查询时,如果查询语句或表过于复杂,查询时间过长(一般600s),此时会报Lost Connection错误。 其实,此时所执行的查询语句依然在执行,只是页面显示超时而已。 如果想要修改time out的时间,可在Edit->Preferences->SQL Editor中修改: 从图中可以看出默认时间是600s,把这个值改大一些就行了。...
分类:数据库   时间:2015-02-05 15:03:58    阅读次数:231
eclipse最合适设置的字体-Courier New
新版本的eclipse editor默认字体,英文看起来还算顺眼,中文注释就小得不得了。 改成Courier New, 看起来最顺眼。 window ->preferences -> General -> Appearance -> Color and Fonts -> ?Basic -> Text Font...
分类:系统相关   时间:2015-02-05 11:42:10    阅读次数:214
mysql存储引擎memory,ndb,innodb之选择
1 mysql的innodb和cluster的NDB引擎都支持事务,在有共同的特性外,也有不同之处: 以mysql cluster NDB 7.3和MySQL 5.6之InnoDB为例: ndb7.3基于mysql5.6,包括支持innodb1.1,因此可以在cluster里使用innodb表,但这些表不是集群的。 MySQL Cluster NDB存储引擎用分布式, shared-not...
分类:数据库   时间:2015-02-04 16:46:00    阅读次数:253
free
free查看内存使用状况[root@localhost ~]# free total used free shared buffers cachedMem: 326616 137332 189284 ...
分类:其他好文   时间:2015-02-04 16:13:56    阅读次数:117
【二叉树】求二叉树中节点的最大距离
题目:《编程之美》P241 提示:利用动态规划的思想,保存每次循环所计算出来的数据,可以避免重复计算 class treenode { public: int data; shared_ptr left,right; treenode(int d,const shared_ptr &l,const shared_ptr &r):data(d),left(l),right(r){}...
分类:其他好文   时间:2015-02-04 14:42:16    阅读次数:112
winscp配置
WinSCPInstall and runWinSCPGo to Preferences (Ctrl+Alt+P) and click on Transfer, then on Add. Name the preset.Set the transfer mode to binary (you don...
分类:Windows程序   时间:2015-02-04 10:55:53    阅读次数:185
关于Sublime Text 2/3的一些使用技巧
关闭 Sublime Text 2/3 的自动更新: 方法:在“首选项-->用户设置”里面添加 "update_check": false 代码,然后保存即可。(英文版是 Preferences→Settings→User)。 注意:为了确保程序不奔溃报错,请务必在?...
分类:其他好文   时间:2015-02-04 00:53:51    阅读次数:131
xcode 插件管理包Alcatraz
安装curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh卸载rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/P...
分类:其他好文   时间:2015-02-03 19:06:22    阅读次数:146
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!