Skip to content

Instantly share code, notes, and snippets.

View christian-kolb's full-sized avatar

Christian Kolb christian-kolb

View GitHub Profile
// -- Types
export interface Form<T extends FormControls> {
isValid: boolean;
submitted: SubmittedFunction;
controls: T;
}
export type FormControls = Record<string, FormControl<any>>;
export interface FormControl<T> {
tools/vendor/bin/phpbench run --report=aeon '--progress=none'
DayIterationBench
+------+-------------------------------------------------+-----+------+------------+----------+--------------+----------------+
| iter | subject | set | revs | mem_peak | time_avg | comp_z_value | comp_deviation |
+------+-------------------------------------------------+-----+------+------------+----------+--------------+----------------+
| 0 | bench_aeon_iteration_over_last_half_of_the_year | | 50 | 8,165,376b | 11.079ms | -1.15σ | -2.97% |
| 1 | bench_aeon_iteration_over_last_half_of_the_year | | 50 | 8,165,376b | 11.076ms | -1.16σ | -3.00% |
| 2 | bench_aeon_iteration_over_last_half_of_the_year | | 50 | 8,165,376b | 11.716ms | +1.00σ | +2.60% |
| 3 | bench_aeon_iteration_over_last_half_of_the_year | | 50 | 8,165,376b | 11.769ms | +1.18σ | +3.07% |
| 4 | bench_aeon_iteration_over_last_half_of_
@christian-kolb
christian-kolb / app-config-config.yml
Created August 5, 2016 08:57
Http basic auth with FOSUserBundle
fos_user:
db_driver: orm
firewall_name: main
user_class: Company\YourBundle\Entity\User

Keybase proof

I hereby claim:

  • I am christian-kolb on github.
  • I am liplex (https://keybase.io/liplex) on keybase.
  • I have a public key whose fingerprint is 9ACB 640D AECC 936C 5F06 BCFC 2FE4 5BC4 693D 85F4

To claim this, I am signing this object:

<?php
define('BYPASS_TOKEN_CHECK', true);
require('system/initialize.php');
class UpdateHomeDirectories extends Frontend {
public function __construct()
{
parent::__construct();
<?php
define('BYPASS_TOKEN_CHECK', true);
require('system/initialize.php');
class Reset extends Frontend {
public function __construct()
{
parent::__construct();