原创 storm 運行拓撲
Next, package the source into a jar, which is sent when you run the Storm Client commandto submit the topology. Because
原创 簡單的asmack應用
package com.virtual.robot.main;import java.util.Timer;import java.util.TimerTask;import org.jivesoftware.smack.Chat;impo
原创 maven執行main函數
You’re ready to run your first topology! If you create a file at src/main/resources/words.txt with one word per line, yo
原创 android 切換activity動畫
package com.asai.android.demo;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import
原创 SQL 去重
delete from testtable a where (a.testcontent) in (select testcontent from testtable GROUP BY testcontent having count(*)
原创 GZIPInputstream解決亂碼問題
public static String getHtmlContent(String htmlurl, String charset) { StringBuffer sb = new StringBuffer(); String