- Fresh installed Ubuntu 12.04
- cURL installed:
sudo apt-get install curl
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
<blockquote> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. | |
Nulla neque nisl, fringilla sed blandit non, pretium eu odio.</p> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. | |
Nulla neque nisl, fringilla sed blandit non, pretium eu odio.</p> | |
</blockquote> |
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
$ bin/ciconia --gfm --diagnose --verbose README.md | |
+------------+----------------------------------------------------------+----------+-----------+ | |
| Event | Callback | Duration | MEM Usage | | |
+------------+----------------------------------------------------------+----------+-----------+ | |
| | render() | - | - | | |
| initialize | Core\WhitespaceExtension:initialize | 1 | 2621440 | | |
| detab | Core\WhitespaceExtension:detab | 0 | 2621440 | | |
| initialize | Gfm\FencedCodeBlockExtension:processFencedCodeBlock | 4 | 2621440 | | |
| detab | Core\WhitespaceExtension:detab | 0 | 2621440 | | |
| detab | Core\WhitespaceExtension:detab | 0 | 2621440 | |
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 | |
use Ciconia\Renderer\HtmlRenderer; | |
/** | |
* Example for kzykhys/Ciconia#12 | |
* https://github.com/kzykhys/Ciconia/issues/12 | |
* | |
* Requires Ciconia 0.1.5+ | |
*/ |
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
language: php | |
php: | |
- 5.5 | |
- 5.4 | |
before_script: | |
- curl -s http://getcomposer.org/installer | php | |
- php composer.phar install --dev --no-interaction | |
- php composer.phar require satooshi/php-coveralls:dev-master |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html --> | |
<phpunit | |
backupGlobals = "false" | |
backupStaticAttributes = "false" | |
colors = "true" | |
convertErrorsToExceptions = "true" | |
convertNoticesToExceptions = "true" | |
convertWarningsToExceptions = "true" |
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
/* | |
* Print Word document on Windows | |
* | |
* 1. Get the Word executable path | |
* > ftype Word.Document.8 | |
* 2. Print silently | |
* > %WORD% /q /n /mfileprintdefault /mfileexit %FILE% | |
*/ | |
var child_process = require('child_process'); |
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 | |
$i = 0; | |
$i = ($i - 1) * -1; | |
var_dump($i); |
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 | |
$x = 1; | |
$y = 2; | |
list($x, $y) = array($y, $x); | |
var_dump($x, $y); |