Skip to content

Instantly share code, notes, and snippets.

@quentint
quentint / NativeApplicationUpdater.as
Created September 22, 2011 09:06
UpdateEvent.DOWNLOAD_COMPLETE preventDefault() bug fix
package com.riaspace.nativeApplicationUpdater
{
import air.update.events.DownloadErrorEvent;
import air.update.events.StatusUpdateErrorEvent;
import air.update.events.StatusUpdateEvent;
import air.update.events.UpdateEvent;
import com.riaspace.nativeApplicationUpdater.utils.HdiutilHelper;
import flash.desktop.NativeApplication;
@quentint
quentint / gist:3011298
Created June 28, 2012 13:13
Robotlegs 2 + Starling + SignalCommandMap + StarlingViewMap bug
Error: Error while removing an injector mapping: No mapping defined for dependency net.tw.web.weatherBug.vo::Location|
at org.swiftsuspenders::Injector/unmap()[/Users/till/dev/swiftsuspenders/swiftsuspenders/src/org/swiftsuspenders/Injector.as:256]
at robotlegs.bender.extensions.signalCommandMap.impl::SignalCommandTrigger/unmapSignalValues()[C:\as3\git\robotlegs-extensions-SignalCommandMap\src\robotlegs\bender\extensions\signalCommandMap\impl\SignalCommandTrigger.as:130]
at robotlegs.bender.extensions.signalCommandMap.impl::SignalCommandTrigger/routeSignalToCommand()[C:\as3\git\robotlegs-extensions-SignalCommandMap\src\robotlegs\bender\extensions\signalCommandMap\impl\SignalCommandTrigger.as:114]
at Function/<anonymous>()[C:\as3\git\robotlegs-extensions-SignalCommandMap\src\robotlegs\bender\extensions\signalCommandMap\impl\SignalCommandTrigger.as:163]
at org.osflash.signals::Slot/execute()[C:\as3\git\as3-signals\src\org\osflash\signals\Slot.as:92]
at org.osflash.signals::OnceSignal/dispatch()[C:\as3\git
@quentint
quentint / gist:3016844
Created June 29, 2012 09:10
KeyobardEvent issue with Starling
package net.tw.weatherApp.views.prompt {
import flash.events.KeyboardEvent;
import flash.ui.Keyboard;
import org.josht.starling.foxhole.controls.Button;
import org.josht.starling.foxhole.controls.List;
import org.josht.starling.foxhole.controls.TextInput;
import org.josht.starling.foxhole.data.ListCollection;
import org.osflash.signals.Signal;
@quentint
quentint / dabblet.css
Created December 4, 2012 21:08
Motif enveloppe Assurance Maladie
/**
* Motif enveloppe Assurance Maladie
*/
body {
background: url("http://i.imgur.com/QfuxZ.png");
padding: 20px;
margin:0;
}
h1 {
margin: 0;
@quentint
quentint / dabblet.css
Created December 4, 2012 21:43
Motif enveloppe Assurance Maladie, version vectorielle
/**
* Motif enveloppe Assurance Maladie, version vectorielle
*/
body {
background: url("http://i.imgur.com/KDVMG.png");
padding: 20px;
margin:0;
}
h1 {
margin: 0;
@quentint
quentint / dabblet.css
Created December 4, 2012 22:06
Motif enveloppe Assurance Maladie, version vectorielle rouge et bleue.
/**
* Motif enveloppe Assurance Maladie, version vectorielle rouge et bleue.
*/
body {
background: url("http://i.imgur.com/bBLCd.png");
padding: 20px;
margin:0;
}
h1 {
margin: 0;
@quentint
quentint / dabblet.css
Created December 4, 2012 22:12
Motif enveloppe Assurance Maladie, version vectorielle rouge et bleue, petite.
/**
* Motif enveloppe Assurance Maladie, version vectorielle rouge et bleue, petite.
*/
body {
background: url("http://i.imgur.com/S3nYv.png");
padding: 20px;
margin:0;
}
h1 {
margin: 0;
@quentint
quentint / dabblet.css
Created May 7, 2013 09:07
Little CSS trick to show basel;ne's before and after pseudo elements
/*
* Little CSS trick to show basel;ne's before and after pseudo elements
* http://b4d455.fr/basel/
*/
@import "http://b4d455.fr/basel/style.css";
.simple:before {
border-left: solid 1px red;
margin-right: -1px;
@quentint
quentint / dabblet.css
Created May 7, 2013 15:38
Basel;ne fixes
/**
* Basel;ne fixes
*/
@quentint
quentint / Entity.php
Last active August 29, 2015 13:59
SonataAdminBundle sonata_type_collection entity relations
class Entity {
/**
* @var ArrayCollection
* @ORM\OneToMany(
* targetEntity="PlaceThemePresence",
* mappedBy="place",
* cascade={"persist"},
* orphanRemoval=true
* )