I hereby claim:
- I am narno on github.
- I am narno (https://keybase.io/narno) on keybase.
- I have a public key ASCHD6buEKtFeBuPYaNKdBL8jcpWt7Q5tLpgu_bdriv84go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| class Cecil < Formula | |
| desc "Your content driven static site generator" | |
| homepage "https://cecil.app" | |
| url "https://cecil.app/download/4.0.0/cecil.phar" | |
| sha256 "0964d95373a54c9650d8106d7dfc2a1f9b994ea435f735dbf3f48ceea53fba96" | |
| depends_on "php" => :test | |
| def install | |
| bin.install "cecil.phar" => "cecil" | |
| end |
| var casper = require("casper").create({ | |
| pageSettings: { | |
| loadImages: false, | |
| loadPlugins: false | |
| } | |
| }); | |
| var checked = []; | |
| var currentLink = 0; | |
| var fs = require('fs'); | |
| var upTo = ~~casper.cli.get('max-depth') || 100; |
| title | date |
|---|---|
Test |
2017-02-20 |
This is a test for https://github.com/PHPoole/gist.phpoole.org.
| #!/usr/local/bin/php | |
| <?php | |
| /* | |
| * CLI to convert a PHP array to a YAML file. | |
| */ | |
| error_reporting(E_ALL ^ E_NOTICE); | |
| date_default_timezone_set('UTC'); | |
| require_once 'vendor/autoload.php'; |
How to update the list?
You need PHP 7.1+ and Composer.
Download composer.phar
Install the crawler
php composer.phar require "fabpot/goutte:^3.0"| {"type":"success","message":"OK","data":{"friendrequests":[],"originavailable":true,"friendscomcenter":[{"username":"SaintPalpaT","gravatarMd5":"b2ecdda4053c6bfbbd455a02150e1486","userId":"2832665149459326336","createdAt":1319696078,"presence":{"userId":"2832665149459326336","updatedAt":1437696404,"presenceStates":"0"}},{"username":"sergionimo","gravatarMd5":"","userId":"2832665149463958913","createdAt":1319728891,"presence":{"userId":"2832665149463958913","updatedAt":1437691217,"presenceStates":"0"}},{"username":"zephobosky","gravatarMd5":"ecfe1425f1c1b2660bdeff5c2660c0a2","userId":"2832665149453052163","createdAt":1319628438,"presence":{"userId":"2832665149453052163","updatedAt":1437696646,"presenceStates":"0"}},{"username":"SytrY_SG","gravatarMd5":"742404f2120482d523d940de47086f3e","userId":"2832665149440809734","createdAt":1319483042,"presence":{"userId":"2832665149440809734","updatedAt":1437695055,"presenceStates":"0"}},{"username":"nouguifred","gravatarMd5":"7a0c01f0541c03b46f8b84a220bc97a7","userId":"2 |
| <?php | |
| function slugify($string) { | |
| $string = preg_replace('/ | |
| [\x09\x0A\x0D\x20-\x7E] # ASCII | |
| | [\xC2-\xDF][\x80-\xBF] # non-overlong 2-byte | |
| | \xE0[\xA0-\xBF][\x80-\xBF] # excluding overlongs | |
| | [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} # straight 3-byte | |
| | \xED[\x80-\x9F][\x80-\xBF] # excluding surrogates | |
| | \xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3 | |
| | [\xF1-\xF3][\x80-\xBF]{3} # planes 4-15 |
| <?php | |
| class {Namespace}_{Module}_Model_Observer | |
| { | |
| public function beforeBlockToHtml(Varien_Event_Observer $observer) | |
| { | |
| $grid = $observer->getBlock(); | |
| /** | |
| * Mage_Adminhtml_Block_Catalog_Product_Grid |
| <?php | |
| [...] | |
| /** | |
| * Redeclare custom error handler | |
| * with Whoops support | |
| * @see https://github.com/filp/whoops | |
| * | |
| * @param string $handler | |
| * @return Mage_Core_Model_App | |
| */ |