Wesley13 Wesley13
3年前
Java多线程基础
(1)传统使用类Thread和接口Runnable实现 1\.在Thread子类覆盖的run方法中编写运行代码方式一 newThread(){@Overridepublicvoidrun(){while(true){try{Thread.sleep(2
Stella981 Stella981
3年前
SpiderMonkey安装
SpiderMonkey是Mozilla使用C/C开发的JavaScript引擎,该引擎已经在多个产品中使用。是用SpiderMonkey我们能够在命令行中调试和开发JavaScript代码。下载SpiderMonkey:https://developer.mozilla.org/enUS/docs/Mozilla/Projects/
Stella981 Stella981
3年前
Git学习 之 团队协作
Git学习之团队协作(https://my.oschina.net/kcp1104/blog/1610809)|Git学习之常用基础命令(https://my.oschina.net/kcp1104/blog/1610807)|Git学习之入门(https://my.oschina.net/kcp1104/blog/161
Stella981 Stella981
3年前
Macos mysql 8.0.11 添加配置文件
mac安装mysql后,没有配置文件,如果需要添加配置文件,需要在/etc目录下面添加my.cnf文件。添加方法打开文件命令:sudovi /etc/my.cnf文件添加内容:\client\defaultcharactersetutf8\mysqld\charactersetserveru
Stella981 Stella981
3年前
HBase–常用Shell操作篇
HBase为用户提供了一个Shell终端进行交互操作,通过“helpget”命令可以获得帮助信息。【查询相关】1\.进入hbaseshellconsole  $HBASE\_HOME/bin/hbaseshell2\.查看有哪些表  list3\.查看全表数据   scan'tablename'
Stella981 Stella981
3年前
Genymotion 无法安装 APK 解决方案
INSTALL\_FAILED\_NO\_MATCHING\_ABIS由于APK使用了不支持当前CPU架构的NativeLibraries,解决方案:下载对应的ARMTranslation,运行Genymotion,直接将zip包拖到Genymotion模
Wesley13 Wesley13
3年前
Ubuntu Server搭建Redis集群
部署部署6个虚拟机(192.168.1.1116),其中3个master节点,3个slave节点。在每一台虚拟机运行如下shell脚本:!/usr/bin/envbashsudoaptgetupdatesudoaptgetinstallybuildessentialtcl
Wesley13 Wesley13
3年前
POI可用版本号
POI版本不对会导致各种运行时问题,下面是一个可用版本组合<dependency<groupIdorg.apache.poi</groupId<artifactIdpoiscratchpad</artifactId<version3.9</version<
Stella981 Stella981
3年前
Git学习 之 入门
Git学习之团队协作(https://my.oschina.net/kcp1104/blog/1610809)|Git学习之常用基础命令(https://my.oschina.net/kcp1104/blog/1610807)|Git学习之入门(https://my.oschina.net/kcp1104/blog/161
Stella981 Stella981
3年前
Integer使用双等号比较会发生什么
话不多说,根据以下程序运行,打印的结果为什么不同?Integera100;Integerb100;System.out.println(ab);//print:trueIntegera200;Integerb200;