Skip to content

Instantly share code, notes, and snippets.

View wouterj's full-sized avatar

Wouter de Jong wouterj

View GitHub Profile
@wouterj
wouterj / dabblet.css
Created February 15, 2012 18:14
Untitled
.styled-button
{
background-color: buttonface;
border: 2px outset #aaa;
border-radius: 4px;
background-image: linear-gradient(
top,
#efefef 50%,
#bbb 50%
@wouterj
wouterj / dabblet.html
Created July 3, 2012 14:40 — forked from dstorey/dabblet.css
Untitled
<h1>Split view feature box with CSS skew transform and transitions</h1>
<div class="box sunrise" id="box2"><a href="#box2"></a></div>
<div class="slider" id="box1">
<div class="box sunset"><a href="#box1"></a></div>
</div>
<footer>
<p>Handcrafted by <a href="http://www.twitter.com/dstorey">@dstorey</a> for
<a href="http://www.generatedcontent.org/123456/split-feature">GeneratedContent.org</a>. Sunset image, <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">Some rights reserved</a> by <a href="http://www.flickr.com/photos/42429527@N03/">najeebkhan2009</a>. Sunrise image, <a href="http://creativecommons.org/licenses/by-nd/2.0/">Some rights reserved</a> by <a href="http://www.flickr.com/photos/petehogan/">3dpete</a>.</p>
</footer>
@wouterj
wouterj / demo.html
Created July 5, 2012 09:41
My YepNope jQuery version split solution
<!doctype html>
<meta charset=utf-8>
<title>jQie demo</title>
<!-- lots of code -->
<script src=js/libs/jqie.js></script>
<script>
// only load the jQuery source
jQie();
@wouterj
wouterj / colors.md
Created July 16, 2012 11:05
CSS3 color properties
  • color
  • background-color
  • background-image (gradients)
  • border-color
  • outline-color
@wouterj
wouterj / Custom.css
Created September 16, 2012 19:58 — forked from danro/Custom.css
Improved webkit inspector toolbar
#-webkit-web-inspector #toolbar {
background: #cdcdcd !important;
height: 36px !important;
}
#-webkit-web-inspector #main {
top: 36px !important;
}
#-webkit-web-inspector .toolbar-item.elements:hover:after {
content: "elements";
z-index: 9999;

Waarom een standaard?

Een standaard zorgt ervoor dat alles in je script er hetzelfde uitziet. Dit zorgt voor een vertrouwd gevoel en een overzichtelijk script.

Om het in een live voorbeeld te zien:

@wouterj
wouterj / list-of-shortnames.rst
Created October 25, 2012 22:21
PHP frameworks and their required PHP version
Shortname Fullname
ZF Zend Framework
SF Symfony Framework
CI CodeIgniter
@wouterj
wouterj / TestKernel.php
Created November 4, 2012 21:59
TestKernel for Symfony2
<?php
require_once __DIR__.'/FooBundle/FooBundle.php';
use Wj\AdminBundle\Tests\Stubs\Mock\Mockings;
use Wj\AdminBundle\Tests\Stubs\FooBundle\FooBundle;
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
namespace Wj\Store\Exception;
class StorableNotFoundException extends \OutOfBoundsException
{
}
@wouterj
wouterj / missing-formats.md
Last active December 9, 2015 20:18
Missing formats in the Symfony2 documentation

Reference

NOTE There is some discussion if we need all formats in this section, I recommend to not waste your time with something that isn't going to merge, please look add some other sections.

  • configuration/framework
    xml and PHP config: L243 ( 'Full Default Configuration' );