A list of amazingly awesome PHP libraries, resources and shiny things.
- Composer/Packagist - A package and dependency manager.
- Composer Installers - A multi framework Composer library installer.
#!/bin/bash | |
echo "Changing to home directory" | |
cd ~ | |
## Check for existence of .netrc file | |
if [ ! -f .netrc ]; then | |
echo ".netrc not configured." | |
fi |
version: '3.2' | |
services: | |
db: | |
image: mariadb:10.2 | |
container_name: db | |
environment: | |
- MYSQL_USER=pyr | |
- MYSQL_PASSWORD=pyr | |
- MYSQL_HOST=% | |
- MYSQL_ROOT_PASSWORD=password1 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; | |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; | |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; | |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; | |
# Dump of table example |
<?php | |
echo 'Begin Test<br/>'; | |
Interface C { | |
public function test($var); | |
} | |
echo 'Declared C<br/>'; |
let &viewdir=expand("$HOME") . "/.vim/views" | |
if !isdirectory(expand(&viewdir))|call mkdir(expand(&viewdir), "p", 451)|endif | |
set nocompatible | |
syntax enable | |
set encoding=utf-8 | |
filetype off " required for vundle | |
" Setting up Vundle - the vim plugin bundler | |
let iCanHazVundle=1 |
A list of amazingly awesome PHP libraries, resources and shiny things.
A list of amazingly awesome PHP libraries, resources and shiny things.
public function findAll(\Gacela\Criteria $criteria = null) | |
{ | |
$data = $this->_source() | |
->findAll( | |
$this->_source()->getQuery($criteria), | |
$this->_resource, | |
$this->_inherits, | |
$this->_dependents | |
); |