web services

Need a website, web app OR API?

  • Blog
  • About Me
    • who am i?
    • Skills
    • Experience
    • Recommendations
    • Education
    • My Activities
  • IT Services
  • Write Me
  • Blog
  • About Me
    • who am i?
    • Skills
    • Experience
    • Recommendations
    • Education
    • My Activities
  • IT Services
  • Write Me

Blog

  • Databases
  • MySQL

How to create a MySQL user and database with permissions?

February 5, 2018
by Danyal Ali Butt
2 min read

To create a MySQL database and user, go through following steps: Step 1: Through the command line, log in to MySQL as the root user. mysql -u root -p Step 2: Enter MySQL root user’s password and press enter. Step 3: In...

Continue reading

  • Ubuntu 16.04

Ubuntu 16.4 Error network service is not compatible?

January 29, 2018
by Danyal Ali Butt
1 min read

Hi Folks, Quick tip of the day: If you are running Ubuntu 16.04 and ever face issue; Ubuntu camplaining Network service is not compatible? Reason could be: Either improper shutdown or if you interrupted updates, or may be some...

Continue reading

  • Symfony

Migrating to Symfony 3.4 to 4.0 with Flex

January 28, 2018
by Danyal Ali Butt
1 min read

Looking forward to migrate Symfony 3.4 to 4 with Flex, here I found really well explained process. [Part 1/2] Migrating to Symfony 4.0 with Flex [Part 2/2] Migrating to Symfony 4.0 with Flex

Continue reading

  • PHP
  • Symfony

Fixing Generic Symfony 3.3 to 3.4 Deprecations

January 28, 2018
by Danyal Ali Butt
1 min read

If you are running Symfony 3.3 and want to migrate to Symfony 4 here I found really good tutorial, just follow the link.

Continue reading

  • Laravel
  • PHP

Self relation in laravel eloquent

January 25, 2018
by Danyal Ali Butt
2 min read

Use case:  Suppose you need to store endless parent child objects in single table. Example: Categories Comments Users In my case, I would like to store users with relation of (Administrator & Manager) in single table. ...

Continue reading

  • Laravel 5.5
  • PHP

PHPUnit test environment with Laravel 5.5

January 13, 2018
by Danyal Ali Butt
1 min read

Laravel provides fully covered online documentation. But if you are still wondering, how to run PHPUnit tests in Laravel 5.5 with testing environment config.   It’s quite simple: The proper way is to create testing...

Continue reading

  • File System
  • Ubuntu 16.04

How to mount partition in Ubuntu

November 15, 2017
by Danyal Ali Butt
1 min read

Problem: If you want to mount new NTFS partition or have a partition is not accessible any more, run following steps. Note: In case you are trying to mount external drive, and can’t list it using df -h try  lsblk it will...

Continue reading

  • CMS
  • Heandy Tips
  • PHP

Drupal7 Clean URLs

September 15, 2017
by Danyal Ali Butt
1 min read

If you are runing drupal7 site on shared hosting with apache2, you definitely don’t have access to the apache2 config files. And that will cause problem activating Clean URLs, but this can be solved by adding rewrite in...

Continue reading

  • Heandy Tips

PHP File Handling – CRUD

September 5, 2017
by Danyal Ali Butt
1 min read

Quick tips, how to work with basic filesystem in PHP. Create a File (implicitly creates file): $my_file = 'file.txt'; $handle = fopen($my_file, 'w') or die('Cannot open file: '.$my_file); Open a File (open file for writing...

Continue reading

  • Ubuntu 16.04

Ubuntu 16.04 WIFI is not working on Lenovo Y520

August 27, 2017
by Danyal Ali Butt
1 min read

Hi Fellows, Right after installing dual boot windows+ubuntu on Lenovo Y520, I found wifi was disabled & was not listing any available wifi. Did some research and figured out that wifi is being blocked, if you are having same...

Continue reading

Previous 1 2 3 Next
Copyright © 2018. Powered by WordPress.
  • Blog
  • About Me
    • who am i?
    • Skills
    • Experience
    • Recommendations
    • Education
    • My Activities
  • IT Services
  • Write Me
  • Blog
  • About Me
    • who am i?
    • Skills
    • Experience
    • Recommendations
    • Education
    • My Activities
  • IT Services
  • Write Me
  • Blog
  • About Me
    • who am i?
    • Skills
    • Experience
    • Recommendations
    • Education
    • My Activities
  • IT Services
  • Write Me