Skip to content

Instantly share code, notes, and snippets.

View bmeurant's full-sized avatar

Baptiste Meurant bmeurant

  • Worldline
  • Lyon, France
View GitHub Profile
@bmeurant
bmeurant / tools.md
Last active December 21, 2023 10:12
Usefull tools & topics

Tools

MVNW

The Maven Wrapper is an excellent choice for projects that need a specific version of Maven (or for users that don’t want to install Maven at all). Instead of installing many versions of it in the operating system, we can just use the project-specific wrapper script.

links

@bmeurant
bmeurant / controllers.application.js
Last active September 6, 2016 11:28
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
test: {name: 'test'}
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
init () {
let a = this.get('store').createRecord('foo', {foo: 'foo', bar: 'bar'});
console.log('a', a.get('foo'));
let b = this.get('store').createRecord('foo', a.toJSON());
console.log('b', b.get('foo'));