Category Archives: Tutorial

Add XAMPP In mac

    • Download xampp with php 7 or any other version you like from XAMPP
    • Install Xampp and make sure localhost/ works
    • install sequel pro or any sql IDE to check the mysql (with host :127.0.0.1 and any given name)
    • Use PhpStorm or Netbeans or from terminal and clone the project
    • modify the following modification in /Applications/XAMPP/xamppfiles/etc/extra/httpd.conf

find “Require all denied” and comment it is as :

#Require all denied

add “Allow from all” after it; then it should be like :

<Directory />
	AllowOverride none
	#Require all denied
	Allow from All
</Directory>
    • uncomment #Include etc/extra/httpd-vhosts.conf
  • add 127.0.0.1 cp.teensafe.dev to /etc/hosts
    •  add the following in /Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf depends on your project location
<VirtualHost *:80>
	DocumentRoot "/Users/USER_NAME/PATH_TO_CODE"
	ServerName cp.teensafe.dev
	ServerAlias cp.teensafe.dev
	<Directory "/Users/USER_NAME/PATH_TO_CODE"
		Options Indexes FollowSymLinks
		AllowOverride All
		Order allow,deny
		Allow from all
	</Directory>
</VirtualHost>

 

How to download video from youtube

iTunesArtwork@2xAlmost everybody who used youtube had this question “how to download video from youtube?” Because youtube is part of Google, you can not download youtube videos from Chrome, but there is a very cool and easy Add-on (or plugin) for Firefox that you can download your favorite videos from youtube in different formats (MP4,webm, flv,..)  and quality (HD, 720p, 480p,…) depend on original video.

Reade more