Skip to content

Instantly share code, notes, and snippets.

@auipga
auipga / gist:8142803018129856375c9e26eb3715b9
Last active July 30, 2019 15:04 — forked from beregond/gist:4373142
Allows to abandon necessity to define all setters and getters in Doctrine's entities (works perfectly with Symfony + Doctrine + Twig).
<?php
namespace Vendor\TestBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* General class for all entities.
*/
@auipga
auipga / composer.php.ini
Last active October 25, 2018 09:02 — forked from fprochazka/composer.php.ini
Composer with different ini or with different PHP
[php]
memory_limit = -1
max_execution_time = 0
date.timezone = "Europe/Prague"
realpath_cache_size = "4096K"
extension=iconv.so
[opcache]
opcache.enable = 1
opcache.enable_cli = 1
@auipga
auipga / iperf3.service
Last active October 7, 2024 20:06 — forked from mmasaki/iperf.service
systemd service unit for iperf3
# /etc/systemd/system/iperf3.service
# User service: $HOME/.config/systemd/user/iperf3.service
[Unit]
Description=iperf3 server
After=syslog.target network.target auditd.service
[Service]
ExecStart=/usr/bin/iperf3 -s