- 博客(206)
- 资源 (24)
- 收藏
- 关注
原创 海康摄像头插件嵌入iframe时视频播放插件位置问题
参考:https://juejin.cn/post/6857670423971758094。原因:没有按照iframe相对位置计算视频插件位置。
2024-04-01 15:14:50 341
原创 AndroidX使用Paho MQTT报找不到android/support/v4/content/LocalBroadcastManager
直接自己创建这个类,把androidx.localbroadcastmanager.content.LocalBroadcastManager改改就行。网上有直接引用support-v4包的,但我用的AndroidX,不能为这个类再引用support-v4。虽然奇葩但能解决问题。
2023-10-19 16:24:10 451 1
原创 百度地图个性化地图失效问题
静态加载需要windows.onload中设置map.setMapStyleV2,才能生效,还有一个说法是等map.centerAndZoom,感觉是不用的。WebGL 版本的引用(当前为 1.0 版本):http://api.map.baidu.com/api?设置了BMAP_SATELLITE_MAP后就不会显示个性化地图了,我也是这个问题引起的,找了半天,对比代码才找到,特此记录一下。传统版本的引用(以 2.0 版本为例):http://api.map.baidu.com/api?
2023-09-20 09:32:53 550 1
原创 逻辑分析仪分析NEC协议和USART
HS0038B 这个红外一体化接收头,当收到有载波的信号的时候,会输出一个低电平,空闲的时候会输出高电平。command: 10100010 高低位反转 => 01000101 => 0x45。这里主要学习使用逻辑分析仪,记录一下。这张图也不错,拿来用。
2023-07-24 22:08:36 253
原创 USBee AX逻辑分析仪修改USB设备PID和VID
淘宝上20几块的一逻辑分析仪,自代软件是USBee AX Pro,不好用。按https://vandersonpc.com/repro-usbee-ax/这里提供方法修改PID, VID,可就以使用saleae和plusView,需要Linux环境,改完之后可以MacOS, Windows, Linux使用,因为改的是EEPROM。Bilibili上有哥们拆下来用编程器改的也可以用。查看内容,下面a9 08 14 00是VID和PID。重新插拨USB,就可以看修改后PID,VID了。
2023-07-24 11:54:07 1029
原创 STM32 Mac开发环境Clion+STM32CubeMX+ST-Link-V2
也不知道什么时候买的stm32板吃灰太久,不会玩,环境之前都没搞定,今天又折腾一天终于可以点灯了。
2023-07-09 20:12:04 1185 3
原创 ThreeJs CSS3DObject 点击失效问题
想实现一个在选中物体,弹出菜单,结果发现,点击会失效。之前绑定在dom中click事件不会触发。Google了一下,找到解决方法。
2023-07-04 09:10:28 1233 4
原创 Error Domain=NSCocoaErrorDomain Code=3840 "No value."
2017-12-08 17:25:15.931 xcodebuild[43842:255283] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '~/Library/Application Support/Devel...
2017-12-08 17:26:16 1024 1
原创 是不是后门
07-01 09:57:40.471 6046-6050/? D/dalvikvm: GC_CONCURRENT freed 660K, 19% free 7900K/9660K, paused 2ms+65ms, total 90ms07-01 09:57:40.476 6046-6876/? I/是否提交了》》》》: 提交出错了: ...
2016-07-01 10:01:30 164
原创 RCTAsyncLocalStorage.multiGet() not found
2016-05-17 14:08:45.533 [info][tid:com.facebook.React.JavaScript][RCTJSCProfiler.m:63] JSC profiler is not supported.2016-05-17 14:08:47.593 D2PAPP[20157:172592] register weixin: 2016-05-17 14:08...
2016-05-17 14:12:46 493
原创 React Native StackOverflowError
### Crash日志```Process: com.apex.livebos.stock, PID: 26510java.lang.StackOverflowErrorat android.text.MeasuredText.addStyleRun(MeasuredText.java:172)at android.text.MeasuredText.addStyleRun(...
2016-04-11 13:58:46 210
原创 spring mvc fastjson 循环引用问题$ref':xxx
$ref':xxx <!--fastJson注入深度解析引用对象--><bean id="disableCircularReferenceDetect" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"> <property name="sta...
2016-03-07 17:10:22 319 1
原创 Mac软件分享
mysql-5.7.10-osx10.10-x86_64.dmg http://pan.baidu.com/s/1eRd7GOU mysql-workbench-community-6.3.6-osx-x86_64.dmghttp://pan.baidu.com/s/1o7p2FN0 jdk-8u40-macosx-x64.1427945120.dmghttp://p...
2015-12-25 17:08:37 148
原创 mac oracle sql developer 4.1 打不开问题
oracle官网下的 sqldeveloper-4.1.2.20.64-macosx.app 打不开, 网上说要改java home, 但我的环境变量已经有java home了 > echo $JAVA_HOME/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home &...
2015-12-23 16:57:15 765
原创 Linux React-Native Android开发环境搭建
参考:http://wiki.jikexueyuan.com/project/react-native/GettingStarted.html1. 安装nvm参考:https://github.com/creationix/nvm#installationwget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/insta...
2015-11-15 17:34:52 178
原创 Android 汉字转拼音
推荐使用第3种方法: 1. 方法1:publicclassFirstLetterUtil{privatestaticint BEGIN =45217;privatestaticint END =63486;// 按照声母表示,这个表是在GB2312中的出现的第一个汉字,也就是说“啊”是代表首字母a的第一个汉字。// i, u, v都不做声母, 自定规则跟随前面的...
2015-09-05 21:18:00 261
原创 mvn命令
*************************************************************************************************************************************************************************mvnDebug compile tomcat:run -Dm...
2015-07-25 21:10:34 125
原创 Cryptographic Code
<!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> </o:OfficeDocumentSettings></xml><![endif]--><!--[if gte mso 9]>&
2015-04-22 15:14:50 125
原创 Assigning a Meeting Room
In our company, there is a popular meeting room. Many meetings are reserved to use this room with starting time and finishing time, and the place can’t hold two meetings at the same time if the time ...
2015-04-20 17:46:32 144
原创 Tizen开发
EFL动画相关:https://developer.tizen.org/zh-hans/documentation/guides/native-application/ui/event-and-effect/animation-and-effect-types?langredirect=1#evas_map_animationhttps://developer.tizen.org/zh...
2015-04-12 23:10:37 343
原创 openwrt 收集
**********************************************************************************http://wiki.openwrt.org/doc/howto/buildroot.exigencehttp://blog.csdn.net/sdvch/article/details/16343011https://y...
2015-04-07 22:42:02 182
原创 Progress Bak设置前景色和背景色
新建一个drawable.xml文件<?xml version="1.0" encoding="UTF-8"?><layer-list xmlns:android="http://schemas.android.com/apk/res/android" > <!-- 设置背景色(黑色) --> <item and
2015-03-16 19:59:13 194
原创 androidpn client报错
03-02 09:04:36.153: D/dalvikvm(1014): Not late-enabling CheckJNI (already on)03-02 09:04:36.583: I/dalvikvm(1014): CheckJNI enabled: not enabling JNI app bug workarounds.03-02 09:04:38.003:...
2015-03-02 22:15:34 256
原创 百度地图 android 定位Demo
1. 下载定位包,下载选中基础地图和定位,没有选中不包含相应功能! 如果只需要定位就只选中定位下载。2. 导入, 记得.so也要一起导入。3. <application中加入,记得service一定要加,不加不能定位。 <service android:name="com.baidu.location.f" andr...
2015-03-02 16:33:55 176
原创 Android share绘制虚线在手机上显示实线问题
可以说这是一个Bug, 据说在4.0以上机器会出现,我测试是android 4.4.2<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line" >
2015-02-27 16:09:01 214
原创 adt-bundle 安装ADT-23.0.4.zip插件(未解决)
安装了ADT 22.3.0eclipse直接安装报错: Cannot complete the install because of a conflicting dependency. Software being installed: Android Hierarchy Viewer 23.0.4.1468518 (com.android.ide.eclipse.hierarchy...
2015-01-27 17:58:20 226
原创 Android 优化
Android性能优化典范http://hukai.me/android-performance-patterns/https://www.youtube.com/watch?v=HXQhu6qfTVU&list=PLWz5rJ2EKKc9CBxr3BVjPTPoDPLdPIFCE&index=1https://www.youtube.com/watch?v=T52v50r-JfE...
2015-01-26 15:40:44 84
原创 Android Touch事件传递机制
http://www.trinea.cn/android/touch-event-delivery-mechanism/
2015-01-23 18:16:58 58
原创 Android NetworkImageView点击查看大图 自定义属性
package com.xxx/** * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
2015-01-20 14:06:40 142
原创 WR340G+ DD WRT open WRT UBnT
http://forum.anywlan.com/thread-122976-1-1.html http://www.picv.org/post/83.html
2015-01-17 23:02:47 494
原创 开源镜像站-Androd镜像 - SDK更新
http://android-mirror.bugly.qq.com:8080/include/usage.html Android SDK在线更新镜像服务器中国科学院开源协会镜像站地址:IPV4/IPV6: http://mirrors.opencas.cn 端口:80IPV4/IPV6: http://mirrors.opencas.org 端口:8...
2015-01-14 21:41:58 543
原创 Ubuntu VNC d显示桌面问题解决
Here's what did work, though--changing the windows effects settings through compiz:1. sudo apt-get install compizconfig-settings-manager2. Run the compiz config manager: ccsm (no sudo)3. In the...
2015-01-13 13:17:35 522
原创 WNDR3800网件无线路由器相关收集
http://www.right.com.cn/forum/thread-114722-1-1.htmlhttp://www.right.com.cn/FORUM/thread-141650-1-1.htmlhttp://www.right.com.cn/forum/thread-153086-1-1.html https://forum.openwrt.org/view...
2014-12-29 18:34:57 572
原创 精简ttf,svg字体库文件,删除多余字体,保留用到字体
有一个Android项目使用少女字体, Android手机默认又没有, 一个少女字体大概3M多, APK打包下来6M多, 字体占了一半,于是想办法精简, 办法是找到了如下:但应用了我提取字体后才发现,这个是行不通了,只提取strings.xml中包含的字体, 但用户输入的字和数据库中保存的字就没有包含, 程序显示部分字是少女字体,部分默认字体. 于是还是放弃了. 提取字体方法贡献出来...
2014-12-26 19:39:37 1151
原创 Android GridView自适应Item高度
http://www.eoeandroid.com/forum.php?mod=viewthread&tid=246995&ctid=200当GridView外面有ScrollView时, GridView只显示一行Item的高度,为使GridView跟所有Item高度一致使用这个GridVew替换就可以.public class NoScroolGridVi...
2014-11-21 21:00:25 600
原创 Android UI使用总结
1. GridView 去掉press的蓝色背景mGridView.setSelector(new ColorDrawable(Color.TRANSPARENT)); 2. FragmentTabHost去掉分隔条mTabHost.getTabWidget().setDividerDrawable(R.color.transparent); 3. 隐藏输入法:((...
2014-11-05 16:09:24 102
原创 ViewPager禁用滑动(完美解决)
不想用手指来滑动ViewPager viewPager.setOnTouchListener(new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { return true;...
2014-10-17 10:48:00 1811 1
StarUML-4.0.1 mac版本
2021-03-17
友善210一线触摸tslib
2020-12-28
托利多_bCom操作手册.pdf
2020-04-28
BLE_TI_demo_keyfob_sensortag蓝牙芯片例子9(exe)
2014-03-09
BLE_TI_demo_keyfob_sensortag蓝牙芯片例子9(Windows_C#)
2014-03-09
BLE_TI_demo_keyfob_sensortag蓝牙芯片例子(Windows_C#)
2014-03-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人