加载中
google translate 的简单实现

google translate 的简单实现 const port = 3000 const fs = require('fs') const path = require('path') const spdy = require('spdy') const express = require('express') const bodyPa...

09/01 15:44
11
Debian 9 导入Java src.zip

Example for Java 8: sudo apt-get install openjdk-8-source apt-get puts it under the relevant JDK location as src.zip: /usr/lib/jvm/java-8-openjdk-amd64/src.zip Intellij IDEA rec...

JDBC 之MySQL utf8mb4

有时在使用jdbc连接MySQL 时会被uft8mb4这个小问题给骚扰,正确的姿势如下: 在连接字符串中使用utf8, 如果您已经使用,就无需修改。 在服务器端,修改配置 character_set_server=utf8mb4即可...

08/13 10:02
2
module r8169

update-initramfs: Generating /boot/initrd.img-4.9.0-7-amd64 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169 ......................................

07/27 13:40
11
shell rm

删除除了zh_CN目录下之外的所有文件各目录 rm -rf !(zh_CN) 在系统上删除所有文件(包含以 . 开头的隐藏文件),除了.git 目录不删除 rm -rf * !(.git)...

07/26 18:50
3
Shell 光标

CTRL+K 从光标处剪切文本直至本行结束 CTRL+Y 粘贴文本 CTRL+E 将光标移到本行的末尾 CTRL+A 将光标移动到本行的开头 ALT+F 跳转到下一个空格处 ALT+B 回到前一个空格处 ALT+Backspace 删除前...

07/26 17:04
2
debian 9 下 MySQLdb mysql_config not found

需要说明的是debian9 下MySQL 变成了mariadb. apt install libmariadbd18 apt install libmariadbd-dev apt install mysql-community-client......

07/16 09:54
2
How to Read a Thread Dump

Most Java applications developed today involve multiple threads, which, in contrast to its benefits, carries with it a number of subtle difficulties. In a single-threaded applic...

06/26 15:18
8
reuse stream

Although Java streams were designed to be operated only once, programmers still ask how to reuse a stream. From a simple web search, we can find many posts with this same issue ...

Java Comparators in a More Declarative Way

Java 8 has added many intuitive utility methods in the Comparator interface, making it easier to work with comparators in a functional way. For example, if I want to sort the li...

06/19 17:26
3
rfc6749

https://tools.ietf.org/html/rfc6749#section-1.1

06/19 17:12
5
ClassCastException

http://blog.51cto.com/winters1224/2049425

06/15 18:57
7
一种 Chrome 直接SS 的 方法

在debian 中使用 chromium 时,可以直接使用ss. 网友的建议是: /usr/bin/chromium --proxy-server="socks5://127.0.0.1:3333" --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE localhost"...

HK

警察熱線 電話 傳真 緊急事故 999 反詐騙諮詢熱線 18222 警察毒品舉報熱線 2527 1234 商業及電腦罪案熱線 2860 5012 有組織罪案及三合會熱線 2527 7887 中央交通違例檢控組熱線 2866 6552 無...

05/07 16:42
3
Kafka 1.1.0 Topic 管理

Kafka Topic 创建topic bin/kafka-topics.sh --zookeeper localhost:2181 --create --topic my-topic --partitions 3 --replication-factor 3 --config max.message.bytes=64000 --config fl...

04/18 11:16
104
spring boot i18n

https://www.javadevjournal.com/spring-boot/spring-boot-internationalization/

03/31 14:58
9
Spring boot import properties

在Spring boot 项目中,我们多使用application.yml 或者application.properties . 如何在项目中使用自定义的 properties 呢,以下示例教你解决。 import lombok.Getter; import org.springf...

03/27 15:27
8
Kafka 1.0.1 ConsumerConfig

<table class="data-table"><tbody> <tr> <th>Name</th> <th>Description</th> <th>Type</th> <th>Default</th> <th>Valid Values</th> <th>Importance</th> </tr> <tr> <td>bootstrap.serve...

03/27 13:51
8
Aliyun 挂载硬盘

运行命令 fdisk -l 查看硬盘情况: Disk /dev/vda: 42.9 GB, 42949672960 bytes, 83886080 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 5...

XFS
03/12 13:24
4
Kafka Conf

https://yq.aliyun.com/articles/73215

03/07 16:12
5

没有更多内容

加载失败,请刷新页面

返回顶部
顶部