Archive for July, 2009

RadioButtonList within a GridView using the AJAX UpdatePanel

Posted under ASP.NET, Article, Development on Tuesday, 28 July 2009 by rueben
This simple but extremely useful trick explains how to hande a radiobutton within an ASP.NET gridview, without having to fiddle around with the sometimes cumbersome beast that javascript is. To avoid postbacks, we'll be using ASP.NET AJAX's updatepanel. Basically, the logic is grabbing the...
RadioButtonList within a GridView using the AJAX UpdatePanel

Word hunt – Java code

Posted under Article, Development, Java on Tuesday, 28 July 2009 by rueben
The program accepts a sentence, stores each word in it as a separate element in an array, then asks you for a word, and return whether or not the word is present in the sentence you entered. [code lang="java"] import java.io.*; class search_arrays { static void search()throws...
Word hunt – Java code

Tungsten replicator do mysql cluster backup

Posted under Article, Development, Mysql on Saturday, 25 July 2009 by rueben
About Tungsten replicator Tungsten is a family of open source technologies for database clustering and replication. Tungsten includes replication, management, SQL routing, and proxying that improve database availability, protect data, and raise application...
Tungsten replicator do mysql cluster backup

FFmpeg,FFmpeg-PHP,Mplayer,Mencoder,flv2tool integrated configuration

Posted under Development, Mysql, PHP on Friday, 24 July 2009 by rueben
Have developed a video sharing site, users upload videos, using FFmpeg convert. Flv and .3 gp format. Web site is very simple procedure, the main task is to configure the video server. Now the video server configuration steps, share out. FFmpeg is a complete, cross-platform solution to record,...
FFmpeg,FFmpeg-PHP,Mplayer,Mencoder,flv2tool integrated configuration

phpWebSite – Open Source CMS

Posted under CMS, Open Source, Software on Friday, 24 July 2009 by rueben
phpWebSite provides a complete web site content management system. Web-based administration allows for easy maintenance of interactive, community-driven web sites. phpWebSite's growing number of modules allow for easy site customization without the need for unwanted or unused features. Client...
phpWebSite – Open Source CMS

PHP use RS232 serial communication to send file

Posted under Article, Development, PHP on Wednesday, 22 July 2009 by rueben
PHP use RS232 serial communication to send file [code lang="php"] [/code] [code lang="php"] [/code] QUOTE: 1. Code among: Please modify to your own practical test file $handle = fopen ("E:\\RS232\\TEST\\WAPMMonitor.exe", "rb"); $handle =...
PHP use RS232 serial communication to send file

Online Rss Submit Tool(Beta)

Posted under Featured, My projects, Online Rss Submit Tool on Wednesday, 22 July 2009 by rueben
In order to promote my site, specifically the development of an online tool to submit RSS. This is the most powerful RSS feed management and promotion tool available. The first of its kind for automatically submitting RSS feeds, it is the quickest and most reliable way to submit to the RSS...
Online Rss Submit Tool(Beta)

Mysql automatic backup script

Posted under Article, Featured, Mysql on Sunday, 19 July 2009 by Jack
The script can be put into crontab, the early morning once a day, automatic backup of this script only once a day, and only the most recent five-day backup on the server. Note: DumpFile = db $ (date +% y% m% d) if this must be set to release this script do the backup directory. DumpFile = "$...
Mysql automatic backup script

Mysql bin log files to remove the shell

Posted under Article, Mysql on Sunday, 19 July 2009 by Jack
Mysql bin log files to remove the shell script, share to everybody #!/bin/sh DELLOG="/usr/local/logs/del-sqlbin.log.`date +%d`" DELTMP="/usr/local/logs/del-sqlbin.tmp" MAIL_ADDR="xxx@xxx.xx" exec &>$DELLOG DT=`date +'%Y-%m-%d %T'` SINGLE=0 sleep 30 hostname echo `date...
Mysql bin log files to remove the shell

Apache+Tomcat+Mysql load balancing and clustering

Posted under Article, Java, Mysql on Sunday, 19 July 2009 by rueben
Recently developed a Web site, it is estimated that the maximum online 30000, up to 100 concurrent. Development site can stand the pressure, how to ensure that there is no problem loading the site, after decisions are as follows: The use of load balancing and clustering Stress-testing tool...
Apache+Tomcat+Mysql load balancing and clustering