Skip to content

Instantly share code, notes, and snippets.

View darioghilardi's full-sized avatar

Dario Ghilardi darioghilardi

View GitHub Profile
@darioghilardi
darioghilardi / environments.php
Created September 7, 2012 14:35
Environments setup
<?php
/**
* Environment selection:
* Set the correct environment based on the current request.
*
* Development is the default environment.
* Test gets called when running behat tests and li3 tests:
* For behat look at features/bootstrap/LithiumAcceptanceTester.php where an environment variable is set.
* For li3 it's switched here based on the command parameter of $request.
*
@darioghilardi
darioghilardi / fail
Created July 18, 2012 10:05
Huge number of fails in Lithium, a lot to scroll
----
Test
----
................FFFFFF.......FFFFFF....
FAIL
27 / 39 passes
12 fails and 0 exceptions
@darioghilardi
darioghilardi / gist:2134483
Created March 20, 2012 12:05
Scss background
html {
background: url('/images/bg_home_full.jpg') repeat-y;
background-position: 50% 0;
}
body {
font-family: 'Georgia', 'Garamond', serif;
background: url('/images/bg_home.png') no-repeat;
background-position: 50% 0;
background-attachment: fixed;