MySQL Workbench
    
            
摘要:【MySQL Workbench】 1、中央按钮是配置table,最右侧按钮是查看table。分别对应于右键菜单的Alter Table和Select Rows选项。 2、查询与插入数据视图有以下几种状态。 1)Result Grid。按表格显示所有数据 。 2)Form Editor。编辑某一行数
        
阅读全文
摘要:【The CHAR and VARCHAR Types】 The CHAR and VARCHAR types are declared with a length that indicates the maximum number of characters you want to store. 
        
阅读全文
摘要:【MySQL Keynote】 1、Keywords may be entered in any lettercase. The following queries are equivalent: 2、Here is another query. It demonstrates that you c
        
阅读全文
摘要:【express 中间件】 中间件(Middleware) 是一个函数,它可以访问请求对象(request object (req)), 响应对象(response object (res)), 和 web 应用中处于请求-响应循环流程中的中间件,一般被命名为 next 的变量。 1、应用级中间件 
        
阅读全文
摘要:【app.route()】 可使用 app.route() 创建路由路径的链式路由句柄。由于路径在一个地方指定,这样做有助于创建模块化的路由,而且减少了代码冗余和拼写错误。请参考 Router() 文档 了解更多有关路由的信息。 下面这个示例程序使用 app.route() 定义了链式路由句柄。 参
        
阅读全文
摘要:【app.use】 app.use([path,] function [, function...]) Mounting a middleware at a path will cause the middleware function to be executed whenever the bas
        
阅读全文
摘要:【利用 Express 托管静态文件】 通过 Express 内置的 express.static 可以方便地托管静态文件,例如图片、CSS、JavaScript 文件等。 将静态资源文件所在的目录作为参数传递给 express.static 中间件就可以提供静态资源文件的访问了。例如,假设在 pu
        
阅读全文
摘要:【==与 】 ==, 两边值类型不同的时候,要先进行类型转换,再比较。 ,不做类型转换,类型不同的一定不等。 参考:http://relucent.iteye.com/blog/835521
        
阅读全文
摘要:【Debug模块】 一个用于控制日志输出的模块。 参考: 1、http://www.jianshu.com/p/6b9833748f36 2、https://www.npmjs.com/package/debug
        
阅读全文
摘要:【Node KeyNote】 1、实际上,.node文件在windows下它是一个.dll文件,在*nix下则是一个.so文件。 2、默认变量 function(exports, require, module, __filename, __dirname){ } 3、通过dlopen()方法加载.
        
阅读全文
摘要:【javascript中所有函数的参数都是按值传递的】 参考:http://www.jb51.net/article/89297.htm
        
阅读全文
摘要:【LayoutInflater】 参考:http://blog.csdn.net/guolin_blog/article/details/12921889
        
阅读全文
摘要:【CircleImageView of Android】 github上有一个开源的圆角图片项目。地址:https://github.com/hdodenhof/CircleImageView 使用分两步: 1、配置依赖。 2、在Layout中加入CircleImageView
        
阅读全文
摘要:【layout_weight 全解析】 参考:http://www.cnblogs.com/net168/p/4227144.html
        
阅读全文
摘要:【 去掉Android新建项目的顶部标题】 使用NoActionBar的Theme即可。 参考:http://blog.csdn.net/u012246458/article/details/52997727
        
阅读全文
摘要:安装app到真机,遇到 Failure [INSTALL_CANCELED_BY_USER] 错误。 解决方法:将手机的USB安装权限打开即可。设置->更多设置->开发者选项->USB安装。
        
阅读全文
摘要:【Multiple APK Support】 Multiple APK support is a feature on Google Play that allows you to publish different APKs for your application that are each t
        
阅读全文
摘要:【Gradle with Android】 The Android Studio build system is based on Gradle, and the Android plugin for Gradle adds several features that are specific to
        
阅读全文
摘要:【ActionBar】 The ActionBar APIs were first added in Android 3.0 (API level 11) but they are also available in the Support Library for compatibility wit
        
阅读全文
摘要:【What is API Level?】 参考:http://android.xsoftlab.net/guide/topics/manifest/uses-sdk-element.html#ApiLevels
        
阅读全文
摘要:【protobuf】 1、下载页 https://github.com/google/protobuf/releases 2、支持的语言 C++ Java Python PHP Objective-C Javascript Ruby C# 3、入口 https://github.com/google
        
阅读全文
摘要:【Alpha、Beta、RC、GA版本的区别】 参考:http://www.blogjava.net/RomulusW/archive/2008/05/04/197985.html
        
阅读全文
摘要:【convertView】 BaseAdapter适配器里有个getView()需要重写public View getView(int position,View converView,ViewGroup parent){ //省略。。}请问这个方法的三个参数是什么意思? 参考:https://zh
        
阅读全文
摘要:【Layouts】 Each layout file must contain exactly one root element, which must be a View or ViewGroup object. After you've declared your layout in XML, 
        
阅读全文
摘要:【Styles and Themes】 A 样式 is a collection of properties that specify the look and format for a View or window. A style can specify properties such as h
        
阅读全文
摘要:【Android Studio】 1、Ctrl+N:打开class Shift+Ctrl+N:打开file 2、通过Alt+F7,寻找class、method、variable引用 3、Ctrl+Q:快速查看class、method的文档 4、Ctrl+B:跳转到定义。或者 Ctrl+鼠标。 5、C
        
阅读全文
摘要:【Promise.race】 返回最先完成的promise https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race
        
阅读全文
摘要:【Base64】 如果一个字符串末尾有'=',则很大概率这个字符串是Base64编码。 http://blog.csdn.net/xuefeng0707/article/details/19845111
        
阅读全文
摘要:【NodeJS搭建HTTPS服务器】 1、创建服务端证书。 服务器代码: 2、创建客户端证书。 客户端代码: 参考: 1、http://cnodejs.org/topic/54745ac22804a0997d38b32d
        
阅读全文
摘要:【CoreSeek】 CoreSeek有两个核心模块Indexer和Search。 Indexer:负责从MySQL拉取数据源,把数据源分词,建立索引。 Search:搜索模块。 CoreSeek工作流程如下: 1)Indexer模块从MySQL中拉取数据。 2)Indexer模块用经过中文分词后的
        
阅读全文