A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()
):
- Headers
- Links
- Bold
/** | |
* At least two points are needed to interpolate something. | |
* @class Lagrange polynomial interpolation. | |
* The computed interpolation polynomial will be reffered to as L(x). | |
* @example | |
* var l = new Lagrange(0, 0, 1, 1); | |
* var index = l.addPoint(0.5, 0.8); | |
* console.log(l.valueOf(0.1)); | |
* | |
* l.changePoint(index, 0.5, 0.1); |
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
<?php | |
// Snippet for Symfony 2 application that uses Doctrine 2 to handle transactions | |
// It uses the names of the objects/doctrine repositories from the Beta 4 Manual of Symfony 2. | |
// Get the entity manager | |
$em = $this->getDoctrine()->getEntityManager(); | |
// suspend auto-commit | |
$em->getConnection()->beginTransaction(); |
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()
):
<?php | |
namespace Myako\Geographical\Functions; | |
use Doctrine\ORM\Query\AST\Functions\FunctionNode; | |
use Doctrine\ORM\Query\Lexer; | |
/** | |
* "DISTANCE" "(" LatitudeFrom, LongitudetFrom, LatitudeTo, LongitudeTo ")" | |
* |
Wondering what the current standings are for the Responsive Images Community Group’s efforts? Look no further.
Bug 870021 Summary: Implement srcset
attribute on img
CLOSED: WONTFIX:
https://bugzilla.mozilla.org/show_bug.cgi?id=870021
Bug 870022 Implement picture
element:
https://bugzilla.mozilla.org/show_bug.cgi?id=870022