Posted in Symfony, 20.10.2018
Soll ein Command auf Services (z.B. Mail) zugreifen können, erstellt man den Command als ContainerAwareCommand. Statt: class customCommand extends ... weiterlesen »
Posted in Symfony, Twig, 22.01.2018
{% set bemerkungen_form %} {#% verbatim %#} <form action="{{ url('bemerkung', { 'id' : auftrag.id }) }}" method="POST"> <textarea name="text... weiterlesen »
Posted in PHP, 22.01.2018
function random_password( $length = 8 ) { $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_-=+;:,.?"; $... weiterlesen »
Posted in Symfony, 22.01.2018
im Form Type: ->add('skill', EntityType::class, [ 'class' => 'AppBundle:Skill', 'expanded' => true, ... weiterlesen »
Posted in Mysql, 22.01.2018
CREATE USER 'remote'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON *.* TO 'remote'@'localhost' WITH GRANT OPTION; CREATE USER 'remote'@'... weiterlesen »
Posted in Linux, Virtualbox, 22.01.2018
Ziemlich unnötigerweise hat sich mit ubuntu 17.10 die network/interfaces Konfiguration geändert. Das passiert jetzt per netplan und mittels einer yaml... weiterlesen »