Hits: 256 Git is a free distributed revision control, or software source code management project with an emphasis on being fast. Git was initially designed and developed by Linus Torvalds for Linux kernel development. Every Git working directory is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or [...]
Hits: 484 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/jWDmG3JnNLE&hl=en_US&fs=1&”></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/jWDmG3JnNLE&hl=en_US&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 [...]
Hits: 130 http://www.commandlinefu.com/commands/browse http://blog.commandlinekungfu.com/ http://www.shell-fu.org/ http://www.cyberciti.biz/ http://thecommandline.net/ http://cheat.errtheblog.com/ http://getfirebug.com/commandline.html http://xmlstar.sourceforge.net/ http://linuxcommand.org/ http://commandline.org.uk/ http://commandline.net/home.asp http://www.linuxguide.it/linux_commands_line_en.htm http://michaelminn.com/linux/command_line/ http://www.linuxclues.com/ http://www.go2linux.org/ http://www.yolinux.com/ http://www.linuxjournal.com/ http://www.linuxconfig.org/ http://www.linux.com/ http://www.howtoforge.com/ http://www.ehow.com/ http://www.yolinux.com/TUTORIALS/LinuxTutorialSysAdmin.html http://linuxsysadminblog.com/ http://librenix.com/
Hits: 125 Here is the PHP function that will remove empty key => value in PHP array… function array_trim($sv) { $s = 0; $svn = null; $c = count($sv); for($i = 0; $i < $c; $i++) { if($sv[$i] != “”){ $svn[$s++] = trim($sv[$i]); } } return $svn; } $svarray = array(‘ ‘, ‘svlinux’, ‘svnlabs’, ‘lamp’, ”); [...]









