Skip to content

Instantly share code, notes, and snippets.

View dhavalv's full-sized avatar

Dhaval Tailored dhavalv

  • Tailored Solution Pvt Ltd
  • Ahmedabad
View GitHub Profile
@dhavalv
dhavalv / selenium_phpunit.md
Last active November 22, 2016 05:25
Selenium and PHPUnit Test

How to Install selenium and what's depedency for that?

  • Download a distribution archive of Selenium Server
  • Unzip the distribution archive and copy selenium-server-standalone-xx.xx.x.jar (check the version suffix) to a folder from where you will run the server (such as /usr/local/bin).
  • Start the Selenium Server by running the following command:
java -jar /usr/local/bin/selenium-server-standalone-x.xx.x.jar
@dhavalv
dhavalv / PHP_Question_and_answer.md
Created October 15, 2016 07:15
Career Builder with reading question and answer
  1. What is PHP?

PHP is a web language based on scripts that allows developers to dynamically create generated web pages.

  1. What does the initials of PHP stand for?

PHP means PHP: Hypertext Preprocessor.

  1. Which programming language does PHP resemble to?
@dhavalv
dhavalv / question_answers_notes.md
Last active October 15, 2016 06:57
Question and answers notes

Composer

  • Question: What is Composer?

    • Composer is an application-level package manager for the PHP.
  • Question: Why Composer is used?

    • Composer provides a standard format for managing dependencies of PHP software.
    • Composer installs the dependencies libraries.
    • Composer provides autoload capabilities for libraries.
  • Question: Where composer is used?

Inteview Question and answers for your career in PHP and MySql World

Oops Question and answers:

  1. What is OOPS? OOPS is abbreviated as Object Oriented Programming system in which programs are considered as a collection of objects. Each object is nothing but an instance of a class.

  2. Write basic concepts of OOPS? Following are the concepts of OOPS and are as follows:.

  • Abstraction.
  • Encapsulation.
@dhavalv
dhavalv / laravel-4-to-5.md
Last active May 30, 2016 11:52
How to upgrade laravel 4 to latest version(5.2)?
@dhavalv
dhavalv / 360_ajax_zoom.md
Created May 11, 2016 11:41
For 360 video player

AjaxZoom play 360 Degree video

  • Install and configure Ioncube to Xampp REFERENCE

  • How to install Ioncube Loader on CentOS, Debian and Ubuntu REFERENCE

  • Installation steps: It's for xampp version

  1. Download Ioncube Into /opt/lampp directory For 64Bit x86_64 Linux:
sudo wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.bz2
@dhavalv
dhavalv / php_design_patterns.md
Last active May 11, 2016 04:44
Knowlege and Helpful references for studying about PHP Design Patterns
@dhavalv
dhavalv / laravel_everyone_should_know.md
Last active May 10, 2016 13:22
Laravel packages everyone should know

Laravel packages everyone should know

$user->created_at->format(‘H:i’); 
$tomorrow = Carbon::now('Europe/Vilnius')->addDay();
$howOldAmI = Carbon::createFromDate(1975, 5, 21)->age; 
@dhavalv
dhavalv / xampp_autostart_in_ubuntu.md
Created May 6, 2016 03:59
How to start XAMPP automatically in Ubuntu

How to start Xampp automatically in Ubuntu

We need to start below command when we start out system everytime

sudo /opt/lampp/lampp start

Now, We don't need start everytime, just create one script for handling autostart process into Ubuntu

  • Open terminal and type below Command
sudo gedit /etc/init.d/lampp 
@dhavalv
dhavalv / httpd-xampp-help.md
Last active September 7, 2024 15:24
How to access PhpMyadmin on xampp in linux (Ubuntu)via IP Address?

How to access PhpMyadmin via IP Address?

Change configuarion of httpd-xampp.conf into Xampp V1.4.3 [php v5.5/5.6]
  • Go to /opt/lampp/etc/extra and open file httpd-xampp.conf find code:
# since XAMPP 1.4.3
<Directory "/opt/lampp/phpmyadmin">
    AllowOverride AuthConfig Limit
    Require local
    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var