gsoap Error 200

在使用gsoap调用其他web service的时候遇到一下问题:

Error 200 fault: SOAP-ENV:Client[no subcode]

解决办法:

修改gsoap init的endpoint为全路径解决问题。

MacOS X emacs拖拽打开文件

emacs在mac os x中拖拽文件到buffer会在buffer中嵌入显示拖拽文件的内容,解决办法:

.emacs中加入

1
2
3
4
5
6
(define-key global-map [ns-drag-file] 'my-ns-open-files)
(defun my-ns-open-files ()
  "Open files in the list `ns-input-file'."
  (interactive)
  (mapc 'find-file ns-input-file)
  (setq ns-input-file nil))

git svn代理设置

git svn的代理设置需要通过修改~/.subversion/servers文件来实现:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
[groups]
assembla = *.assembla.com
# group1 = *.collab.net
# othergroup = repository.blarggitywhoomph.com
# thirdgroup = *.example.com

[assembla]
http-proxy-host = proxy-server
http-proxy-port = 8080
http-compression = yes
username = yesokay