This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Website_Model_Product extends Object_Concrete | |
{ | |
/** | |
* Retreive the values in an array | |
* | |
* @return array | |
*/ | |
public function toArray() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$nationals = array( | |
'Afghan', | |
'Albanian', | |
'Algerian', | |
'American', | |
'Andorran', | |
'Angolan', | |
'Antiguans', | |
'Argentinean', | |
'Armenian', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CCA2 | Name | CCA3 | Nationality | |
---|---|---|---|---|
AD | Andorra | AND | Andorran | |
AE | United Arab Emirates | ARE | Emirati | |
AF | Afghanistan | AFG | Afghan | |
AG | Antigua and Barbuda | ATG | Antiguan, Barbudan | |
AI | Anguilla | AIA | Anguillian | |
AL | Albania | ALB | Albanian | |
AM | Armenia | ARM | Armenian | |
AN | Netherlands Antilles | ANT | Dutch | |
AO | Angola | AGO | Angolan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zcat DATABASE_BACKUP.sql.gz | mysql -u DB_USERNAME -p DB_NAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "https://fonts.googleapis.com/css?family=Lato:400,300,400italic,700,700italic"; | |
@import "https://fonts.googleapis.com/css?family=Roboto+Slab:700,400"; | |
#header .aui-header | |
{ | |
background-color: #343131; | |
border-bottom: 1px solid #222222; | |
} | |
#title-text a | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AF": { | |
"name": "Afghanistan", | |
"iso2": "AF", | |
"iso3": "AFG", | |
"nationality": "Afghan", | |
"code": "004", | |
"prefix": "93" | |
}, | |
"AL": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//src/library/App/Entity/CallerPermission.php | |
namespace App\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* @ORM\Entity | |
* @ORM\Table(name="lock_caller_permission") | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Hide directories and files | |
Options -Indexes | |
#Set Enviroment Varaibles | |
SetEnv APPLICATION_ENV "development" | |
# Enable the rewrite engine | |
RewriteEngine On | |
# redirect non www to www |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://blog.anorgan.com/2015/01/15/using-google-analytics-api-with-php/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var App = angular.module('App', []); |
OlderNewer