Skip to content

Instantly share code, notes, and snippets.

View pitpit's full-sized avatar

Damien Pitard pitpit

View GitHub Profile
@pitpit
pitpit / miaouh
Created September 25, 2018 12:54
cat miaouh
(( /|_/|
\\.._.' , ,\
/\ | '.__ v /
(_ . / "
) _)._ _ /
'.\ \|( / ( miaouh
'' ''\\ \\
@pitpit
pitpit / README.md
Last active August 25, 2019 21:14
Lazy loading with angularjs, ui-router, webpack and typescript
@pitpit
pitpit / README.md
Last active March 21, 2023 11:32
gedmo/doctrine-extensions translatable behavior (or stof/doctrine-extensions-bundle) and alice fixtures

Translated alice fixtures for gedmo translatable entities

Here's a way that doesn't require any additional code to create translated fixtures via alice.

The example works with the single translation table from Gedmo (ext_translations) but I assume it also works in a multi tables model.

My entity:

#src/Entity/Article.php
@pitpit
pitpit / log
Created December 9, 2024 23:58
mistakenly uploading via USB on Kublet
* Executing task: platformio run --target upload --environment esp32dev
Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.9.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: