Skip to content

Instantly share code, notes, and snippets.

/*
This file is part of the Evolis SDK.
The Evolis SDK is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
The Evolis SDK is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@sgotre
sgotre / ion-scroll-smooth.js
Last active January 15, 2019 20:24
Scroll an ion-scroll smooth
/**
HTML
<ion-scroll #mapScroll scrollX="true" zoom="true" scrollY="true" >
<img #image alt="loading.." src="https;//placehold.it/1000x1000">
</ion-scroll>
<?php
namespace Acme\DemoBundle\Form\DataTransformer;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\PersistentCollection;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Form\DataTransformerInterface;
use Symfony\Component\Form\Exception\TransformationFailedException;
@sgotre
sgotre / composer.json
Created November 29, 2013 14:39
An composer JSON to use Composer update Commands with CloudControl Related to https://gist.github.com/sgotre/7706500
{
"name": "APPNAME",
"description": "Desc",
"version" : "0.0.1",
"require": {
"php": ">=5.3.3"
},
@sgotre
sgotre / cloudcontrol_composer_install.php
Created November 29, 2013 14:32
How i would like to use Composer Install Commands with CloudControl
<?php
namespace APPNAME\Composer;
use Composer\Script\Event;
class Install
{
private static $appName = 'APPNAME';