Convert multiple files to utf8 using vim

The fastest and more efficient way to batch multiple files encoding conversion : vim +”argdo se fileencoding=utf-8 | w | bnext” +”q” ` find . -type f -name “*.rsp” ` +”argdo” : execute the following vim commands for each file (filencode, save and next buffer) +”q” : quit after last one find : get all

Continue Reading →

GIT – stop tracking files

If you have some files that you need to have in your repo but don’t need to have updates, git allows it : git update-index –skip-worktree <FILES> Then a “git status” won’t show those files until you do : git update-index –no-skip-worktree <FILES> To show the skipped files : git ls-files -v . | grep ^S –skip-worktree

Continue Reading →

Stretched background with IE8

Side note : Microsoft has dropped support for IE8 last april 2014 🙁 There are still some clients that want their webapp to work perfectly on IE8. They can’t make all their clients move to the newest browsers. But some times, it can drive you nuts to achieve simple things. Our problem was about a background image

Continue Reading →

usb mount and policykit [EN]

When you’re not on the ‘Desktop Environment‘ side and rather be in light linux config, you have to deal with annoying little problems. I’m using DWM as my tiled window manager and loving it for years. It’s fast, flexible and fun. My linux desktop is up and running after a few seconds… (ok, thanks also

Continue Reading →

Video background [EN]

Forget large background image for your web site. Now, comes video time. So you want to put a nice video as background of your site but don’t know how to do ? “Fear you must not” said Yoda as it’s really simple. First, have a look at the effect in action. Nice, isn’t it ?

Continue Reading →