$ mkdir -p beaglelfs/{sources,rootfs_install,boot_mnt,rootfs_mnt}
Download the latest i686 Binary TAR of the ARM GNU/Linux (glibc-based) Lite Toolchain:
""" | |
Determine IPv4 addresses on a Linux machine via the socket interface. | |
Thanks @bubthegreat the changes to make it Py2/3 compatible and the helpful | |
code comments: https://gist.github.com/pklaus/289646#gistcomment-2396272 | |
This version has all comments removed for brevity. | |
""" | |
import socket | |
import array | |
import struct |
<?php | |
namespace Acme\StudentBundle\Listener; | |
use Doctrine\Common\EventSubscriber, | |
Doctrine\ORM\Events, | |
Doctrine\ORM\Event\OnFlushEventArgs, | |
Doctrine\ORM\EntityManager, | |
DoctrineExtensions\Versionable\Entity\ResourceVersion; |
<?php | |
/** | |
* @license WTFPL (Do What the Fuck You Want to Public License) | |
* @author Daniel Bugl <[email protected]> | |
*/ | |
namespace TouchLay\HelperBundle\Component; | |
use Symfony\Component\HttpFoundation\JsonResponse; |
{ | |
"name": "my-app", | |
"version": "1.0.0", | |
"description": "My test app", | |
"main": "src/js/index.js", | |
"scripts": { | |
"jshint:dist": "jshint src/js/*.js", | |
"jshint": "npm run jshint:dist", | |
"jscs": "jscs src/*.js", | |
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", |
<?php | |
use Symfony\Component\PropertyAccess\PropertyAccessor; | |
use Symfony\Component\PropertyAccess\PropertyPath; | |
/** | |
* A property accessor that allows you to rewrite a property path for setters and getters. | |
*/ | |
class CustomPropertyAccessor extends PropertyAccessor | |
{ | |
/** |
window.getAllEventListeners = () => { | |
return Array.from(document.querySelectorAll('*')).map(element => { | |
const listeners = getEventListeners(element); | |
return { | |
element: element, | |
listeners: Object.keys(listeners).map(key => { | |
return { | |
event: key, |
# File EXT:your_ext/Configuration/Yaml/MyCustomActionBackend.yaml | |
TYPO3: | |
CMS: | |
Form: | |
prototypes: | |
# add our finisher to the 'standard' form prototype | |
standard: | |
formElementsDefinition: | |
Form: | |
formEditor: |