Skip to content

Instantly share code, notes, and snippets.

View bmeurant's full-sized avatar

Baptiste Meurant bmeurant

  • Worldline
  • Lyon, France
View GitHub Profile
@ericclemmons
ericclemmons / example.md
Last active April 24, 2024 18:09
HTML5 <details> in GitHub

Using <details> in GitHub

Suppose you're opening an issue and there's a lot noisey logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

<details>
 Summary Goes Here
@BrianSipple
BrianSipple / ember-addon-essentials.md
Last active April 17, 2017 18:27
Ember Addon Essentials -- A checklist of some of the finer details to keep in mind when developing Ember addons

Ember Addon Essentials

This document is meant to be a brief "checklist" of things to setup for your Ember addon when beginning development in order to have the best possible architecture and workflow out of the gate. For more comprehensive material, the following are bookshelf-caliber:

Filling out package.json

@jripault
jripault / JacksonDeserializationTest.java
Last active December 17, 2015 16:59
Verify that Jackson can de/serialize an object
@Test
public void testMapper(){
List<Note> notes= new ArrayList<Note>();
HibernateAwareObjectMapper mapper = new HibernateAwareObjectMapper();
String jsonInput =
"{\n" +
" \"type\" : \"org.samil.catalog.model.event.RecordEvent\",\n" +
" \"id\" : null,\n" +
" \"userId\" : null,\n" +
" \"structureId\" : null,\n" +
@toranb
toranb / filtersortpagemixin.js
Created September 24, 2012 02:37
filter/sort/pagination mixin for ember.js
var get = Ember.get;
/**
* @extends Ember.Mixin
*
* Implements common filter / sort / pagination behavior for array controllers
* */
Ember.FilterSortSliceMixin = Ember.Mixin.create({
filterBy: '',