Android日志系统(logging system) 背景 不管是做Android应用还是做Android中间层和底层,在做一些调试工作的时候,使用adb logcat非常关键。特意学习了一下安卓的log系统。 adb logcat -v time -b all 原文(有删改)出处不详。 参考文档 ...
分类:
移动开发 时间:
2021-03-06 14:57:55
阅读次数:
0
Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we c ...
分类:
其他好文 时间:
2021-03-06 14:47:20
阅读次数:
0
For a radio button control, when hide selected status, we can use: .input__control::before { content: ""; width: 0.5em; height: 0.5em; // box-shadow w ...
分类:
Web程序 时间:
2021-03-06 14:44:13
阅读次数:
0
利用循环打印出三角形 public class Demo13 { public static void main(String[] args) { for (int i = 1; i <=5; i++) { for (int d = 5;d>=i;d--){ System.out.print(" " ...
分类:
编程语言 时间:
2021-03-06 14:31:15
阅读次数:
0
漏洞关键字 SQL注入: select insert update mysql_query mysqli等 文件上传: $_FILES,type="file",上传,move_upload_file()等 XSS跨站: print print_r echo sprintf die var_dump ...
分类:
其他好文 时间:
2021-03-06 14:12:18
阅读次数:
0
# -*- coding: utf-8 -*- """ File Name: conf.py Description : 读取当前文件上级目录conf 内hcs_conf.yaml的内容,返回yaml 对象 Author : jiaoyaxiong date: 2019/7/22 Change Ac ...
分类:
其他好文 时间:
2021-03-05 13:08:41
阅读次数:
0
一、反射单个程序集: 上面的方法讲的是反射AppDomain的所有程序集,我们可以显示的调用其中的一个程序集,system.reflecton.assembly类型提供了下面三种方法: 1、Load方法:极力推荐的一种方法,Load方法带有一个程序集标志并载入它,Load将引起CLR把策略应用到程序 ...
##多实例出现 充分的利用主机资源 拆分数据库,限制单个实例大小 资源隔离,减小相互影响 分担连接数 ##mysql配置文件读取 读取配置文件顺序: /etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf ~/.my.cnf --defau ...
分类:
数据库 时间:
2021-03-05 12:56:30
阅读次数:
0
File upload XSS Description This script is possibly vulnerable to XSS (Cross-site scripting). The web application allows file upload and Acunetix was ...
分类:
其他好文 时间:
2021-03-04 13:34:27
阅读次数:
0
今天无聊,用php封装了一套比较简单的http请求类 细节方面可以再优化 class Creeper { public $url; public $header; public $text; public $responseHeader; public function __construct($u ...
分类:
Web程序 时间:
2021-03-04 13:21:20
阅读次数:
0