January 2011 archive

Execute PHP Script from command line in Ubuntu

Some times there is a great requirement to execute some codes of PHP immediately, but for that we have to format the output according to HTML format since generally PHP scripts are executed using LAMP. For example if we want to fetch some data from a table of RDB using PHP and need to see …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/execute-php-script-from-command-line-in-ubuntu/

How to Install and Use TeamViewer on Linux

TeamViewer is one of the most popular remote desktop software because it is really easy to use and it has support for different operating systems. Although its main function is to remote control a desktop for technical support, it also has file sharing and presentation features. If you are using Linux, you can easily install …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/how-to-install-and-use-teamviewer-on-linux/

How to Crack Password-protected Zip Files Using Linux

In case you or your friend has forgotten the password of your password-protected .zip file that may contain important documents, music, there is really no need to worry as there are plenty of password crackers available out there. If you are using Linux, I highly recommend you download and use FCrackZip. FCrackZip is a simple, …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/how-to-crack-password-protected-zip-files-using-linux/

How to Open/Extract RAR files in Ubuntu Linux

How to Open/Extract RAR files in Ubuntu Linux If you happen to download a file that contains .rar extension, you will have to unpack or extract it first in order to view or use its content since it is a compressed or archived file. RAR is a proprietary documented archive file format that supports data …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/how-to-openextract-rar-files-in-ubuntu-linux/

Flash Effect Image Loading with Jquery

Load images with flash effect using jquery. It is very useful script to loading images with nice effect on your web projects and also simple just seven lines of code. CODE <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js”></script> <script type=”text/javascript”> $(document).ready(function() { var i = 0; $(‘#imagesdiv img’).clone().appendTo($(‘#imagesdiv’)); $(‘#imagesdiv img’).each(function() { var me = this; $(this).hide() var j = …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/flash-effect-image-loading-with-jquery/

Permanent link to this article: https://blog.openshell.in/2011/01/searching-techniques-with-sql/

Reset Forgotten MySQL Root Password

Reset MySQL Root Password in Linux: You can reset forgotten MySQL database server password with following five easy steps in ubuntu. Step 1: Stop the MySQL server process. /etc/init.d/mysql stop Step 2: Start the MySQL (mysqld) server/daemon process with the –skip-grant-tables option so that it will not prompt for password. mysqld_safe –skip-grant-tables Step 3: Connect …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/reset-forgotten-mysql-root-password/

CSS Tricks (Minimum Width for a Page)

Minimum Width for a Page A very handy CSS command that exists is the min-width command, whereby you can specify a minimum width for any element. This can be particularly useful for specifying a minimum width for a page. Unfortunately, IE doesn’t understand this command, so we’ll need to come up with a new way …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/css-tricks-minimum-width-for-a-page/

Enable curl for PHP

We come across web applications which are written in PHP and require curl extension. PHP curl functions can used through use of libcurl. The libcurl was create by Daniel Sternberg. With the help of libcurl you can connect and communicate with webserver using different protocols. cURL stands for Client for URLs. It allows us to …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/enable-curl-for-php/

CSS trick (CSS RESET BY ERIC MEYER)

CSS RESET This piece of CSS code resets all the browser default styles preventing any browser inconsistencies in your CSS styles. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/css-trick-css-reset-by-eric-meyer/