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 | |
const PATTERN_RFC3986 = '~^ | |
(?<scheme>[a-z][a-z0-9+-\.]*) | |
:// | |
(?: | |
(?<userinfo> | |
([a-z0-9\-\._\~!\$&\'()*+,;=:]|%[0-9a-f]{2})* | |
)@ # *( unreserved / pct-encoded / sub-delims / ":" ) | |
)? |
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 | |
namespace Acme\Doctrine\DBAL; | |
use Doctrine\DBAL\Connection; | |
declare(ticks = 3000000); | |
class ConnectionKeepAlive | |
{ | |
/** |
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
import sys | |
import ctypes | |
import types | |
from django.template import TemplateSyntaxError, Token, TOKEN_BLOCK | |
from django.template.defaulttags import register | |
if sys.version_info < (3,): | |
cb_func_code = 'func_code' | |
cb_func_closure = 'func_closure' |
NewerOlder