Posts Tagged ‘config’

Run jar as windows system service

This item was filled under [ Application, Windows ]

JSmooth: http://jsmooth.sourceforge.net 1. Start the JSmooth 2. Skeleton: Enter the Service Name, Display Name 3. Executable Executable Binary: Output file path and filename (e.g: javaprogram.exe) Executable Directory: Output Path

Continue reading...

Tagged with: [ , , , ]

Configuring Static Routes

This item was filled under [ Linux, Networking ]

Reference: http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-static-routes.html The following is a sample route-eth0 file using the network/netmask directives format. The default gateway is 192.168.0.1, interface eth0. The two static routes are for the 10.10.10.0/24 and 172.16.1.0/24 networks. However, as mentioned before, this example is not necessary as the 10.10.10.0/24 and 172.16.1.0/24 networks would use the default gateway anyway: ADDRESS0=10.10.10.0 NETMASK0=255.255.255.0 [...]

Continue reading...

Tagged with: [ , , , , ]

Ruby on Rails with Oracle

This item was filled under [ Oracle, Ruby ]

Reference: http://www.oracle.com/technology/pub/articles/saternos-ror-faq.html#4-4 Download ruby-oci8:  http://rubyforge.org/frs/?group_id=256&release_id=31170 Download ruby-gems: http://rubyforge.org/frs/?group_id=126&release_id=27655 1. Install Ruby Installing Ruby on Linux requires a few extra steps that may not be familiar to those new to Linux. After downloading the appropriate files, follow the same basic steps of installing Oracle client software, Ruby, Gems, OCI8, and Rails (and its dependencies) described in [...]

Continue reading...

Tagged with: [ , , , , , ]

Speed up Your WordPress Blog

This item was filled under [ Wordpress ]

http://www.earnersblog.com/digproof-your-wordpress/ http://www.arnebrachhold.de/2007/02/16/four-plus-one-ways-to-speed-up-the-performance-of-wordpress-with-caching/ Install the Wp-Cache 2.10 Plugin WP-Cache 2.10 will cache a physical copy of each post into a specified folder on your server. Since WordPress usually serves content dynamically it has to query mysql everytime it goes to load a post. If you get dugg you’ll end up with an insane amount of mysql [...]

Continue reading...

在wordpress加上高登icon (連高登gif icon下載點)

This item was filled under [ Wordpress, 無聊 ]

http://www.tamba2.org.uk/wordpress/smilies/ 1. 先安裝plugin wp-grins 2. 下載 高登icon打包 高登icon打包備用下載點 3.解壓後將各gif檔放在 ./wordpress/wp-includes/images/smilies (不包括資料夾) 4. 修改 wp-config.php 最後一行 define(‘ABSPATH’, dirname(__FILE__).’/’); require_once(ABSPATH.’wp-settings.php’); ?> 修改成 define(‘ABSPATH’, dirname(__FILE__).’/’); $wpsmiliestrans = array( ‘(???)’ => ‘wonder2.gif’, ‘xx(‘ => ’02.gif’, ‘Z_Z’ => ’28.gif’, ‘^3^’ => ’13.gif’, ‘[bomb]‘ => ‘bomb.gif’, ‘O:-)’ => ’01.gif’, ‘[banghead]‘ => ’32.gif’, ‘#love#’ => ’18.gif’, ‘#good#’ => ’23.gif’, ‘#no#’ => ’31.gif’ ‘:-[' [...]

Continue reading...

Tagged with: [ , , ]
Page 1 of 3123