2010年3月30日 星期二

2010年3月16日 星期二

Flex 隱藏物件的方法(小技巧)

http://alin0913.pixnet.net/blog/post/25717430

visible = false;
includeInLayout = false;

2010年3月15日 星期一

gccgo Debian Package

gccgo Debian Package
http://www.atoztoa.com/2009/11/gccgo-debian-package.html

What is gccgo ?
http://golang.org/

Redis - A persistent key-value database with built-in net interface written in ANSI-C for Posix systems


Redis
http://code.google.com/p/redis/

Redis is an advanced key-value store. It is similar to memcached but the dataset is not volatile, and values can be strings, exactly like in memcached, but also lists, sets, and ordered sets

A twitter clone by Redis + PHP
http://code.google.com/p/redis/wiki/TwitterAlikeExample

2010年3月11日 星期四

ClassLoader in Java

ArrayList<URL> classPath = new ArrayList<URL>();
classPath.add(new File(workDir+"/").toURL());
classPath.add(file.toURL());
classPath.add(new File(workDir, "classes/").toURL());
File[] libs = new File(workDir, "lib").listFiles();
if (libs != null) {
    for (int i = 0; i < libs.length; i++) {
      classPath.add(libs[i].toURL());
    }
}

ClassLoader loader =
    new URLClassLoader(classPath.toArray(new URL[0]));


Thread.currentThread().setContextClassLoader(loader);
Class<?> mainClass = Class.forName(mainClassName, true, loader);
Method main = mainClass.getMethod("main", new Class[] {
    Array.newInstance(String.class, 0).getClass()
});

    String[] newArgs = Arrays.asList(args).subList(firstArg, args.length).toArray(new String[0]);
try {
    main.invoke(null, new Object[] { newArgs });
} catch (InvocationTargetException e) {
    throw e.getTargetException();
}

2010年3月10日 星期三

2010年3月6日 星期六

Netbeans 下載點

netbeans 官網首頁突然連不上,找到了另一個 netbeans 載點








2010年3月3日 星期三

XML driven Flash Tag Cloud

這支可包含 image

http://www.artviper.net/website-design/xml-flash-tag-cloud.php


另一個叫 Cumulus,下面是給 Drupal 用的 module,它不是用 XML 給參數,而是直接用 flashvars
http://drupal.org/project/cumulus

Linux 下面類似 putty 的工具: secpanel

2010年3月2日 星期二

The easy Flash & AIR Debugger

簡易的 log class,類似 log4j
http://arthropod.stopp.se/index2.php/

2010年3月1日 星期一

用 SQL formatter 增加 SQL 指令的可讀性

SQL Pretty Printer
它官網的 Web 版,而 desktop 版要 $$,但可以外掛在 VS 上。
http://www.dpriver.com/pp/sqlformat.htm?ref=g_wangz

SQLinForm,這套要裝 JRE
http://www.sqlinform.com/online.phtml