Useful command line codes in Linux

  • For adding PHP extension
    sudo apt-get install php7.0-zip
  • Installing Laraval(Globally)
    sudo composer global require "laravel/installer"
  • Adding composer to local Path
    curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
  • Reloading composer files.
    composer

HTML starter template for websites

<!doctype html>
 <html lang="en">
 <head>
 <title>Hello, world!</title>
 <!-- Required meta tags -->
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 <meta name="Keywords" content="The description text goes here">
 <meta name="description" content="The keywords goes here.">
 </head>
<body>

<h1>Hello, world!</h1>

</body>
</html>