Tag : Installation


PHP - How to compress PNG image using pngquant?

Today, In this tutorial, we will learn how to reduce png image size while uploading in core PHP. You can simply use this script in other PHP framework like Laravel, codeigniter, cake PHP etc. compress file size is very important for our server. If you have 4MB image then you have take large memory space to store and another thing it take time to load when you display on web page or application. But If you reduce image size then it more better for it take lass memory space and it take lass time to load image or file on web. Here we are going to use "pngquant" command-line utility and library f.....

By Hardik Savani | March 19, 2017 | | 429 Viewer | Category : PHP
READ MORE

Solved Issue - "/usr/bin/env: ‘node’: No such file or directory"

<br/> In this post i want to share one issue that i fetch. When i started working on my react js project first time on my ubuntu 16.04, i installed npm and then after i run bellow command: <pre> npm install -g create-react-app </pre> this way i installed create-react-app then after i created new command using create-react-app commands, so i run bellow command for create new app of reactjs. <pre> create-react-app hello-world </pre> But when i run above command i found one error <strong>"/usr/bin/env: ‘node’: No such file or directory"</strong>. I thought what will be issue, i searched on go.....

By Hardik Savani | February 24, 2017 | | 304 Viewer | Category : Installation Ubuntu Node JS React JS
READ MORE

How to create quick apache virtual host in Ubuntu?

We always require to create virtualhost on each project because we don't want to run each project manually, so it is better way to create virtual host address for each project when you development like as bellow: <pre> http://blog.dev http://test.dev http://example.dev http://demo.dev </pre> It will best way to run our project on local system. But if you want to create virtual host on ubuntu, you have to follow several step like site enabled, site enabled config, site directory permission, hosts entry and etc. You have to follow several step on each virtual host create time. I think it take a.....

By Hardik Savani | December 7, 2016 | | 440 Viewer | Category : Installation Ubuntu Server Apache
READ MORE

How to install composer using command line in ubuntu ?

Composer through we can get packages from git and use it in our project. But you require to install composer in your system for getting packages. You can get packages for core PHP, Laravel, codeigniter etc. So, If you are working on ubuntu OS and you require to install composer then this post will help you quickly install composer using terminal command line in your ubuntu system. First Open your terminal and fire bellow three commands, i listed just three command to install composer, you have to just run one by one: <pre class="prettyprint lang-php"> curl -sS https://getcomposer.org/install.....

By Hardik Savani | November 18, 2016 | | 679 Viewer | Category : PHP Laravel Installation Ubuntu
READ MORE

How to install laravel framework on windows xampp server from scratch?

Nowdays, Laravel is a most popular framework of PHP. Laravel provide lots of functionality like data migration, MVC, blade template etc. But if you don't know how to install laravel in your windows system then you can run laravel easily by following few step. In this installation we use xampp server for PHP. <strong class="step">Step 1: Install Xampp</strong> In this step we have to install xampp for PHP, if you haven't install xampp server in your system then you can donwload and install from here :<a href="https://www.apachefriends.org/download.html" target="_blank">Download xampp</a> make.....

By Hardik Savani | June 18, 2016 | | 3139 Viewer | Category : Laravel Installation
READ MORE

How to create virtual host in ubuntu apache?

we always like to create virtual host and run our project that way we can debug properly and run as like our website. But if you are working on ubuntu then we have always follow several step to create virtual host and that very long process. So, i found one package that provide virtualhost command that way we can create new virtual host and also delete virtual host command. so just follow bellow step: <strong class="step">Create virtualhost command</strong> <pre> $ cd /usr/local/bin $ wget -O virtualhost https://raw.githubusercontent.com/RoverWire/virtualhost/master/virtualhost.sh $ chmod +x.....

By Hardik Savani | June 14, 2016 | | 544 Viewer | Category : Installation Ubuntu
READ MORE

Install Sublime Text 3 in Ubuntu 14.04 using Terminal

Nowdays, Sublime Text Editor is a most popular text editor in the world. Sublime Text Editor 3 are provide several packages like CodeFormatter, GitGutter, Git, Sidebar etc and that's why it is most popular and wide used in today. If you want to install sublime text editor 3 in your ubuntu operating system then you can install easily using bellow terminal command. So just run bellow command and install sublime text editor. <strong>Command:</strong> <pre class="prettyprint lang-php"> sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-in.....

By Hardik Savani | May 18, 2016 | | 1354 Viewer | Category : Ubuntu Sublime
READ MORE

How to uninstall cordova and ionic in ubuntu

If you require to remove cordova and ionic from ubuntu then you uninstall using terminal command. you can uninstall cordova then you can just run bellow command. I added two command one for uninstall cordova and other uninstall ionic framework. <strong>Example:</strong> <pre class="prettyprint lang-php"> sudo npm uninstall -g cordova sudo npm uninstall -g ionic </pre>

By Hardik Savani | May 10, 2016 | | 3814 Viewer | Category : Installation Ubuntu Ionic Framework
READ MORE

How to Install Sublime Text Editor 3 in Ubuntu?

Sublime Text is a very popular text editor in nowdays. Most of the developer chooes Sublime Test for codding because it is very smooth and pretty easy. I think specially most of the PHP developer are chooes sublime for developing. If you are working on ubunu system then you can install very easily, so just run bellow command for install Sublime Text 3 in Ubuntu. <pre> sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-installer </pre>

By Hardik Savani | April 29, 2016 | | 581 Viewer | Category : Ubuntu Sublime
READ MORE

How to set ANDROID_HOME environment variable in ubuntu?

In this post i want to share with you how to set android home environment variable in ubuntu os. when i fatch this issue i tired to solve this issue because when i run my app i always found following error : <pre> The ANDROID_HOME environment variable is not set or it points to a non-existent directory. You will not be able to perform any build-related operations for Android. </pre> I found above error if i already install android in my ubuntu 14.04 system. But at last i found solution from my senior. First i download my android and and put that on any where that downloaded folder of android .....

By Hardik Savani | April 14, 2016 | | 6894 Viewer | Category : Installation Ubuntu
READ MORE

    How to add charts in Laravel 5 using Chart JS ?

    How to add charts in Laravel 5 using Chart JS ?

    Open Post

    How to make simple dependent dropdown using jquery ajax in Laravel 5?

    How to make simple dependent dropdown using jquery ajax in Laravel 5?

    Open Post

    PHP - File upload progress bar with percentage using form jquery example

    PHP - File upload progress bar with percentage using form jquery example

    Open Post

    Laravel 5 Instagram API tutorial with example

    Laravel 5 Instagram API tutorial with example

    Open Post

    Laravel 5 - Google reCaptcha code and Validation example using anhskohbo/no-captcha package

    Laravel 5 - Google reCaptcha code and Validation example using anhskohbo/no-captcha package

    Open Post

    Laravel 5 notification alert using bootstrap notify plugin example

    Laravel 5 notification alert using bootstrap notify plugin example

    Open Post