Easter79 Easter79
2年前
st link 连接问题ST LINK is not in the DFU mode plesse restart it
原因:插上stlink后做了一些操作才点击升级。如点击了连接stlink,如下图等:!(https://oscimg.oschina.net/oscnet/95a6f4c294e446bf6497b1cd204ae834740.png)解决办法:1\.拔掉stlink2\.插上stlink3\.不要点其他的,直接点击STLI
Wesley13 Wesley13
2年前
Java(springboot) 读取txt文本内容
publicclassTxtTest{privatestaticfinalLoggerloggerLoggerFactory.getLogger(TxtTest.class);publicstaticStringreadTxt(Filefile)throwsIOException{St
Wesley13 Wesley13
2年前
CSS禁用鼠标拖拽选中内容
chrome webkituserselect:nonefirxfox mozuserselect:noneIE需要使用JS的onSelected事件了。JS代码      dom.style.MozUserSelect'none';//fixrox禁止选择的JS脚本      dom.st
Wesley13 Wesley13
2年前
Old ST
错误提示:!(https://oscimg.oschina.net/oscnet/1c3779a1e982f1ab76cdc067c036f7401fd.png)原因:stlink固件太旧了,解决办法:升级stlink固件,升级方法:1\.下载stlinkutility工具。官网下载:https://www.st.com
Wesley13 Wesley13
2年前
ubutun 下的 sublime text 2 不能输入中文
在ubuntu下安装st2后发现不能输入中文,抓狂啊。。。解决方法:cd~/.config/sublimetext2/Packagesgitclonehttps://github.com/xgenvn/InputHelper.git重启st2ctrlshiftz
Easter79 Easter79
2年前
Sublime Text Package Contrl 安装方法
从菜单ViewShowConsole或者ctrl~快捷键,调出console。将以下Python代码粘贴进去并enter执行,不出意外即完成安装。以下提供ST3和ST2的安装代码:(一整行,不要换行)SublimeText3:importurllib.request,os;pf
Wesley13 Wesley13
2年前
MySql 相关函数
SELECTGROUP\_CONCAT(column\_name)FROMtable\_namegroupbytable\_name,table\_name2...FIELD()函数自定义排序select\fromuserwheretypein(1,2,3)orderbyFIELD(column,str1,st
Stella981 Stella981
2年前
Run PrintfFunctionNames example of Clang
exportBD/home/lyy/buildexportSRC/home/lyy/llvmcd$BD/tools/clang/examples/PrintFunctionNamesmakePrintFunctionNamescd$SRCclangD\_GNU\_SOURCED\_DEBUGD\_\_ST
Wesley13 Wesley13
2年前
MongoDB索引
创建索引 ensureIndexdb.scores.ensureIndex({"studentId":1},{"name":"idx_scores_st","background":1});查看索引 getIndexesdb.scores.getIndexes();!(https://oscimg.osch
Easter79 Easter79
2年前
Spring源码学习(
引言AbstractBeanFactory.getBean的流程,有点像老外点餐,不信咱们往下看。入口AbstractBeanFactory中有getBean的通用逻辑//AbstractBeanFactory中getBean方法第源码@OverridepublicObjectgetBean(St