- install Kodi 18
- install Netflix plugin from: https://github.com/asciidisco/plugin.video.netflix
- copy ** libwidevine.dylib** to $HOME/Library/Application Support/Kodi/cdm
https://redirector.gvt1.com/edgedl/widevine-cdm/970-mac-x64.zip
| /** | |
| * callback for array_filter to get array without element with $id | |
| */ | |
| class idNotEqual { | |
| private $id; | |
| function __construct($id) { | |
| $this->id = $id; | |
| } |
| public function del_slow($id) { | |
| $offset = 0; | |
| foreach ($this->products as $p) { | |
| if ($p->getId() == $id) { | |
| array_splice($this->products, $offset, 1); | |
| break; | |
| } | |
| $offset++; | |
| } | |
| } |
| class BowlingGame { | |
| private $rolls = array(); | |
| private $currentRoll = 0; | |
| public function __construct() { | |
| for ($i = 0; $i < 21; $i++) { | |
| $this->rolls[$i] = 0; | |
| } | |
| } |
| // dbconfig.json | |
| { | |
| "server": "localhost", | |
| "dbname": "cl_shop", | |
| "user" : "root", | |
| "pass" : "root" | |
| } | |
| // class definition | |
| class DB { |
| moved |
| βββββββββββββββββββββββββ¦ββββββββββββββ¦βββββββββββββ¦βββββββββββββββ¦βββββββββββββ¦βββββββββββββ | |
| β PHP Project β Classes β Methods β Properties β Functions β Variables β | |
| β ββββββββββββββββββββββββ¬ββββββββββββββ¬βββββββββββββ¬βββββββββββββββ¬βββββββββββββ¬βββββββββββββ£ | |
| β Akelos Framework β PascalCase β camelCase β camelCase β lower_case β lower_case β | |
| β CakePHP Framework β PascalCase β camelCase β camelCase β camelCase β camelCase β | |
| β CodeIgniter Framework β Proper_Case β lower_case β lower_case β lower_case β lower_case β | |
| β Concrete5 CMS β PascalCase β camelCase β camelCase β lower_case β lower_case β | |
| β Doctrine ORM β PascalCase β camelCase β camelCase β camelCase β camelCase β | |
| β Drupal CMS β PascalCase β camelCase β camelCase β lower_case β lower_case β | |
| β Joomla CMS β PascalCase β camelCase β camelCase β camelCase β camelCase β |
| const SocialIcons = | |
| [ | |
| "glass", | |
| "music", | |
| "search", | |
| "envelope-o", | |
| "heart", | |
| "star", | |
| "star-o", | |
| "user", |
https://redirector.gvt1.com/edgedl/widevine-cdm/970-mac-x64.zip
| <services> | |
| <!--REPOSITORY--> | |
| <service id="test.provider_low_level_config_repository" class="mysiar\AppBundle\Repository\ConfigRepository"> | |
| <factory service="doctrine.orm.entity_manager" method="getRepository" /> | |
| <argument type="string">mysiar\AppBundle\Entity\Config</argument> | |
| </service> | |
| </services> |