/** * 获得用户的真实IP地址 * * @access public * @return string */if (!function_exists('get_real_ip')){ function get_real_ip() { static $realip = NULL; if ($rea ...
分类:
其他好文 时间:
2018-11-05 12:51:39
阅读次数:
110
常用属性 id:控件唯一属性 android:id="@+id/ll_1" layout_width:宽度 layout_height:高度 android:layout_width="300dp" 固定宽度和高度 android:layout_height="300dp" android:layo ...
分类:
其他好文 时间:
2018-11-05 11:17:13
阅读次数:
156
查询一条记录curl -H "Content-Type: application/json" -X POST 'http://192.168.1.1:9200/swift-nginx-2018.08.31/_search?pretty' -d '{"query": { "match_all": {} ...
分类:
编程语言 时间:
2018-11-05 11:13:57
阅读次数:
188
日常运维中,经常会遇到需要绑定好的执行计划的场景。 简单来说,就是将一个sql_id绑定好的plan_hash_value。如果没有使用到绑定变量,还需要把froce_match设置为true。 用到的是MOS文档215187.1提供的系列脚本中的coe_xfr_sql_profile.sql。 下 ...
分类:
数据库 时间:
2018-11-05 01:13:11
阅读次数:
179
不去修改程序文件,用标签和正则直接在内容页模板里直接输出上一篇下一篇的链接和标题和没有上一篇下一篇的提示文字 ...
分类:
移动开发 时间:
2018-11-04 19:16:34
阅读次数:
176
我从github下载了一个开源项目后,导入到自己Eclipse之后,遇到了这个烦人的错误消息: The declared package "com.sap.smartService" does not match the expected package "main.java.com.sap.sma ...
分类:
系统相关 时间:
2018-11-04 14:17:13
阅读次数:
445
例如: 字符串:RGFqaURhbGlfSmlud2FuQ2hpamk= 首先要知道什么是Base64加密?就是Base64是怎么加密的? Base64编码是从二进制到字符的过程,可用于在HTTP环境下传递较长的标识信息 至于Base64是怎么加密的? 看一个简单的例子: 转前: s 1 3 先转成 ...
分类:
其他好文 时间:
2018-11-04 01:49:45
阅读次数:
362
错误提示:Unable to create Debug Bridge: Unable to start adb server: adb server version (32) doesn't match this client (40) 错误原因:有已经运行的adb,端口被占用了。 解决方法:Ctr ...
分类:
移动开发 时间:
2018-11-03 19:18:54
阅读次数:
392
input { file { path => '/data/rsyslog/*/*/*.log' start_position => 'beginning' sincedb_path => '/data/rsyslog/sincedb/.db' } } filter { grok { match =... ...
分类:
其他好文 时间:
2018-11-03 10:27:57
阅读次数:
191
<?phpclass mobile{function getPhoneNumber(){if (isset($_SERVER['HTTP_X_NETWORK_INFO'])){$str1 = $_SERVER['HTTP_X_NETWORK_INFO'];$getstr1 = preg_replac ...
分类:
移动开发 时间:
2018-11-02 21:47:59
阅读次数:
268