logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

StrictMode检测内存泄漏

StrictModeAndroid 2.3(API Level 9) 提供了一个称为严苛模式(StrictMode)的调试特性,Google称该特性已经使数百个Android上的Google应用程序受益。那它都做了什么呢?它将报告与线程与虚拟机相关的策略违例。一旦检测到策略违例(policy violation),你将获得警告,其包含了一个栈trace显示你的应用在何处发生违例。你可以强制用警告代

Android adb 常用命令

Android开发环境安装好之后,需要将adb路径添加到环境变量(PATH)中,这样,就可以在命令行下直接使用adb命令了。需要注意的是,有的命令需要先进入手机的linux系统,然后才可以使用,即adb shell, …,这里称这种命令为shell命令。另外有的命令可以直接用adb 使用,这里称之为非shell命令。通常两者可以通用的,下面会分别列出这两种命令。常用非Shell命令连接相关adb

#adb
openssl常用命令 genpkey

openssl genpkeygenpkey用于生成一个私钥。命令格式:openssl genpkey [options]openssl genpkey [-help] [-out filename] [-outform PEM|DER] [-pass arg] [-cipher] [-engine id] [-paramfile file] [-algorithm alg] [-pkeyopt

Android Activity 启动模式

Android Activity 启动模式本文github地址:https://github.com/YoungBear/MyBlog/blob/master/ActivityLaunchMode.md说明,本文sample中使用的简写,launchMode分别为:standard在sample中用Activity A 来表示singleTop在sample中用Activity B

观察者模式

观察者模式  本文github地址:  https://github.com/YoungBear/MyBlog/blob/master/Observer.md  设计原则:为了交互对象之间的松耦合而努力。  观察者模式定义了对象之间的一对多依赖,这样一来,当一个对象改变状态是,它的所有依赖者都会收到通知并自动更新。  观察者模式是一个使用率非常高的模式,它最常使用的地方是GUI系统、订阅–发布系

AES 加解密算法Java实现

AES 加解密算法Java实现项目地址算法描述:AES:高级加密标准 Advanced Encryption Standard。/*** @author youngbear* @email youngbear@aliyun.com* @date 2021/8/8 9:34* @blog https://blog.csdn.net/next_second* @github https://githu

#密码学
二分查找

二分查找package com.ysx.common;/*** @author youngbear* @email youngbear@aliyun.com* @date 2019/12/25 22:00* @blog https://blog.csdn.net/next_second* @github https://github.com/YoungBear* @d...

GitHub API 学习笔记 Search API

HOST: https://api.github.comSearch ApiSearch Api官方文档地址Rate limit当使用Basic Authentication, OAuth, 或者 client ID and secret请求的时候,每分钟最多可以请求30次(30 requests per minute),如果没有认证的请求,则每分钟最多10次请求(10 requests per

#github
    共 11 条
  • 1
  • 2
  • 请选择