Skip to content

Instantly share code, notes, and snippets.

View RicardoWEBSiTE's full-sized avatar
👨‍💻

Ricardo Nascimento RicardoWEBSiTE

👨‍💻
View GitHub Profile
@RicardoWEBSiTE
RicardoWEBSiTE / PHP.md
Created September 3, 2013 18:18
PHP References Documentation and Examples

MySQL

A database system.

Logging into MySQL

$ mysql

or

Objects

To create a new object, use the new keyword followed by a call to a constructor function. Javascript provides the Object() constructor out-of-the-box:

var toilet = new Object();

Properties

Once you have an object, you can set and get properties on it, like this:

@RicardoWEBSiTE
RicardoWEBSiTE / gist:4248343
Created December 10, 2012 04:12 — forked from saetia/gist:1623487
Clean Install – Mountain Lion OS X 10.8