Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Dayle Rees daylerees

🏠
Working from home
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am daylerees on github.
  • I am daylerees (https://keybase.io/daylerees) on keybase.
  • I have a public key ASBUCxXqufDRcoJ9dJS5aWcCxDYlgdXJT0xnGzxe4EDcBQo

To claim this, I am signing this object:

@daylerees
daylerees / 0_reuse_code.js
Created May 28, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View gist:8806003

Logo

Now Hiring: ParkatmyHouse.com

At ParkatmyHouse.com we are looking to expand our small team to include a number of new development positions ahead of a major project. Go ahead and take a look at the role descriptions. If the must haves don't quite fit, let us know anyway, you never know!


Front-end Developer

Must have

View gist:8806002
[![Logo](https://www.parkatmyhouse.com/media/img/home/large-logo.png)](http://parkatmyhouse.com)
# Now Hiring: ParkatmyHouse.com
At [ParkatmyHouse.com](http://parkatmyhouse.com) we are looking to expand our small team to include a number of new development positions ahead of a major project. Go ahead and take a look at the role descriptions. If the must haves don't quite fit, let us know anyway, you never know!
---
## Front-end Developer
**Must have**
View gist:8539215

Here's the base sanitizer:

<?php

namespace FooProject\Internal\Sanitizers;

abstract class BaseSanitizer
{
    /**
View gist:8537274

My Validation Base Class

I was asked how I deal with validation / create and update validation rulesets. Well here is one method I have used. Don't be afraid to build on top of what the framework has already given you. In my projects I use a base class for almost anything. You never know when you want your classes to inherit some common functionality. My BaseValidator actually has some pretty useful methods and properties in it.

<?php

namespace FooProject\Internal\Validators;

use FooProject\Internal\Sanitizers\BaseSanitizer;
View gist:6098852

For Sale

Mac Book Pro

  • 15"
  • Late 2011 Model.
  • i7 SandyBridge CPU
  • Intel HD 2000 + Radeon HD 6850M
  • HD AntiGlare display.
  • 16GB RAM.
View awesome-php.md

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should consider using (and some other shiny extras).