HTTP Transfer-Encoding

‘HTTP Transfer-Encoding’ 本文作为我的博客「HTTP 相关」专题新的一篇,主要讨论 HTTP 协议中的 Transfer-Encoding。这个专题我会根据自己的理解,以尽量通

Invalid HTTP server response [411] – Length Required

‘Invalid HTTP server response [411] – Length Required’ http://www.coderanch.com/t/625696/Web-Services/java/Invalid-HTTP-server-response-Length As William asked, please share how you are setting content length in SOAP header. I searched online for error and found that there can be one more reason for this failure. Reason - The remote WSEndpoint did not like the HTTP Chunking feature activated. Try disabling this feature for WS client. netty HttpPostRequestEncoder bodyRequestEncoder = new HttpPostRequestEncoder(factory, request, false);

netty 文件上传

netty 文件上传 http://blog.csdn.net/mcpang/article/details/41140409 【初学与研发之NETTY】netty4之文件上传 标签: netty4文件上传 2014-11-15 04:35 6005人阅读 评论(29) 收藏 举报 分类: JAVA (48) Netty (6) 版

MessageFormat

MessageFormat MessageFormat用法 博客分类: java MessageFormatMessageFormat.format MessageFormat用来格式化一个消息,通常是一个字符串,比如: String str = “I’m not a {0}, age is {1,number,short}", height is

英语 English

英语 English 介词 Preposition 介词 Preposition 简写prep. 英语句子 陈述句 一般疑问句 特殊疑问句 选择疑问句 反义疑问句 祈使句 感叹句 陈述句 陈述句(Declarative Sen

统计文件行数, 文件数

统计文件行数, 文件数 Linux下有三个命令: ls、grep、wc。通过这三个命令的组合可以统计目录下文件及文件夹的个数。 统计当前目录下文件的

Linux批量重命名文件

Linux批量重命名文件 1 2 3 4 5 6 7 8 9 #在前面添加 _hoho_ for i in \`ls\`; do mv -f $i \`echo "_hoho_"$i\`; done #修改前面5个字母为zhaozh for i in \`ls\`; do mv -f $i \`echo $i | sed 's/^...../zhaozh/'\`; done L

ansible basic command

ansible basic command commands 1 2 3 4 5 6 7 8 # 临时的 inventory file ansible -i '192.168.50.111,' all -m shell -a 'whoami' -u root ansible-galaxy collection install community.general # localhost ansible localhost -m shell -a 'ls' # 指定私钥 --key-file ansible -i 'wiloon.com,' all -m shell -a 'systemctl stop enx-api' -u root --key-file ~/.ssh/id_ed25519_w10n hibernate 1 ansible -i '192.168.50.31,' all -m shell -a 'sudo

java 队列, Queue, Deque

java 队列, Queue, Deque 名称 deque 是 “double ended queue (双端队列)” 的缩写, 通常读为 “deck”。 大多数 Deque 实现对于它们能够包含的元素

netctl

netctl 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 pacman -S wpa_actiond pacman -S dialog systemctl stop dhcpcd systemctl disable dhcpcd cp /etc/netctl/example/wireless-wpa sudo chmod u+x /etc/netctl/* emacs wireless-wpa sudo netctl start xxxxxx sudo netctl enable wireless-wpa wireless #http://www.wiloon.com/?p=7520

archlinux netctl wifi

archlinux netctl wifi Essay Address: http://blog.csdn.net/sunnypotter/article/details/23201339 # 如果之前systemctl enable dhcpcd.service systemctl dhcpcd.service systemctl disable dhcpcd.service 然后 cd /etc/netctl cp examples/wireless-wpa . # A simple WPA encrypted wireless connection vim wireless-wpa # Modify Interface=wlp8s0 # iw dev查看, 或ip link 或ifconfig Connection=wireless Security=wpa IP=dhcp

小平岛 玉皇顶

小平岛 玉皇顶 小平岛之巅是玉皇顶,海拔73米,与之相连的是城山头,海拔53米。在它的半腰处有一堵30多米长的残垣断壁,面对大海,青石累累。据说

archlinux init

archlinux init openssh ssh key neovim ln -s … vi… vim to nvim sudo nopassword for wiloon python for ansible pacman -Syu yay for telegraf after install mesa, to confirm it works 被正确加载 1 2 3 4 5 glxinfo | grep "OpenGL renderer" # OpenGL renderer string: AMD Radeon Graphics (radeonsi, phoenix, LLVM 19.1.7, DRM 3.61, 6.14.9-arch1-1) # 看内核模块是否加

Invalid partition table

Invalid partition table syslinux root和boot在 逻辑分区上 启动时会提示 Invalid partition table 回国后正常进入syslinux http://bbs.sjtu.edu.cn/bbscon,board,GNULinux,file,M.1398935226.A.html

e2fsck command

e2fsck command linux 下磁盘检查修复命令 1 2 # 注意, 是对分区进行检查, 如果参数只写磁盘 /dev/sda, 有可能会报分区表异常之类的... e2fsck: Bad magic number in super-block while trying to open /dev/vdb1 e2fsck -f /dev/sda2 e2fsck 用于检

iotop

iotop iotop命令是专门显示硬盘IO的命令,界面风格类似top命令。这个命令只有在kernelv2.6.20及以后的版本中才有。 只显示io的进

java 命名

java 命名 包名,使用网络地址倒置,小写,如com.myssh.action。(RFC规定url不准带下划线) 类名,大写开头,驼峰写法,如Logi

DbUnit

DbUnit http://yangzb.iteye.com/blog/947292 博客分类: QC 单元测试XML数据结构OraclePostgreSQL 相信做过单元测试的人都会对JUnit 非常的熟悉了,今天要介绍的DbUn