Month: July 2015

Password Protect a WordPress site with htaccess

htpasswd authname authentication

.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.

Access control list

Access control list

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.

Most Useful VLC Keyboard Shortcuts for OS X

VLC media player

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.

JavaScript Use Strict


use strict Defines that JavaScript code should be executed in “strict mode” only i.e.don’t use undeclared variables.Strict mode makes it easier to write “secure” JavaScript.

HTML5 new form input attributes


HTML5 Attributes HTML5 added the following attributes for <input>: required placeholder min and max autocomplete autofocus form formaction formenctype formmethod formnovalidate formtarget height and width list multiple pattern (regexp) step and the following attributes for <form>: autocomplete novalidate The required attribute The required attribute is a boolean attribute. When present, it specifies that an input…