`
roddy
  • 浏览: 16868 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
https://roddyfeng.blogspot.com/
Maven install problem: Unexpected end of ZLIB input stream。 Set Maven run properties and to do rebuilt. goals: dependency:purge-local-repository

Call a java class from

    博客分类:
  • Java
中華人民共和國

Image Process

    博客分类:
  • Java
<div class="iteye-blog-content-contain" style="font-size: 14px"> import java.awt.AlphaComposite; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; impor ...
ln -sv [source] [targe] ln -sv /opt/soft/test/test3 /opt/soft/test/test5   Reference URL:  http://www.cnblogs.com/peida/archive/2012/12/11/2812294.html
Reference URL: http://unix.stackexchange.com/questions/20357/how-can-i-make-a-script-in-etc-init-d-start-at-boot 試過 It's work. 注意Script 内容格式,按下面写,如果发现not work 就检查script是否有错。名字可不加.sh, 如:tomcat都ok    If you are on a Red Hat based system, as you mentioned, you can do the following: Create a scri ...

SVN

  Reference as: https://www.if-not-true-then-false.com/2010/install-svn-subversion-server-on-fedora-centos-red-hat-rhel/   https://docs.fedoraproject.org/en-US/Fedora/13/html/Managing_Confined_Services/sect-Managing_Confined_Services-Configuration_examples-Changing_port_numbers.html

Cockpit Error

Permission denied Error: use root to login Cockpit in fedora   First use command to look service's status: systemctl status cockpit.service -l   vi /etc/security/limits.conf then do remark : #root hard nofile 65535 # Need these two lines because the wildcards (above) #root soft nofile 65535 ...
String content = new String(blob.getBytes((long)1, (int)blob.length()));       refrence as : http://knight-black-bob.iteye.com/blog/2213090
  24down voteaccepted If you are using Fedora >= 18, the server is probably running firewalld, which you can disable by running systemctl stop firewalld.service

java send email

    博客分类:
  • Java
static int port = 25; //smtp端口 static String server = "smtp.163.com"; //smtp服务器地址 static String from = "XXX@163.com"; //发送者 static String user = "XXXX@163.com"; //发送者地址 static String password = "XXXX"; //密码 public static void sendEmail( ...
phantomjs install in Fedora: if you can not extract phantomjs.tar.bz2 in Fedora, you can extract it in Window and then do copy. and then to do in Fedora, like that as below: cp phantomjs/bin/phantomjs /usr/bin verify install is work: phantomjs --version   casperjs install in Fedora: cp casp ...

Json String to Bean

    博客分类:
  • Java
<div class="iteye-blog-content-contain" style="font-size: 14px"></div> Need Jar: gson.jar Gson g = new Gson(); FolderArray folders = g.fromJson("{\"folders\":[{\"status\":100,\"b\":200},{\"status\":100,\"b\":20 ...
  Depending on what you are wanting, just add a & to the end of the command script.sh & command & If you are running it in a terminal, and you want to then close the terminal, use nohup or disown nohup nohup script.sh & disown script & disown

Java Read Html

    博客分类:
  • Java
Need Jar: jsoup-1.8.1.jar public static void main(String[] args) { String content=""; try { content = executeGet("qq.com","t.qq.com","pgv_pvi=2633264128; RK=AWkaEwm4WM; ptcz=b94a87c80a0a85ceec47cd63566d582d7110bb329e378f2ef066185e9b957333; pt2gguin=o0 ...
Global site tag (gtag.js) - Google Analytics