I hereby claim:
- I am skoop on github.
- I am skoop (https://keybase.io/skoop) on keybase.
- I have a public key whose fingerprint is 54D9 5126 9335 D5E4 A1F5 E4CA F166 3F4A 830D 6C24
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
select CONVERT(Text USING utf8) as description FROM Book where EAN='${bookproduct.id}' |
exec { 'apt-get update' : | |
command => 'apt-get update', | |
path => '/usr/bin/', | |
timeout => 60, | |
tries => 3 | |
} | |
class { 'apt' : | |
always_apt_update => true | |
} |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.network :private_network, ip: "192.168.56.101" | |
config.ssh.forward_agent = true | |
config.vm.provider :virtualbox do |v| | |
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] |
$this->em->persist($newUrl); | |
$metadata = $this->em->getClassMetaData(get_class($newUrl)); | |
$metadata->setIdGeneratorType(\Doctrine\ORM\Mapping\ClassMetadata::GENERATOR_TYPE_NONE); | |
$this->em->flush(); |
/** | |
* @extra:Route("/", name="homepage") | |
* @extra:Template() | |
*/ | |
public function indexAction() | |
{ | |
return array(); | |
} |
/** | |
* Standard validation for most of barcode objects | |
* @param string $value | |
* @param array $options | |
*/ | |
protected function _validateText($value, $options = array()) | |
{ | |
// @TODO: add code128 validator | |
return true; | |
} |
<?php | |
// auto-generated by sfAutoloadConfigHandler | |
// date: 2011/02/16 02:27:19 | |
return array( | |
// sfTCPDFPlugin_module_libs | |
'sfTCPDF/basesftcpdfactions' => '/mnt/hgfs/skoop On My Mac/php/logibra/plugins/sfTCPDFPlugin/modules/sfTCPDF/lib/BasesfTCPDFActions.class.php', | |
// sfTCPDFPlugin_lib | |
'sftcpdfpluginconfighandler' => '/mnt/hgfs/skoop On My Mac/php/logibra/plugins/sfTCPDFPlugin/lib/config/sfTCPDFPluginConfigHandler.class.php', |
<?php | |
public function executeQrcode(sfWebRequest $request) | |
{ | |
require_once sfConfig::get('sf_lib_dir'). | |
'/vendor/phpqrcode/qrlib.php'; | |
$this->getResponse()->setContentType('image/png'); | |
QRcode::png($request->getParameter('text')); | |
return sfView::NONE; | |
} |
<?php | |
public function executeBarcode(sfWebRequest $request) | |
{ | |
$barcodeOptions = array( | |
'text' => $request->getParameter('text') | |
); | |
$barcodeOptions = array_merge( | |
$barcodeOptions, | |
$this->parseOptionalParameters( | |
$request->getGetParameters() |