The post demonstrates how to build replication environment with 2 new MySQL servers which are running on 64-bit Ubuntu 14.04 LTS machines.Master: {MyS...
                            
                            
                                分类:
数据库   时间:
2014-12-19 21:57:51   
                                阅读次数:
240
                             
                    
                        
                            
                            
                                文件夹锁定(Source)private void Lock(string folderPath){ try { string adminUserName = Environment.UserName;// getting your adminUserName DirectorySecurity d...
                            
                            
                                分类:
其他好文   时间:
2014-12-16 19:03:34   
                                阅读次数:
133
                             
                    
                        
                            
                            
                                1 <?php 2 3 /* 设定环境 */ 4 define('ENVIRONMENT', 'development'); 5 6 if (defined('ENVIRONMENT')) 7 { 8 switch (ENVIRONMENT) 9 {10 cas...
                            
                            
                                分类:
Web程序   时间:
2014-12-16 18:57:58   
                                阅读次数:
179
                             
                    
                        
                            
                            
                                On a recent assignment, I needed to install npm behind a corporate proxy. I had already set the environment variables HTTP_PROXY and HTTPS_PROXY. Other command line utilities, like ruby gems, recog...
                            
                            
                                分类:
其他好文   时间:
2014-12-16 13:40:44   
                                阅读次数:
169
                             
                    
                        
                            
                            
                                花了一天多的时间,终于把Android开发环境搭建出来了。现在稍作总结。
  android开发环境的搭建有四部曲,JDK-IDE-ADT-SDK。
  需要以下工具:
  JDK:Java Development Kit.因为android应用层的程序是使用java语言编写的,所以JDK是必备的工具;
  IDE:integrated development environment. I...
                            
                            
                                分类:
移动开发   时间:
2014-12-15 23:37:21   
                                阅读次数:
262
                             
                    
                        
                            
                            
                                GConf was a system used by the
GNOME desktop environment for storing
configuration settings for the desktop and 
applications. It is similar to the 
Windows Registry.
Gconf是一个存储GNOME桌面环境配置的一个...
                            
                            
                                分类:
其他好文   时间:
2014-12-11 20:57:24   
                                阅读次数:
282
                             
                    
                        
                            
                            
                                JavaScript Host Environment
[最近在upgradeQt4->Qt5的时候遇到一些JS的问题, 这个文档很好地解释了其中的变化;]
http://qt-project.org/doc/qt-5/qtqml-javascript-hostenvironment.html 
?
QML提供了一个裁剪过的JavaScript Host Environ...
                            
                            
                                分类:
编程语言   时间:
2014-12-11 14:08:43   
                                阅读次数:
277
                             
                    
                        
                            
                            
                                Linux系统结构 用户接口: X Window: (一套协议) 分类: KDE( Kool Desktop Environment) GNOME( The GNU Network Object Model Environment) Shell: 用户与内核进行交互操作的接口,命令解释器(解释命令并...
                            
                            
                                分类:
系统相关   时间:
2014-12-11 12:11:31   
                                阅读次数:
252
                             
                    
                        
                            
                            
                                //1.采用NV21格式 YuvImage类进行保存   效率很高
String fileName = "IMG_"
       + String.valueOf(index) + ".jpg";
File sdRoot = Environment.getExternalStorageDirectory();
String dir = "/picture/";
File mkDir = new ...
                            
                            
                                分类:
移动开发   时间:
2014-12-11 00:24:21   
                                阅读次数:
270
                             
                    
                        
                            
                            
                                /** 得到系统可用内存 **/
	@SuppressLint("NewApi")
	private String getMemFree(){
		StatFs fs = new StatFs(Environment.getDataDirectory().getPath());
		return Formatter.formatFileSize(this, (fs.getAvailableByte...
                            
                            
                                分类:
移动开发   时间:
2014-12-09 17:54:23   
                                阅读次数:
204