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 | |
namespace API\V1\Entity; | |
use Doctrine\ORM\Mapping AS ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* @package Model | |
* @version |
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
// Generated on 2014-02-11 using generator-angular 0.7.1 | |
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,*/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
module.exports = function (grunt) { |
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 | |
namespace API\V1\Rest\HashTag; | |
use ZF\Apigility\Doctrine\Server\Resource\DoctrineResource; | |
class HashTagResource extends DoctrineResource | |
{ | |
public function findByType($type) { | |
$collection = $this->getObjectManager()->getRepository('API\\V1\\Entity\\HashTag')->findBy( |
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
/*jshint evil:true */ | |
'use strict'; | |
angular.module('angular-password-strength', []) | |
.directive('passwordStrength', function() { | |
return { | |
require: 'ngModel', | |
link: function(scope, elm, attrs, ctrl) { | |
ctrl.$parsers.unshift(function(viewValue) { |
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 | |
namespace API\Service | |
use HD\Api\Client\Client; | |
abstract class AbstractSearch | |
{ | |
protected $client; |
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 | |
#copy this script to the installation folder of the v5 | |
# | |
# Create new Release | |
# ./update.sh release /path/to/release; | |
# | |
# Update existing Clients | |
# ./update.sh update /path/to/release /path/to/build.properties; | |
# | |
# Setup new Release Structure |
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
vagrant@vagrant-ubuntu-saucy-64:/etc/nginx/conf.d$ varnishlog | |
0 CLI - Rd ping | |
0 CLI - Wr 200 19 PONG 1409742858 1.0 | |
0 CLI - Rd ping | |
0 CLI - Wr 200 19 PONG 1409742861 1.0 | |
0 Debug - "VCL_error(750, https://dev.api.clingr.de/site/mshwalbe/test)" | |
11 SessionOpen c 192.168.56.1 57864 :80 | |
11 ReqStart c 192.168.56.1 57864 912613504 | |
11 RxRequest c GET | |
11 RxURL c /site/mshwalbe/test |
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
elasticsearcg: localhost | |
rabbit-mq: localhost | |
every server under staging has this setting |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
require 'yaml' | |
require 'ipaddr' | |
settings = YAML.load_file 'vagrant.yml' | |
aws_settings = settings["aws"] | |
vm_settings = settings["vm"] | |
# Read YAML file with box details |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
require 'yaml' | |
# Read YAML file with box details | |
servers = YAML.load_file('servers.yml') | |
#ARGV | |
skip = 0 |