December 2010
4 posts
9 tags
chmod +X
For those that already know well how to change permissions, this memo won’t be usefull. Maybe, it can be usefull to some others. umask is generally fixed to 022. This mask will be applied every times you create files and directories. For directories, umask will be combinated with max permissions 0777 : 0777 - 022 = 755 (rwxr-xr-x) For files, umask will be combinated with 0666 :...
Dec 31st
7 tags
[proxy] SSL interception using squid
In this article, I’ll show you how to configure Squid to act like an ‘man-in-the-middle’ with HTTPS connections. If you’re not doing that for yourself (eg : your company/association, you MUST tell people about that, it is ILLEGAL). credits : to achieve this, I mainly have read this documentation (but I did not yet implement dynamic certificates generation) :...
Dec 30th
1 note
8 tags
web coding basics : REST
I see so much dirty apps and ERP with their own ways to write/exchange data ; so if I can advice coders to re-read this article about REST regularly before writing their crappy codes [hope… ] http://tomayko.com/writings/rest-to-my-wife Several translations are available, below the-one for French people : http://www.pompage.net/pompe/comment-j-ai-explique-rest-a-ma-femme/
Dec 29th
10 tags
hard disk data recovery
Recently, I had to recover data on a defective hard drive. Informations on this page helped me : https://help.ubuntu.com/community/DataRecovery So, this is a memo (in case the source page disappear) : if your partition table is broken, try to fix it with tools like : testdisk, ntfsfix (ntfsprogs package) install ddrescue (on Debian based) : apt-get install gddrescue...
Dec 27th
1 note