随笔分类 -  Java、android

摘要:adb shell pm list packages找到要提取apk的包名 adb shell pm path 定位apk所在系统路径 adb pull /system/app/YouTube/YouTube.apk 阅读全文
posted @ 2021-07-31 20:26 ahuo 阅读(493) 评论(0) 推荐(0) 编辑
摘要:-Dspring.profiles.active="dev" --server.port=4444 阅读全文
posted @ 2020-04-20 15:55 ahuo 阅读(224) 评论(0) 推荐(0) 编辑
摘要:////IDC dump dex//// auto fp, dex_addr, end_addr; fp = fopen("F:\\dump.dex", "wb"); end_addr = r0 + r1; for ( dex_addr = r0; dex_addr < end_addr; dex_ 阅读全文
posted @ 2020-03-04 11:21 ahuo 阅读(1197) 评论(0) 推荐(0) 编辑
摘要:${project.basedir}/src/main/resources true static/layuiadmin/layui/font/** ${project.basedir}/src/main/resources false static/layuiadmin/layui/font/** ... 阅读全文
posted @ 2019-02-28 14:41 ahuo 阅读(486) 评论(0) 推荐(0) 编辑
摘要:1Setting -> build-compiler 勾选 Build project automatically选项 2 快捷键Ctrl + Shift + A查找registry命令: 在查找到的registry命令通过鼠标双击或敲回车键,在弹出的面板中搜索关键字automake, 找到并勾选 阅读全文
posted @ 2018-12-07 10:42 ahuo 阅读(4568) 评论(0) 推荐(0) 编辑
摘要:docker run -e "JAVA_OPTS=-Drocketmq.namesrv.addr=10.78.16.70:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false" -p 8080:8080 -t styletang/rocketmq-c 阅读全文
posted @ 2018-09-26 22:38 ahuo 阅读(184) 评论(0) 推荐(0) 编辑
摘要:$JDKPath$/bin/javah -jni -classpath $OutputPath$ -d $FileDir$ $FileClass$ $ProjectFileDir$ 阅读全文
posted @ 2018-09-16 10:39 ahuo 阅读(215) 评论(0) 推荐(0) 编辑
摘要:alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central 阅读全文
posted @ 2018-05-28 09:53 ahuo 阅读(306) 评论(0) 推荐(0) 编辑
摘要:@EnableAutoConfiguration 启动自动装载:使用了这个注解之后,所有引入的jar的starters都会被自动注入。这个类的设计就是为starter工作的。 @RestController 这个注解专门用于写RESTful的接口的,里面集成了@Controller和@Respons 阅读全文
posted @ 2018-01-24 21:33 ahuo 阅读(214) 评论(0) 推荐(0) 编辑
摘要:Date now = new Date(); Calendar cal1 = Calendar.getInstance(); cal1.setTime(now); // 将时分秒,毫秒域清零 cal1.set(Calendar.HOUR_OF_DAY, 0); cal1.set(Calendar.MINUTE, 0); cal1.set(Calendar.SECOND, 0); cal1.set... 阅读全文
posted @ 2018-01-11 09:51 ahuo 阅读(13842) 评论(0) 推荐(0) 编辑
摘要:1 2 3 阅读全文
posted @ 2017-11-14 11:05 ahuo 阅读(223) 评论(0) 推荐(0) 编辑
摘要:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org 阅读全文
posted @ 2017-09-29 10:34 ahuo 阅读(227) 评论(0) 推荐(0) 编辑
摘要:<insert id="insert" useGeneratedKeys="true" keyProperty="id" parameterType="db.TbuserWithBLOBs"> record.getId()就是新的ID 阅读全文
posted @ 2017-09-15 17:33 ahuo 阅读(135) 评论(0) 推荐(0) 编辑
摘要:Tbuser record = new Tbuser(); TbuserWithBLOBs bloBs = tbuserMapper.selectByPrimaryKey((long) 34); bloBs.setCardid("00000"); tbuserMapper.updateByPrimaryKeyWithBLOBs(bloBs); ... 阅读全文
posted @ 2017-09-13 10:13 ahuo 阅读(325) 评论(0) 推荐(0) 编辑
摘要:@RequestMapping(value = "/post",method = RequestMethod.POST) @ResponseBody String GPost(@RequestParam("img1") MultipartFile[] img1,@RequestParam("img2") MultipartFile[] img2) throws IOExcept... 阅读全文
posted @ 2017-09-11 17:37 ahuo 阅读(222) 评论(0) 推荐(0) 编辑
摘要:端口修改 java -jar demo.jar --server.port=8011 或 src\main\resources\application.properties server.port=8011 资源 优先级顺序为:META/resources > resources > static 阅读全文
posted @ 2017-09-07 09:52 ahuo 阅读(266) 评论(0) 推荐(0) 编辑
摘要:NDK开发的代码打印方式 #include <utils/CallStack.h> extern "C" void dumping_callstack(void);void dumping_callstack(void){ android::CallStack stack;stack.update( 阅读全文
posted @ 2017-08-04 17:59 ahuo 阅读(808) 评论(0) 推荐(0) 编辑
摘要:setprop persist.sys.usb.config webcamecho 0 > /sys/devices/virtual/android_usb/android0/enableecho "webcam" > /sys/class/android_usb/android0/function 阅读全文
posted @ 2017-08-02 16:29 ahuo 阅读(535) 评论(0) 推荐(0) 编辑
摘要:1) The kernel is V4L2 enabled, e.g.,CONFIG_VIDEO_DEV=yCONFIG_VIDEO_V4L2_COMMON=yCONFIG_VIDEO_MEDIA=yCONFIG_USB_VIDEO_CLASS=yCONFIG_V4L_USB_DRIVERS=yCO 阅读全文
posted @ 2017-03-08 23:24 ahuo 阅读(334) 评论(0) 推荐(0) 编辑
摘要:这样就可以 生成的是LIB 工程需要设置“Is Library” 阅读全文
posted @ 2016-11-22 16:52 ahuo 阅读(547) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示