Wesley13 Wesley13
4年前
java字节流与字符流的区别
https://mp.weixin.qq.com/s?\_\_bizMzI4Njc5NjM1NQ&mid2247484777&idx1&sna18c01bc4de826464fe8337e7ff6f87a&scene19wechat\_redirect字节流与和字符流的使用非常相似,两者除了操作代码上的
Wesley13 Wesley13
4年前
java定时任务
1、在应用开发中,经常需要一些周期性的操作,比如每5分钟执行某一操作等。对于这样的操作最方便、高效的实现方式就是使用java.util.Timer工具类。privatejava.util.Timertimer; timernewTimer(true); timer.schedule(newjava.util.TimerTa
Stella981 Stella981
4年前
Chrome
在进行前后分离的 webapp 开发,或者 H5 移动 App 开发时,我们会使用 PC 端浏览器进行开发调试。但默认情况下 Ajax 请求无法跨域访问,请求时会报如下错误: XMLHttpRequestcannotloadhttp://127.0.0.1:8080/ptmo/services/ptmo/v1/execOneSql.Respons
Stella981 Stella981
4年前
Dockder的CS模式:
!(https://oscimg.oschina.net/oscnet/6bcbe5fab6a50d936533c7aa38a8489b3e0.jpg)!(https://oscimg.oschina.net/oscnet/7301e172402c289f51f3356b3f8edffdb50.jpg)Docker的守护进程一直运行,
Stella981 Stella981
4年前
Spark2.x精通:ShuffleReader过程源码深度剖析
!(https://oscimg.oschina.net/oscnet/d5faf24ffe0cd18c36b230fb42019591efa.gif)一、概述    之前我们写了几篇文章详细讲解了SparkShuffle的Writer原理、技术演进历程及Spark2.x中三种Writer机制的具体实现,这里我们对Shuffle
Wesley13 Wesley13
4年前
Polyfill简介
1.什么是Polyfill?Polyfill是一个js库,主要抚平不同浏览器之间对js实现的差异。比如,html5的storage(session,local),不同浏览器,不同版本,有些支持,有些不支持。Polyfill(Polyfill有很多,在GitHub上https://github.com/Modernizr/Modernizr/wiki/
Stella981 Stella981
4年前
Python 运算符
Python运算符什么是运算符?本章节主要说明Python的运算符。举个简单的例子459。例子中,4和5被称为操作数,""称为运算符。Python语言支持以下类型的运算符:算术运算符(https://www.oschina.n
Stella981 Stella981
4年前
Linux下使用ps命令查看某个进程文件的启动位置
使用ps命令,使用方法如下:psef|grepshutdown其中shutdown为关机命令,但是此时查看到的只是相对路径,没有绝对路径,如:!(https://oscimg.oschina.net/oscnet/cbb6e4e1791d471570ec2ef5f07bbd671ef.png)(https://www.osc
Wesley13 Wesley13
4年前
Java性能优化
本博客来自我的新书Java性能优化(暂定名),第5章的Java代码优化技巧节选2,也欢迎阅读我的新书《SpringBoot2精髓》(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.kancloud.cn%2Fxiandafu%2Fspringboot2inpra
Stella981 Stella981
4年前
Python数据结构与算法——双端队列Dequeue
!(https://oscimg.oschina.net/oscnet/fa1ed5efabdf40f390081750e73ed60e.png)点击上方蓝字关注我们双端队列Dequeue双端队列是一种有序的数据集,与队列相似,但双端队列的两端都可以作为队首