Skip to content

Instantly share code, notes, and snippets.

Avatar

Dzianis Jackievič denyadzi

  • Belarus
View GitHub Profile
View LoadProductData.php
<?php
/**
* @file
*
* first fixture experience...
*/
namespace Mirtrik\HelloBundle\DataFixtures\ORM;
@denyadzi
denyadzi / tests.php
Created Jan 20, 2014
from symfony sources : Symfony\Bundle\FrameworkBundle\Test\WebTestCase
View tests.php
/**
* Creates a Kernel.
*
* Available options:
*
* * environment
* * debug
*
* @param array $options An array of options
*
View main.scm
(use-modules (sdl2 video)
(sdl2 render)
(sdl2 surface)
(sdl2 rect))
(define (do-render renderer)
(let ((surface (load-bmp "santa.bmp"))
(src (make-rect 184 33 322 180)))
(clear-renderer renderer)
(render-copy renderer