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
| /* | |
| * Program to list all attached devices that support OpenCL, along with their key | |
| * attributes. | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #ifdef __APPLE__ | |
| #include <OpenCL/opencl.h> | |
| #else |
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 Doctrine\DBAL\Driver\PDOSqlite\Driver; | |
| use Doctrine\DBAL\Types\Type; | |
| use Doctrine\ORM\Configuration; | |
| use Doctrine\ORM\EntityManager; | |
| use Doctrine\ORM\Mapping\Driver\XmlDriver; | |
| use Doctrine\ORM\Proxy\ProxyFactory; | |
| use Ramsey\Uuid\Doctrine\UuidType; |
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
| tinymce.PluginManager.add('typekit', function(editor) { | |
| editor.on('init', function() { | |
| // Get the DOM document object for the IFRAME | |
| var doc = this.getDoc(); | |
| // Create the script we will add to the header asynchronously | |
| var jscript = "(function(d) {\n\ | |
| var config = {\n\ | |
| kitId: 'xxxxxxx',\n\ |
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 | |
| namespace PHP81_BC; | |
| /** | |
| * Locale-formatted strftime using \IntlDateFormatter (PHP 8.1 compatible) | |
| * This provides a cross-platform alternative to strftime() for when it will be removed from PHP. | |
| * Note that output can be slightly different between libc sprintf and this function as it is using ICU. | |
| * | |
| * Usage: | |
| * use function \PHP81_BC\strftime; |
OlderNewer