The Updated version of MAMP Pro is saving the databases on a different location. I have installed the MAMP Pro for all users of the machine and can find one here /Macintosh HD/Library/Application Support/appsolute/MAMP PRO/db/mysql/ If the MAMP installation is for specific users, we can find it here /Macintosh HD/Users/username/Library/Application Support/appsolute/MAMP PRO/db/mysql/
I was developing a module using PHP and AngularJS and had to post a form with few fields and a file upload. I did not get any post which to describe the process of adding fileds and logo with AngularJS. I found many blogs for single and multiple file upload methods but not with fields. Continue reading…
.htpasswd is a flat-file used to store usernames and password for basic authentication on an Apache HTTP Server. The name of the file is given in the .htaccess configuration, and can be anything although “.htpasswd” is the canonical name. The file name starts with a dot, because most Unix-like operating systems consider any file that begins with dot to be hidden.
An access control list (ACL), is a list of permissions assigned to a site user. An ACL specifies which users processes are granted access to objects, as well as what operations are allowed on given users. Each entry in a typical ACL specifies a subject and an operation. For instance, if a file object has an ACL that contains (Alice: read,write; Bob: read), this would give Alice permission to read and write the file and Bob to only read it.
The POST method which angular uses send data using JSON format and in PHP Script we will not be able to receive POST data by simply writting $_POST directly.
In Angular js we can use ng-class to add a class and we can pass a filter if we want to conditionally add the class based on the data passed.
We can Collapse or Expand full angular ui tree by adding the buttons with the ng-controller scope
VLC media player (commonly known as VLC) is a portable, free and open-source, cross-platform media player and streaming media server written by the VideoLAN project.
VLC media player supports many audio and video compression methods and file formats, including DVD-Video, video CD and streaming protocols. It is able to stream media over computer networks and to transcode multimedia files.
Instead of individually calling
$("#item").removeClass() for every single class an element might have, there is a single function which can be called which removes all CSS classes from the given element?