启动mysql时,需要指定此实例的配置文件:/bin/sh${CmdPath}/mysqld_safe--defaults-file=/data/${port}/my.cnf2>&1>/dev/null&${CmdPath}:mysql的路径${port}:此mysql实例的端口关闭mysql时,需要指定此mysql的socket:${CmdPath}/mysqladmin-u${mysql_user}-..
分类:
数据库 时间:
2016-05-10 11:10:07
阅读次数:
169
为了解决通信中的安全问题(http://drops.wooyun.org/papers/548) 替换addJavascriptInterface 方法。 safe-java-js-webview-bridge 参考:http://www.pedant.cn/2014/07/04/webview-j ...
分类:
移动开发 时间:
2016-05-09 15:54:35
阅读次数:
397
有好几次,启动Hadoop和HBase之后,执行jps命令,已经看到有HMaster的进程, 但是进入到HBase的shell,执行一个命令,会出现下面的错误: 进入到logs目录查看master的日志:发现一直显示下面的内容: 原来是Hadoop在刚启动的时候,还处在安全模式造成的。 可等Hado ...
分类:
其他好文 时间:
2016-05-08 16:57:31
阅读次数:
1069
数据库启动:先找参数文件,然后启动 启动数据库: [root@mysql_6 ~]# mysqld_safe --defaults-file=/etc/my.cnf & [1] 23404 [root@mysql_6 ~]# 160409 17:41:48 mysqld_safe Logging t ...
分类:
数据库 时间:
2016-05-08 16:37:28
阅读次数:
272
When calling an instance method like withdraw_securely, the syntax generally looks something like this: One would therefore think it’s safe to assume ...
分类:
其他好文 时间:
2016-05-07 22:21:23
阅读次数:
285
前言
Type-safe HTTP client for Android and Java by Square, Inc.
官网:http://square.github.io/retrofit/API:http://square.github.io/retrofit/2.x/retrofit/参考:http://gank.io/post/56e80c2c677659311bed9841...
分类:
其他好文 时间:
2016-05-07 07:40:51
阅读次数:
250
主要介绍总结的Android开发中常用的工具类,大部分同样适用于Java。 目前包括 HttpUtils、DownloadManagerPro、Safe.ijiami、ShellUtils、PackageUtils、PreferencesUtils、JSONUtils、FileUtils、Resou ...
分类:
移动开发 时间:
2016-05-06 09:18:43
阅读次数:
165
一.下载安装jemalloc 二.在mysqld_safe文件中导入 # executing mysqld_safe #jemallocexport LD_PRELOAD=/usr/local/jemalloc/lib/libjemalloc.so 三.查看是否导入成功 ...
分类:
数据库 时间:
2016-05-03 20:27:38
阅读次数:
282
1. 类型安全和类型推测 1> 类型安全 Swift 是一个 _类型安全(type safe)_ 的语言。类型安全的语言可以让你清楚地知道代码要处理的值的类型。如果你的代码需要一个`String`,你绝对不可能不小心传进去一个`Int`。 由于 Swift 是类型安全的,所以它会在编译你的代码时进行 ...
分类:
编程语言 时间:
2016-05-01 17:36:17
阅读次数:
209
一、启动与关闭 1.1 Linux下启动mysql 的命令: a. rpm包安装:service mysqld start b. 源码包安装:/usr/local/mysql/bin/mysqld_safe --user=mysql & 1.2 Linux下重启mysql 的命令: a. rpm包安 ...
分类:
数据库 时间:
2016-05-01 11:01:44
阅读次数:
407