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 UserManager | |
{ | |
protected $couchbase; | |
public function __construct(\Couchbase $couchbase) | |
{ | |
$this->couchbase = $couchbase; | |
} |
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
#!/bin/sh | |
sudo apt-get update | |
sudo apt-get purge bcmwl-kernel-source broadcom-sta-common broadcom-sta-source | |
sudo apt-get install b43-fwcutter firmware-b43-installer | |
sudo modprobe b43 |
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
default: help | |
help: | |
@echo "Targets:" | |
@echo " - test" | |
@echo " - lint" | |
@echo " - phploc" | |
@echo " - phpcs" | |
@echo " - phpunit" |
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
#!/bin/bash | |
# http://blog.yohanliyanage.com/2015/05/docker-clean-up-after-yourself/ | |
docker rm -v $(docker ps -a -f status=exited -q) | |
docker rmi $(docker images -f "dangling=true" -q) | |
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker:/var/lib/docker martin/docker-cleanup-volumes |
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
version: '2' | |
services: | |
agent_1: | |
environment: | |
AGENT_NAME: agent_1 | |
DOCKER_IN_DOCKER: start | |
SERVER_URL: http://server:8111 | |
container_name: teamcity_agent_1 | |
depends_on: |