I hereby claim:
- I am swader on github.
- I am swader (https://keybase.io/swader) on keybase.
- I have a public key whose fingerprint is FE15 423A 76B1 E9EA 4413 C91D 8339 09E8 D48B B7CC
To claim this, I am signing this object:
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; | |
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; | |
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES'; | |
DROP SCHEMA IF EXISTS `sample` ; | |
CREATE SCHEMA IF NOT EXISTS `sample` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; | |
USE `sample` ; | |
-- ----------------------------------------------------- | |
-- Table `sample`.`test` |
<?php | |
class ZipImages | |
{ | |
private $folder; | |
private $url; | |
private $html; | |
private $fileName; | |
private $status; |
var formurl = "https://sitepoint.typeform.com/to/NfTGuu"; | |
var formtitle = "Most Popular PHP Framework, 2015"; | |
var tid = setInterval( function () { | |
if ( document.readyState !== 'complete' ) return; | |
clearInterval( tid ); | |
var tfcon = document.getElementById('tf_container'); | |
var el; | |
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) { |
I hereby claim:
To claim this, I am signing this object:
<?php | |
$moduleName = getMissingModule(); | |
while ($moduleName !== false) { | |
echo 'Installing '.$moduleName.'.\n'; | |
shell_exec('npm install '.$moduleName.' --no-bin-link'); | |
$moduleName = getMissingModule(); | |
} | |
function tryRun() { |
$a = array( | |
0 => array( | |
'indent' => 1, | |
'name' => 'Inbox', | |
'color' => '#dddddd', | |
'is_deleted' => 0, | |
'collapsed' => 0, | |
'inbox_project' => true, | |
'archived_date' => null, | |
'item_order' => 0, |
$function = new Twig_SimpleFunction('qprw', function (array $replacements) { | |
parse_str($_SERVER['QUERY_STRING'], $qp); | |
foreach ($replacements as $k => $v) { | |
$qp[$k] = $v; | |
} | |
return '?'.http_build_query($qp); | |
}); |
Babel==2.0 | |
CommonMark==0.5.4 | |
Jinja2==2.8 | |
MarkupSafe==0.23 | |
PyYAML==3.11 | |
Pygments==2.0.2 | |
Sphinx==1.3.1 | |
sphinxcontrib-phpdomain==0.1.4 | |
alabaster==0.7.6 | |
argh==0.26.1 |
namespace cocode; | |
class Cocode { | |
private $_sMsg; | |
public function __construct($sMsg = '') { | |
if (!empty($sMsg)) { | |
$this->setMessage($sMsg); | |
} | |
} | |
// Using Zend\Select form element | |
$oSelect = new Select('someName'); | |
$oSelect->setAttribute('id', 'mySelect')->setLabel('This is a select box'); | |
$aData = array( | |
'Option 1' => 'value1', | |
'Option 2' => 'value2', | |
array('label' => 'Option 3', 'selected' => true, 'value' => 'value3') // For default selection | |
); |