Skip to content

Instantly share code, notes, and snippets.

View linkanp's full-sized avatar

Linkan Pagal linkanp

View GitHub Profile

PHP

  1. What will the following code block output?
for($i = 0; $i < 10; $i++){
    echo $i;
    if($i > 8){
      echo '!';
    } else {
      echo '';
 }
@linkanp
linkanp / Drupal_Environment_Setup.md
Last active December 24, 2018 04:01
Drupal Environment Setup

Drupal Environment on Ubuntu 16.04

Installation List

Installation Drush 8.x (Compatible with Drupal 7 or 8)

Install composer globally:

@linkanp
linkanp / php_environment_setup_ubuntu.md
Last active October 24, 2022 19:10
PHP 5.6 Development Environment on Ubuntu 16.04

PHP 5.6 Development Environment on Ubuntu 16.04

As a PHP developer on Ubuntu, we may need to re setup our development environment sometimes. I did it already a few times, so decided to write down the steps for a typical php development environment on ubuntu. My Ubuntu version is 16.04.

Installation List