Bonne Idée
Submitted by momeunier on Sat, 05/12/2012 - 23:29I finally decided to create my company (Bonne Idée: bonneidee.biz) and do something with it. I am now involved in two projects.
- Yaentrainement.fr (french version of nimenhuuto.com)
Yaentrainement is an online sport team management platform which is having a huge success in Finland (170K+ users and 43M sign-ups as of may 2012).
- momeunier's blog
- Add new comment
- Read more
- 33 reads



Fix a ubuntu upgrade problem with Grub2
Submitted by momeunier on Tue, 05/08/2012 - 12:48With Ubuntu 10.04 came a new version of Grub. During an upgrade from a previous version to 10.04 or higher there will be a time when the system will ask you if you want to keep your own version of the configuration or get the package maintener version.
If I am not mistaken, you should say you want the maintener one.
But then something strange may happen depending on your upgrade path.
- momeunier's blog
- Add new comment
- Read more
- 84 reads



How to connect to someone out of your network on Linkedin
Submitted by momeunier on Sun, 04/22/2012 - 22:43These days I am looking for a web developer in Lithuania. It is not very easy because it's a small country... but on Linkedin you can find quite many profiles.
The problem is, sometimes you can't connect to these people because they are too far out of your network.
Usually you would get the first name of the person and some skills in his profile.
- momeunier's blog
- Add new comment
- Read more
- 246 reads



How to get the value of the latest auto-incremented value on a mysql table with concurrent connections
Submitted by momeunier on Fri, 04/13/2012 - 08:38When building a web application it can seem a bit tricky to get the value of the id (primary key) of the latest row inserted in a mysql table.
It is not that complicated.
The function LAST_INSERT_ID() can help you finding that. This function will return the latest auto-incremented value. No need to specify the table, it just takes the latest one.
SELECT LAST_INSERT_ID() ;
The next question is: what happens when I have many concurrent sessions on the same server? Will I get the latest inserted id from another user?
- momeunier's blog
- Add new comment
- Read more
- 91 reads



install a lamp server on ubuntu
Submitted by momeunier on Mon, 03/26/2012 - 23:05Easy!
sudo apt-get install lamp-server^
Be careful not to delete the ^ character.
This will install:
- momeunier's blog
- Add new comment
- Read more
- 120 reads



Modify the session timeout in phpmyadmin
Submitted by momeunier on Sun, 03/25/2012 - 21:36Login and re-login and re-re-login in phpmyadmin is a huge pain.
Here is the way to extend sessions duration.
Open the file config.inc.php in /usr/share/phpmyadmin or in /etc/phpmyadmin
Add the following line:
$cfg['LoginCookieValidity']=86400;
And in php.ini, modify the following line:
session.gc_maxlifetime = 86400
Restart apache.
apache2ctl restart
You now have 24h sessions.
- momeunier's blog
- Add new comment
- 152 reads



