I hereby claim:
- I am jesusomar on github.
- I am jesusomar (https://keybase.io/jesusomar) on keybase.
- I have a public key ASC8PlY0AXMOGoMRJ85Zi-gwydWBw-x8mfMNQ7Za2UTrugo
To claim this, I am signing this object:
<?php | |
namespace Stanford\BerriesBundle\Entity\Berry; | |
use Doctrine\ORM\EntityRepository; | |
/** | |
* CategoryRepository. | |
* | |
* This class was generated by the Doctrine ORM. Add your own custom |
{ | |
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 14, | |
"editor.wordWrap": "on", | |
"editor.lineHeight": 35, | |
"workbench.iconTheme": "material-icon-theme", | |
"php.validate.executablePath": "/usr/local/opt/php71/bin/php", | |
"php.suggest.basic": false, | |
"workbench.activityBar.visible": false, |
<?php | |
$header = <<<'EOF' | |
This file is part of PHP CS Fixer. | |
(c) Fabien Potencier <fabien@symfony.com> | |
Dariusz Rumiński <dariusz.ruminski@gmail.com> | |
This source file is subject to the MIT license that is bundled | |
with this source code in the file LICENSE. |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
DOCUMENT_ROOT=/var/www/html/vhosts/dev.domain.com; | |
ENV=dev; | |
SVN_SERVER=https://subversion.assembla.com/svn/repo/trunk; | |
SVN_USERNAME=username; | |
SVN_PASSWORD=password; | |
echo "Changing directories to $DOCUMENT_ROOT..."; | |
cd $DOCUMENT_ROOT; |
<?php | |
\Doctrine\Common\Util\Debug::dump($value); |
<script> | |
jQuery.noConflict(); | |
jQuery(document).ready(function() { | |
jQuery("#btnSave").click(function() { | |
// Create a list of valid ranges for the fields. | |
var fields = { | |
age: { | |
id: "#txtAge", | |
val: parseInt(jQuery("#txtAge").val()), | |
low: 18, |
# Prereqs: | |
# * Ruby | |
# * gem install watchr | |
# * growlnotify (http://growl.info/ = Extras folder from growl download.) | |
# Usage: | |
# put all your tests in a tests folder and call them anythingTest.php | |
# run watchr watchr.rb | |
watch('tests/.*Test\.php') do |md| |
<?php | |
private function _array_search($needle, $haystack) { | |
if (empty($needle) || empty($haystack)) { | |
return false; | |
} | |
foreach ($haystack as $key => $value) { | |
foreach ($needle as $nkey => $nvalue) { | |
if (!empty($value[$nkey]) && $value[$nkey] == $nvalue) { | |
if($haystack[$key]['empid'] == $needle['empid'] && $haystack[$key]['bdate'] == $needle['bdate']) { | |
return $key; |
--- | |
ip: "192.168.10.10" | |
memory: 4096 | |
cpus: 2 | |
provider: vmware_fusion | |
authorize: ~/.ssh/id_rsa.pub | |
keys: | |
- ~/.ssh/id_rsa |