yalongyang.com
Iptables port forwarding | YalongYang's Blog
http://www.yalongyang.com/2013/12/iptable-port-forward
A fantastic place for all possible things. First make sure, two server can ping to each other. Turn on forwarding by editing. Change net.ipv4.ip forward. Turn off the iptables service by command. Aim: Connect b port on B server through a port on A server. Use bash to execute. Iptables -t nat -A PREROUTING -d. AAAA -p tcp - dport a -j DNAT - to-destination B.B.B.B:b. Iptables -t nat -A POSTROUTING -d. BBBB -p tcp - dport b -j SNAT - to B.B.B.B. Iptables -A FORWARD -o virbr0 -d. Modprobe ip conntrack ftp.
yalongyang.com
Tag | YalongYang's Blog
http://www.yalongyang.com/tags
A fantastic place for all possible things. 21 tags in total. Theme - NexT.Muse.
yalongyang.com
SVN configuration | YalongYang's Blog
http://www.yalongyang.com/2013/05/svn-server-configure
A fantastic place for all possible things. SNV is a centralized version control system. SNV has a configuration file for each project to configure the access right for different developers. Sometime, use one configuration for all file is easier for management. We will use this method in this post. Choose a directory as the root, for instance. Create the code repository by command. Users]
test1 = test1
test2 = test2. This file presents admin. Group has the write and read access right for all projects.
yalongyang.com
Tag: download | YalongYang's Blog
http://www.yalongyang.com/tags/download
A fantastic place for all possible things. Download tool in WinRt - Light Downloader. Problems in downloading big file in WinRt. Comparison of Download Methods in WinRt. Theme - NexT.Muse.
yalongyang.com
Turn off Whitelist in Transmission | YalongYang's Blog
http://www.yalongyang.com/2012/11/transmission-disable-whitelist
A fantastic place for all possible things. Turn off Whitelist in Transmission. To install the transmission. On Centos, the whitelist is turned on and only. Can access to transmission. This default setting is quite weird. The error when you access it from remote will be:. You could add your ip address in the whitelist for remote access, however, the ip address will always change, so maybe turn off the whitelist is a better way. Change configuration of transmission. Comparison of Download Methods in WinRt.
yalongyang.com
Tag: opencv | YalongYang's Blog
http://www.yalongyang.com/tags/opencv
A fantastic place for all possible things. Theme - NexT.Muse.
yalongyang.com
Tag: system | YalongYang's Blog
http://www.yalongyang.com/tags/system
A fantastic place for all possible things. Turn off Whitelist in Transmission. Lazy Page Allocation Implementation in xv6. Add System Call to xv6. Change Path in Windows through Bat Script. Theme - NexT.Muse.
yalongyang.com
Comparison of Download Methods in WinRt | YalongYang's Blog
http://www.yalongyang.com/2013/01/winrt-download-file-method
A fantastic place for all possible things. Comparison of Download Methods in WinRt. In WinRt C#, there are 3 methods for downloading files through http:. There is a post in StackOverFlow :. Download file in winrt, use HttpClient or HttpWebRequest or BackgroundDownloader? The summary of this post could be:. HttpClient can change Range. In http header, but it cannot get the process of the downloading. HttpWebRequest can get the process of the downloading, but it cannot change Range. Theme - NexT.Muse.
yalongyang.com
Category: OS | YalongYang's Blog
http://www.yalongyang.com/categories/OS
A fantastic place for all possible things. Lazy Page Allocation Implementation in xv6. Add System Call to xv6. Theme - NexT.Muse.
yalongyang.com
Problems in downloading big file in WinRt | YalongYang's Blog
http://www.yalongyang.com/2013/01/winrt-download-big-file-problem
A fantastic place for all possible things. Problems in downloading big file in WinRt. In my project, I find some problems in downloading big file in WinRt:. HttpConnection will be closed forcedly even when the download is not finish. The initial process will cost to much time. It is because I am not too familiar with the http headers. The solutions are:. Use await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead). To indicate we only want the header first. Theme - NexT.Muse.