Blah blah blah
<?php
echo "I'm PHP code";| var net = require('net') | |
| var users = (function() { | |
| var users = [] | |
| return { | |
| add: function(socket) { |
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <Module> | |
| <ModulePrefs title="Hello World 3" /> | |
| <Content type="html" view="home"> | |
| <![CDATA[ | |
| Hello, small world! | |
| ]]> | |
| </Content> | |
| <Content type="html" view="canvas"> | |
| <![CDATA[ |
| <?php | |
| // ... | |
| $user = new User; | |
| $form = $this->createFormBuilder($user) | |
| ->add('email', 'email') | |
| ->getForm(); | |
| if ($request->getMethod() == 'POST') { |
| <?php | |
| namespace Vendor\AppBundle\Entity; | |
| use Symfony\Component\Validator\Validator as SymfonyValidator; | |
| use Doctrine\ORM\Event\LifecycleEventArgs; | |
| class Validator { | |
| private $validator; |
| <?php | |
| // ... | |
| $formBuilder->add('user', 'choice', array( | |
| 'choices' => call_user_func(function() use ($users) { | |
| $choices = array(); | |
| foreach ($users as $user) $choices[$user->id] = $user->name; | |
| return $choices; | |
| }) |
| <?php | |
| namespace Redconvive\Bundle\Entity; | |
| use Symfony\Component\Validator\Validator as SymfonyValidator; | |
| use Doctrine\ORM\Event\OnFlushEventArgs; | |
| use Doctrine\ORM\EntityManager; | |
| class Validator | |
| { |
| <body> | |
| {% block body %}{% endblock %} | |
| </body> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" itemscope itemtype="http://schema.org/freedom"> | |
| <head> | |
| <meta name="google-translate-customization" content="841cbb2f7ac68e56-c7736918c48b17ea-g517e77c253acdd64-22"></meta> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <title>L'espolímetre</title> | |
| <meta name="description" content="L'espolímetre, el contador universal d'espoli espanyol a Catalunya." /> | |
| <meta name="keywords" content="espoli, espoli fiscal, espanyaensroba, #espanyaensroba, Independencia, Catalunya, països catalans, ccn" /> | |
| <meta property="og:title" content="L'espolímetre"/> |
NO LONGER MAINTAINED. SEE https://gist.github.com/4026211
Shows whether tracking is running in the page icon.
To be used with https://www.toggl.com/track
Tested on Chrome.