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
update table set field=convert(cast(convert(field using latin1) as binary) using utf8); |
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
class Configurator { | |
/** Configure a target object with the provided options. | |
* | |
* The options passed in must be a Traversable object with option names for keys. | |
* Option names are case insensitive and will be stripped of underscores. By convention, | |
* option names are in lowercase and with underscores separated words. | |
* | |
* The target object is expected to have a setter method for each option passed. By convention, | |
* setters are named using camelcase with a 'set' prefix. | |
* |
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 | |
$urlPattern = $_SERVER['REQUEST_URI']; | |
$formatUrl = function ($page) use ($urlPattern) { | |
if (!preg_match('/page/', $urlPattern)) | |
return $urlPattern . "/page/" . $page; | |
else | |
return preg_replace('/\d/', $page, $urlPattern); | |
}; | |
?> | |
<center> |
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 CJSN; | |
use Zend\Loader\AutoloaderFactory; | |
use Zend\Mvc\Service\ServiceManagerConfig; | |
use Zend\ServiceManager\ServiceManager; | |
use Zend\Stdlib\ArrayUtils; | |
use RuntimeException; | |
error_reporting(E_ALL | E_STRICT); |
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
@ECHO OFF | |
php "%~dp0zftool.phar" %* |
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 Livraria\Entity; | |
class Configurator { | |
public static function configure($target, $options, $tryCall = false) | |
{ | |
if(!is_object($target)) |
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 App\Exceptions; | |
use Asm89\Stack\CorsService; | |
use Exception; | |
use Illuminate\Database\Eloquent\ModelNotFoundException; | |
use League\OAuth2\Server\Exception\OAuthException; | |
use Psr\Log\LoggerInterface; | |
use Symfony\Component\HttpKernel\Exception\HttpException; |
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
.... | |
"zendframework/zend-stdlib": "~2.7.0", | |
"zendframework/zend-servicemanager": "~2.7.3", | |
"doctrine/doctrine-orm-module": "0.10.0", | |
.... |
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
<html> | |
<head> | |
<title>Angular 2 - School of Net</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<script src="node_modules/core-js/client/shim.min.js"></script> | |
<script src="node_modules/zone.js/dist/zone.js"></script> | |
<script src="node_modules/reflect-metadata/Reflect.js"></script> | |
<script src="node_modules/systemjs/dist/system.src.js"></script> |
OlderNewer