Archive for

December 2011

Git Quick Start

This post is just a quick reminder on how to start and use git for your project.

First of all, server side (via a private repository) :

cd /path/to/your/git/repositories/
mkdir my_project.git
cd my_project.git
git --bare init

Then, on your computer, do that :

# create your project (we suppose it will be at /home/user/projects/my_project)
cd /home/user/projects/my_project
git init
git add .
git commit -a -m "First commit"
git remote add origin ssh://user@server.com/path/to/your/git/repositories/my_project.git
git push origin master

Extra bonus, for Play! Frameworks fans, here's a nice gitignore file to create :

# create a .gitignore file at the root of your project containing those lines :
bin/
data/
dist/
logs/
test-result/
tmp/
modules/
eclipse/
.settings/
*.swp
.classpath
.project

And voilà !

(thanks to Nicolas about that!)

Filed under  //  git   private   repository  
Posted by Cyril Nicodème 

How I organize my project's todo list

I often find myself regularly having ideas about a new project and it's easy to get stuck in a infinite loop of

  1. Starting a project
  2. Thinking about an other new one
  3. starting this new project
  4. etc
There is numerous ways to avoid this trap and one of them I usually do is to NOT think too hard about this new shiny project for at least a week.

If this idea keep returning in my head, that mean I should take a closer look.

But taking a closer look doesn't mean abandoning the project I'm currently working on to start this new one. It means writing down what this idea should do, maybe with a list of functionality it shall have and that's it!

Then, I organize all those ideas into three distinct categories :
  • Profitable
  • Probably profitable
  • Free / Open source
By doing this, I have a better view on which idea I should start next.

Moreover, having my idea written down help me forget about it, and bring me back to thinking about my current project. And often, when I go back to that list, I remove some ideas that seems useless after a certain time of thinking (or not thinking ;)).

And you, how do you manage your flow of ideas?

Filed under  //  idea   organize   project  
Posted by Cyril Nicodème