This website is based on the upcoming changes of the elabs Rails engine. Everything's not fine, but you can see the changes coming in the next releases.

Site update (6c32082):

  • Updated user preferences
  • Fixed an issue with old preferences.

Site update

Reflected the last changes made:

  • Language support
  • Full French translation
  • Notes module (255ch. texts)
  • Integrated PHPUnit tests
  • Integrated Code coverage
  • Bug corrections

Site update (fe0797f)

  • Minor fixes
  • Linked files/notes/posts to projects

Site update (222db47):

  • Created a simple toolbar for the CodeMirror fields
  • Added a preview mode for CodeMirror fields

Site update(98da9c1):

  • Added comments system (comments are not public, only the author of a commented item can see them.)
  • Cleaned up Sass files and added an

New gist : Battleship game in C Game made as training exercise : Sources on Github. Linux only.

Flash info : Nearly a month working with Laravel after work... And my first spam on the site.

Site update(c31b499)

  • Set up an album system to group files together
  • Updated to CakePHP 3.3.9
  • Various fixes

Site update (v0.1.0)

  • Updated this site to elabs 0.1.0

A new Userstyle hightlighting GAFA links has been created from the Firefox addon Gafalink, by Baptiste Gelez, for users of other browsers

User style

Create a PDF file from resized images:

for file in *.png; do convert $file -resize 600 "imgtemp-$file"; done && convert imgtemp-*.png all_pngs.pdf && rm imgtemp-*.png
This content might not be appropriate for every situation.

ExperimentsLabs is going Rails !

The new version is going to be a Rails engine. A pre-release version is already available if you want to test it.

Following VueX Modulator - Part 1: generating VueX modules (en)

I tested the "modulator" on a Nativescript-vue application and it works well. Use it like this:

// app/store.js

import Vue from 'nativescript-vue'
import Vuex from 'vuex'

import Modulator from './modulator'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {},
  modules: {
    users: Modulator.generateModule('users', 'user', 'users', false, false),
  },
})
This content might not be appropriate for every situation.

After testing Vuex(3.0.1) in a Nativescript-vue (2.0) app I noticed that when using ModalViews or ListViews, $store is not available in the list items components or modal component. For now, use a StackLayout for lists and I pass the $store as a prop to the ModalView:

<!-- Instead of a ListView -->
<StackLayout class="list-group">
  <MyComponent v-for="item in items" :item="item" :key="item.id" class="list-group-item"/>
</StackLayout>

In MyComponent, the method to open the modal is like:

import ItemForm from '../forms/ItemForm'

export default {
  name: 'MyComponent',
  props: {
    item: { required: true, type: Object },
  },
  methods: {
    openForm () {
      const props = {item: this.item, store: this.$store} // props for ItemForm
      this.$showModal(ItemForm, { props })                // Show ItemForm as a ModalView
    },
  },
}
This content might not be appropriate for every situation.

If you have issues with the KDE menu / KRunner items (items not appearing, wrong targets on .desktop entries, ...), you can try to rebuild the cache by running kbuildsycoca5 as an user.