This file contains 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 | |
/** | |
* @version $Id: johanjanssens $ | |
* @category Nooku | |
* @package Nooku_Components | |
* @subpackage Default | |
* @copyright Copyright (C) 2007 - 2011 Johan Janssens. All rights reserved. | |
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> | |
* @link http://www.nooku.org | |
*/ |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am johanjanssens on github. | |
* I am johanjanssens (https://keybase.io/johanjanssens) on keybase. | |
* I have a public key whose fingerprint is C869 2DF9 23FC FD3F 7A0E F6C6 D213 C9A4 B39E 22FA | |
To claim this, I am signing this object: |
This file contains 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
We also support shortcodes for all our blocks. | |
There is one caveat, page blocks can **only** be added on pages, not posts. At this time, this means list block can only be added to pages. | |
## Shortcode examples | |
### List block | |
`[docman-list page_category=123 layout=gallery download_in_blank_page=1]` |
This file contains 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
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
async function handleRequest(request) | |
{ | |
const url = new URL(request.url); | |
const id = url.pathname; | |
const tweet = await fetchTweet(id); |
This file contains 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 | |
/** | |
* Extracted from https://github.com/openswoole/swoole-src/blob/f191c0b0a98e9b97f5c81d4877f450c863e6c36d/ext-src/php_swoole_library.h#L6999 | |
* | |
* Changes: | |
* | |
* - Added 'service' label | |
* - Added additional label support | |
* |