This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Acme\Serializer\Normalizer; | |
| use Doctrine\Common\Collections\ArrayCollection; | |
| use Doctrine\Common\Collections\Collection; | |
| use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; | |
| use Symfony\Component\Serializer\Normalizer\NormalizerInterface; | |
| use Symfony\Component\Serializer\Normalizer\SerializerAwareNormalizer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| # Gzip Settings | |
| ## | |
| gzip on; | |
| gzip_disable "msie6"; | |
| gzip_vary on; | |
| gzip_proxied any; | |
| gzip_min_length 256; | |
| gzip_comp_level 6; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * ArrayCollection | |
| */ | |
| function ArrayCollection() | |
| { | |
| this.ids = []; | |
| this.items = []; | |
| } | |
| /** |
Boot scripts for a Raspberry Pi with a Pimoroni Display-o-Tron 3000 (ST7036
character LCD over SPI, SN3218 RGB backlight over I2C, and a 5-way joystick).
The gist is private: git@gist.github.com:/ad7dd2f30fbff5747522.git.
welcome.py— boot logo for ~3s, then clears.ip.py— long-running joystick listener (the systemd main process):- RIGHT → show IP (tries
eth0thenwlan0, labelledeth/wifi)
I hereby claim:
- I am tom32i on github.
- I am tom32i (https://keybase.io/tom32i) on keybase.
- I have a public key whose fingerprint is 2810 CAEA A0DC 73B9 499A 33AE 6B69 B873 EA2B 1759
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| +-----------------------------------------------------------------------------+ | |
| | | | |
| | A0. 0000 | | |
| | AAV 0000 | | |
| | AAV 0000 | | |
| | _.n0000n._°0Q 0000 _.aaAaa._ _.aaAaa._ | | |
| | .o0AAAAAAAAA0o. 0000 .00000"""00000. .00000"""00000. | | |
| | 0AAP° °QAA0 0000 000° °000 000° °000 | | |
| | 0AV VAA 0000 000 000 000 000 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Event Emitter | |
| */ | |
| function EventEmitter () | |
| { | |
| this.element = document.createElement('div'); | |
| } | |
| /** | |
| * Emit a new event |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Choice | |
| * | |
| * @param {Sring} id | |
| */ | |
| function Choice(id) | |
| { | |
| this.element = $(document.getElementById(id)); | |
| this.choices = []; |