L'écriture d'une tâche rake est monnaie courante pour les développeurs Ruby on Rails, mais on a tous cherché à un moment donné comment passer des arguments à sa tâche rake pour la rendre plus générique. C'est d'autant plus un problème que la syntaxe n
»
Après avoir réalisé une grosse API pour un des mes clients, J'ai publié un article sur le blog de greaaat dans lequel je discute de certaines règles concernant les API qui pourra aider pour structurer et implémenter une API de qualité.
Bonne lecture.
»
Je profite de ce 14 juillet pour lire un peu sur les conventions css des différents sites web. Pour les anglophones, je vous conseille de lire comment font les différents sites tels que Trello, Medium ou bien encore Github. Ces sites ont suivi leur propre
»
I realised I didn’t have any project I could show when people where asking if I knew how to use elastic search. I have just done a really small application to show what this tool has to offer.
Elastic Search is a powerfull solution for full text search
»
There are different protocols and frameworks for authorizing a third party application to access restricted content but the most recent and the one that most social websites use is the Oauth2.0 protocol.
This is a complete different protocol as Oauth
»
I will just keep here a list of gems I like to use in my Ruby on Rails projects.
There are so many good gems out there I usually forget some of them when starting a project. These are only here as a reminder for myself. All the configuration needs to
»
How did I miss this for so long? I finally found the easiest and free way to sign pdf contract on mac with Preview. It will only require a webcam.
These are the steps:
Open your document with Preview.
Go to Tools > Annotate > Signature
Click on
»
A quick note to say that I joined a network of french freelancers called greaaat, and you know what? It looks…. promising!
That was exactly the kind of network I was looking for. I think that’s a really good idea. As a freelancer you are usually by yourself
»
Even if I use git everyday, I don’t always remember the exact commands to do some git actions. This is few notes I like to have close when I need them.
Saving work in progress in a specific branch
When you need to make a quick change on another branch
»
As a javascript developer you will at one time or another find the common problem where you have something undefined because the this refers to the global window object.
Let see an example:
var MyObject = {
name: "Loic",
hello: function
»
In a recent project, I had to make the app faster. I could work on both the front end and the back-end. The is an unordered list but you should first know where is your bottleneck in your app with the help of tools like the webkit debug tool, pageSpeed
»
I won’t tell you again that testing your app is important, you know that, right? I was asked this question recently and I think it’s worth sharing it here.
PROS:
It is first a safety net. All the existing code is tested. As human programmers we make
»
In Ruby on Rails, all your javascript is available everywhere, but we always want to run some javascript only on certain pages. This is how I manage to run and compartiment my javascript code based on models and actions.
First you need to add to your
»