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
diff --git a/.babelrc b/.babelrc | |
new file mode 100644 | |
index 0000000..22bda1f | |
--- /dev/null | |
+++ b/.babelrc | |
@@ -0,0 +1,20 @@ | |
+{ | |
+ "presets": [ | |
+ ["env", { | |
+ "targets": { |
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
#!/usr/bin/env bash | |
while : ; do | |
output=$(bin/console doctrine:migrations:migrate --no-interaction 2> /dev/null) | |
status=$? | |
for version in $(echo "$output" | grep migrating | awk '{ print $3 }') | |
do | |
echo "Migrating to $version" | |
done |
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
#!/usr/bin/env bash | |
if [ $# -ne 2 ]; then | |
echo "Usage: $0 [command] [listener command]" | |
exit 1 | |
fi | |
pipe="/tmp/pipe-$(echo "$1" | md5sum)" | |
cleanup() { |
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
#!/usr/bin/env bash | |
# memusg -- Measure memory usage of processes | |
# Usage: memusg COMMAND [ARGS]... | |
# | |
# Author: Jaeho Shin <netj@sparcs.org> | |
# Created: 2010-08-16 | |
############################################################################ | |
# Copyright 2010 Jaeho Shin. # | |
# # | |
# Licensed under the Apache License, Version 2.0 (the "License"); # |
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
.issues-listing .Box-body-row .h3 { | |
font-size: 15px !important; | |
} | |
.label { | |
font-size: 11px !important; | |
} | |
body { | |
font-size: 13px !important; |
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
[alias] | |
fhopr = "!f() { git fetch origin pull/$1/head:pull-request/$1; }; f" | |
fhupr = "!f() { git fetch upstream pull/$1/head:pull-request/$1; }; f" |
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
doctrine: | |
orm: | |
entity_managers: | |
default: | |
metadata_cache_driver: | |
type: memcached | |
host: localhost | |
port: 11211 |
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 CoreContext | |
{ | |
private function iAmLoggedInAsRole($role, $email = 'sylius@example.com', array $authorizationRoles = array()) | |
{ | |
$user = $this->thereIsUser($email, 'sylius', $role, 'yes', null, array(), true, $authorizationRoles); | |
$token = new UsernamePasswordToken($user, $user->getPassword(), 'administration', $user->getRoles()); | |
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
private function iAmLoggedInAsRole($role, $email = 'sylius@example.com', array $authorizationRoles = array()) | |
{ | |
$this->thereIsUser($email, 'sylius', $role, 'yes', null, array(), true, $authorizationRoles); | |
$this->getSession()->visit($this->generatePageUrl('sylius_user_security_login')); | |
$this->fillField('Email', $email); | |
$this->fillField('Password', 'sylius'); | |
$this->pressButton('Login'); | |
} |
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
/** | |
${PARAM_DOC} | |
#if (${TYPE_HINT} != "void" && ${PARAM_DOC} != "") * | |
#end | |
#if (${TYPE_HINT} != "void") * @return ${TYPE_HINT} | |
#end | |
#if ((${TYPE_HINT} != "void" || ${PARAM_DOC} != "") && ${THROWS_DOC} != "") * | |
#end | |
${THROWS_DOC} | |
*/ |