Friday, July 3, 2009

backup server

backup server

http://thuannvn.blogspot.com/2009/01/rsync-over-slow-wan-connections.html

http://sweemengs-tech-world.blogspot.com/2009/06/learned-how-to-use-rsync.html

Reload MBR from Grub

fixboot + site:blogspot.com

http://www.yolinux.com/TUTORIALS/LinuxTutorialRecoveryAndBootDisk.html

http://forums.fedoraforum.org/showthread.php?t=137916

http://hardwareforu.blogspot.com/2008/06/fixboot.html

http://mynewlaptop.blogspot.com/2008/06/correcting-windows-crashes.html

http://ultcomprepair.blogspot.com/2008/07/windows-xp-fix-bootini.html

http://opesh.blogspot.com/2007/06/restore-vistas-master-boot-loader.html

http://easytorepair.blogspot.com/2008/12/fix-bootcfg-commands-on-recovery.html

Wednesday, July 1, 2009

Install Eclipse WTP

Install Eclipse WTP

http://www.vogella.de/articles/EclipseWTP/article.html

http://confluence.sakaiproject.org/display/BOOT/Install+Eclipse+WTP

http://www.eclipse.org/webtools/community/tutorials/DevelopingWTP/DevelopingWTP.html

http://www.eclipse.org/pdt/downloads/

http://live.eclipse.org/

http://eclipse-info.blogspot.com/2009/06/eclipse-galileo-quick-glance.html

http://www.eclipse.org/Xtext/

http://planeteclipse.org/planet/rss20.xml

http://www.ibm.com/developerworks/opensource/library/os-eclipse-galileo/index.html?ca=drs-

NFS server Fedora 11

Setting up a Fedora NFS server

http://fconfig.wordpress.com/2006/08/17/setting-up-a-fedora-nfs-server/

http://www.server-world.info/en/note?os=Fedora_11

http://www.mjwired.com/

http://www.labtestproject.com/

http://2tbsp.com/node/40

Tuesday, April 28, 2009

Streamincloud.com

The h264 encoder can produce a higher quality video at a lower bitrate, saving you bandwidth costs. We encode all videos at 512kbps.

Load balancing server is capable of running simultaneously in an array of replicated servers to handle any volume of videos from our users.

http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1421

http://www.linuxjournal.com/article/9005

http://www.elctech.com/articles/installing-ffmpeg-with-faac-and-x264-encoders-from-source-on-ubuntu

http://research.edm.uhasselt.be/~h264/ (intro)

http://flowplayer.org/forum/7/12671

http://www.myownserver.info/index.php/additional-configurations-and-settings-linux/49-ffmpegpackagelinuxinstall.html

http://eugenia.gnomefiles.org/2008/10/23/h264-encoder-benchmark/

http://www.videolan.org/developers/x264.html

http://blogs.smugmug.com/don/2007/08/21/finally-flash-supports-h264-video/

http://www.flvhosting.com/help/viewthread.php?id=147

http://getonebyone.com/h264.html#Downloads

http://blog.monogram.sk/janos/2008/12/29/monogram-x264-encoder-1020/ (good)

http://ubuntuforums.org/showthread.php?t=786095

http://me.dm/blog/2009/01/using-cloudberry-explorer-with.php

http://streamincloud.com/examples/

http://www.youtubehq.info/convert-your-video-to-h264-for-free/

http://bradrhoads.blogspot.com/2009/03/flash-with-high-quality-video-mp4-with.html

http://videocodecs.blogspot.com/

http://videos-flash.blogspot.com/2007/01/flash-video-streaming-and-open-source.html

http://linux-tipps.blogspot.com/2008/08/hd-video-encoding-in-sync-with-ffmpeg.html

http://www.nazly.net/post/installing-ffmpeg-and-ffmpeg-php-on-centos-230/

http://juliensimon.blogspot.com/2008/12/howto-compiling-ffmpeg-x264-mp3-xvid.html

http://www.austenconstable.com/2008/08/06/howto-compiling-the-latest-ffmpeg-x264-on-centos-4/

http://www.mediacollege.com/


Happy streaming!

Monday, April 20, 2009

Resize YouTube Video

Here is the code how to resize youtube video embed code, even this code will work to non-youtube embed videos.....

<?php

$embed = '<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/SOiGqFceMYo&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/SOiGqFceMYo&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>';

//$alt = preg_match_all('/(width|height)=("[^"]*")/i', $embed, $matches);

$embed = preg_replace('/(width)=("[^"]*")/i', 'width="200"', $embed);
$embed = preg_replace('/(height)=("[^"]*")/i', 'height="200"', $embed);

echo $embed;

?>

Output here:



Now try to resize youtube player with php regular expression replace preg_replace()......

Sunday, April 19, 2009

Install PECL on Windows

PECL is a repository for PHP Extensions, providing a directory for php extensions and hosting facilities for downloading and development of PHP extensions.

We can use Xampp 1.7 with PECL on Windows!

Download PECL from here....
http://in2.php.net/get/pecl-5.2.6-Win32.zip/from/a/mirror

Using PECL we can improve web application's speed using APC ....
http://www.rooftopsolutions.nl/article/107

Sandeep Verma.

Friday, April 17, 2009

Javascript Event Log ~ Console

This is the javascript function used for tracking javascript events as in alert(). This may be replacement of alert() to better track the javascript events and error/success messages.

/*
Below is the function where to call console()
*/
window.document.onclick = function(){ console(window.event.target.onclick) };

function console(msg)
{

mywin = window.open('', 'console', 'width=500,height=150,left=800,top=800,scrollbars=yes,location=no');

if (mywin && msg!=null)
mywin.focus();

mywin.document.title='Javascript Console...';

if(msg!=null)
mywin.document.writeln('<div style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; border-bottom: 1px dotted #FFB64A; padding:4px;">'+msg+'</div>');
}

Thursday, March 26, 2009

Web Security

These are some useful links for web security:

http://www.selfseo.com/website_security_articles.php

http://www.askapache.com/htaccess/security-with-apache-htaccess.html

http://www.sitesecuritytips.com/how-to-check-website-security-2/

http://www.debian-administration.org/articles/465

http://www.watsonhall.com/methodology/top10-website-security-myths.pl

http://www.onlinesecurity-guide.com/

http://www.stopbadware.org/home/security

http://www.kent-website-designer.co.uk/website_security.html

http://www.phpfreaks.com/tutorial/php-security/

http://www.webmasters-central.com/t/siteprotection/images.shtml

http://daniel0.net/phpfreaks_tutorials/php_security/php_security.pdf

http://www.webmasters-central.com/t/siteprotection/email.shtml

http://www.owasp.org/index.php/Reviewing_Code_for_Cross-site_scripting

http://en.wikipedia.org/wiki/Cross-site_scripting

http://www.mobiledatanow.com

Enjoy Browsing........

How to convert video files into FLV by mobile device

1 - Create email (Mobile Profile) like username@domain.com using cpanel API or curl.
2 - Use this Email for sending video from mobile via internet to username@domain.com.
3 - Make a script for reading these email from user’s inbox by IMAP function.
4 - Create a cron job (every hour) for read/save these attached video to site in a folder.
5 - Make a script for converting these videos to FLV by ffmpeg and mail user about converted video by email.
6 - Enjoy videos. :)