-
Framework
-
Router
- mu - A tweet-sized PHP micro-router.
'use strict'; | |
var React = require('react/addons'); | |
var _ = require('lodash'); | |
var setClass = React.addons.classSet; | |
var MediaObject = React.createClass({ | |
render: function () { | |
var classes = setClass({ | |
'media-left': this.props.horizontalAlignment === 'left', |
FROM ansible/centos7-ansible:stable | |
# or, for example, FROM ansible/ubuntu14.04-ansible:stable | |
RUN yum install -y tar | |
RUN ansible-galaxy install geerlingguy.java | |
RUN ansible-galaxy install https://github.com/silpion/ansible-maven.git | |
# Add playbooks to the Docker image | |
COPY site.yml / |
#user nobody; | |
#Defines which Linux system user will own and run the Nginx server | |
worker_processes 1; | |
#Referes to single threaded process. Generally set to be equal to the number of CPUs or cores. | |
#error_log logs/error.log; #error_log logs/error.log notice; | |
#Specifies the file where server logs. |
#!/bin/bash | |
## Update fail2ban iptables with globally known attackers. | |
## Actually, runs 100% independently now, without needing fail2ban installed. | |
## | |
## /etc/cron.daily/sync-fail2ban | |
## | |
## Author: Marcos Kobylecki <[email protected]> | |
## http://www.reddit.com/r/linux/comments/2nvzur/shared_blacklists_from_fail2ban/ |
#cloud-config | |
hostname: <your hostname> | |
ssh_authorized_keys: | |
- ssh-rsa < your Public SSH key AAAAB3NzaC1... > | |
coreos: | |
etcd: | |
addr: $private_ipv4:4001 |
[program:tomcat6] | |
command=/opt/tomcat6-instance/bin/supervisor-wrapper.sh |
<?php | |
namespace SatellizerServer\Factory; | |
use Zend\ServiceManager\DelegatorFactoryInterface; | |
use Zend\ServiceManager\ServiceLocatorInterface; | |
class CryptoTokenServerFactory implements DelegatorFactoryInterface | |
{ | |
public function createDelegatorWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName, $callback) | |
{ |
[Unit] | |
Description=Fluentd | |
Documentation=http://www.fluentd.org/ | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/fluentd -d /run/fluentd.pid | |
PIDFile=/run/fluentd.pid | |
Restart=on-failure |
<?php namespace Nelissen\LooseCI\Services; | |
use Nelissen\LooseCI\Repositories\Room\RoomRepositoryInterface; | |
use Nelissen\LooseCI\Repositories\Booking\BookingRepositoryInterface; | |
use Nelissen\LooseCI\Repositories\Booker\BookerRepositoryInterface; | |
use Nelissen\LooseCI\Models\Room; | |
use Nelissen\LooseCI\Models\Booker; | |
use Nelissen\LooseCI\Exceptions\BookingExceedsRoomCapacityException; | |
/** |