User manual, how to lock.
Juste au cas ou, le guide de comment fermer ces truc.
PHP fgets doesn’t detect end of line
If you parse some files, you can get an issue with fgets not detecting end of lines…
In my case, files come from mac users, so I have to enable this option :
ini_set(‘auto_detect_line_endings’, true);
Php documentation here : http://us2.php.net/manual/en/filesystem.configuration.php#ini.auto-detect-line-endings
Sometimes, open source is passivity
About a thunderbird bug: cant drag and drop file FROM tb TO folder/desktop for 4 years now, since then, a bug has been filled, water has flown under bridges, but I’m still unable to DnD…..
https://bugzilla.mozilla.org/show_bug.cgi?id=377621
Ubuntu 10.04 remove enveloppe icon
The useless icon here:
Is just boring and just bring redondant information.
sudo apt-get purge indicator-message
Embed videos from youtube channel
- First, generate code : http://www.google.com/uds/solutions/wizards/videobar.html
- Then, change videobar code by :
videoBar = new GSvideoBar (document .getElementById (‘videoBar-bar’),document.getElementById(‘player_root’),options);
- Put a div with “player_root” id where you want your video to be displayed
- Update your CSS with right width and height :
.playerInnerBox_gsvb .player_gsvb { width : 450px; height : 400px; }
Convert wmv to avi
mencoder video.wmv -ofps 25 -ni -ovc lavc -oac mp3lame -o video.avi
Get website speed loading
Convert AVI to FLV
ffmpeg -i VID00011.AVI -ab 56 -ar 44100 -b 200 -r 15 -s 1280×720 -qscale 13 -f flv VID00011.FLV
Ubuntu 10.04: move window buttons (minimise, maximize and close) back the way it was
How to restore the “normal” button model in one command:
gconftool -s /apps/metacity/general/button_layout -t string menu:minimize,maximize,close
Mass deleting
If you want to delete files by size (here files of 912345 bytes):
find . -size 912345c -print -exec rm -f {} \;