Skip to content

Instantly share code, notes, and snippets.

View wodCZ's full-sized avatar

Martin Janeček wodCZ

View GitHub Profile
/* global angular,ionic */
(function (angular, ionic) {
'use strict';
angular.module('jett.ionic.scroll.sista', ['ionic'])
.factory('ScrollPositions', function () {
var scrollPositions = {};
return {
set: function (state_name, scrollPos) {
<?php
namespace Libs\Utils;
use Kdyby\Doctrine\EntityManager;
use Nette\DI\Container;
class EntityManagerAccessor
@wodCZ
wodCZ / BS3FormRenderer.php
Created April 23, 2015 15:06
BS3FormRenderer
<?php
namespace App\Forms;
use Nette\Forms\Controls;
use Nette\Forms\Form;
/**
* Class BS3FormRenderer

Responsive and friendly table

It's a display of tabular data, using divs because I needed a nice and friendly display for mobile.

Color coding, badges and icons

A Pen by Laura Moraiti on CodePen.

License.

<?php
namespace wodCZ\Flysystem\DI;
use Nette;
use Nette\DI\CompilerExtension;
class FlysystemExtension extends CompilerExtension
{
public function loadConfiguration()