2014年12月22日 星期一
2014年11月25日 星期二
Backup Postgressql Daily
https://wiki.postgresql.org/wiki/Automated_Backup_on_Linux
http://ching119.blogspot.tw/2011/11/postgresql-pgdump.html
crontab -e
01 01 * * * /home/secom/backup/pg_backup_rotated.sh
http://ching119.blogspot.tw/2011/11/postgresql-pgdump.html
crontab -e
01 01 * * * /home/secom/backup/pg_backup_rotated.sh
2014年11月20日 星期四
VNC Server for Ubuntu
dconf > desktop > gnome > remote-access > enabled - uncheck
and
dconf > org > gnome > desktop > remote-access > require-encryption - uncheck
dconf > org > gnome > desktop > remote-access > vnc-password - set the correct password
and
dconf > org > gnome > desktop > remote-access > require-encryption - uncheck
dconf > org > gnome > desktop > remote-access > vnc-password - set the correct password
2014年7月14日 星期一
2014年6月3日 星期二
Implementing single and multiple file multipart uploads using Spring 2.5
http://dhruba.name/2008/12/27/implementing-single-and-multiple-file-multipart-uploads-using-spring-25/
SimpleFormController example Spring MVC
http://www.matt-reid.co.uk/blog_post.php?id=57
http://www.mkyong.com/spring-mvc/spring-mvc-file-upload-example/
http://docs.spring.io/spring/docs/3.0.0.M3/reference/html/ch16s08.html
http://commons.apache.org/proper/commons-fileupload/using.html
MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
MultipartFile file = multipartRequest.getFile("fileupload");
SimpleFormController example Spring MVC
http://www.matt-reid.co.uk/blog_post.php?id=57
http://www.mkyong.com/spring-mvc/spring-mvc-file-upload-example/
http://docs.spring.io/spring/docs/3.0.0.M3/reference/html/ch16s08.html
http://commons.apache.org/proper/commons-fileupload/using.html
MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest) request;
MultipartFile file = multipartRequest.getFile("fileupload");
2014年5月13日 星期二
2014年5月8日 星期四
How can I connect to Gnome 3 with a Windows VNC client?
http://unix.stackexchange.com/questions/77885/how-can-i-connect-to-gnome-3-with-a-windows-vnc-client
This is actually a known and currently open bug. However, there is a very easy workaround; just issue the following command:
gsettings set org.gnome.Vino require-encryption false
You will now be able to connect with most vnc viewers.
2014年5月7日 星期三
2014年5月6日 星期二
Use xrdp to connect to desktop session
http://askubuntu.com/questions/235905/use-xrdp-to-connect-to-desktop-session
Well, I was unable to find a way to do this with pure xrdp, but I did find a nice writeup on how to go about getting this set up as an rdp-to-vnc gateway. It works well enough to suit my purpose.
Taken from http://ubuntuwiki.net/index.php/Xrdp,_installing
|
Xrdp Tip : How to reconnect to the...
April 9, 2014 at 9:01 am
Hi,Thanks for your tip. It really helps me solve the problem.
Based on your tip, I use a simper solution by changing the port of [xrdp1] to
port=ask-1
Then the port field will appear on the login window. If user remembered the port number of his last session, he can change -1 to that number, then connect to last session.
Regards,
Wei
http://c-nergy.be/blog/?p=4471
2014年5月5日 星期一
2014年4月30日 星期三
2014年4月29日 星期二
2014年4月28日 星期一
GitAspx 0.3 Available
http://www.jeremyskinner.co.uk/2010/10/19/gitaspx-0-3-available/
http://github.com/JeremySkinner/git-dot-aspx/downloads
http://github.com/JeremySkinner/git-dot-aspx/downloads
2014年4月24日 星期四
2014年4月23日 星期三
2014年4月22日 星期二
2014年4月21日 星期一
2014年4月8日 星期二
2014年3月31日 星期一
Remote Control Ubuntu13.10
1. apt-get install xrdp
2. apt-get install gnome-session-fallback
3. sudo apt-get install xubuntu-desktop
4. sudo apt-get update
5. echo xfce4-session >~/.xession
or echo “gnome-session –session=gnome-classic” > .xsession
or echo “gnome-session –session=gnome-classic” > .xsession
You can use a different session types for the gnome session:
ubuntu
gnome-classic
gnome-fallback
ubuntu-2d
2014年3月18日 星期二
2014年2月9日 星期日
2014年1月22日 星期三
訂閱:
意見 (Atom)