I hereby claim:
- I am patkar on github.
- I am patkar (https://keybase.io/patkar) on keybase.
- I have a public key whose fingerprint is F2B5 ECFC B95D 5115 F872 3E8D C49A 210D B714 0BFE
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the branch/status of the current git repository | |
# * the branch of the current subversion repository | |
# * the return value of the previous command | |
# | |
# USAGE: |
<?php | |
/* | |
* Copyright (c) 2014 Patrik Karisch | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is furnished |
<?php | |
namespace AppBundle\Form\Type; | |
use Sylius\Bundle\CartBundle\Form\Type\CartItemType as BaseCartItemType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
use Symfony\Component\OptionsResolver\OptionsResolverInterface; | |
/** | |
* We extend the item form type a bit, to add a variant select field |
# Adapt the variable name "package_version", the path of composer and the composer package name to your needs | |
Facter.add("package_version") do | |
setcode do | |
Facter::Util::Resolution.exec('/bin/bash -c "cd /var/www/my_project && [[ -f composer.lock ]] && /usr/local/bin/composer show -i acme/package | grep versions | awk \'{print \\$4}\'"') | |
end | |
end |
<?php | |
// typo3conf/ext/yourext/Configuration/TCA/Overrides/tt_content.php | |
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; | |
$fields = [ | |
'my_rte' => [ | |
'label' => 'Mein RTE', | |
'config' => ['config' => [ | |
'type' => 'text', |
#!/usr/bin/env bash | |
make_tmp_mount () { | |
orig=/var/www/project/$1 | |
shm=/run/shm/sulu/$1 | |
mkdir -p ${orig} | |
mkdir -p ${shm} | |
chown -R www-data:www-data ${shm} |
I hereby claim:
To claim this, I am signing this object:
<?php | |
namespace Client\Bundle\WebsiteBundle\Controller; | |
use Sulu\Bundle\WebsiteBundle\Controller\WebsiteController as BaseWebsiteController; | |
use Sulu\Component\Content\Compat\Structure\PageBridge; | |
use Sulu\Component\Content\Compat\StructureInterface; | |
use Sulu\Component\Util\SortUtils; | |
use Symfony\Component\HttpFoundation\Response; |