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.
// ==UserScript== | |
// @name Toggl Icon | |
// @namespace http://gist.github.com/4026211 | |
// @version 0.2.3 | |
// @description Shows whether tracking is running in the page icon | |
// @match https://www.toggl.com/track | |
// @copyright 2012, Francesc Rosàs | |
// ==/UserScript== | |
var onElementAttributesChange = function(element, callback) { |
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.
<!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"/> |
<body> | |
{% block body %}{% endblock %} | |
</body> |
<?php | |
namespace Redconvive\Bundle\Entity; | |
use Symfony\Component\Validator\Validator as SymfonyValidator; | |
use Doctrine\ORM\Event\OnFlushEventArgs; | |
use Doctrine\ORM\EntityManager; | |
class 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 Vendor\AppBundle\Entity; | |
use Symfony\Component\Validator\Validator as SymfonyValidator; | |
use Doctrine\ORM\Event\LifecycleEventArgs; | |
class Validator { | |
private $validator; |
<?php | |
// ... | |
$user = new User; | |
$form = $this->createFormBuilder($user) | |
->add('email', 'email') | |
->getForm(); | |
if ($request->getMethod() == 'POST') { |
<?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[ |