I was trying to update my Sony Xperia Z3 Compact from Android 5.0.2 (rooted) to Android 5.1.1, and everything worked well except that I got this issue : mount: Operation not permitted when I was trying to put in write mode the system folder. Also I tried SDFix and I got the error “Update failed, […]
Author: Aymeric
Cacher le SSID Public d’une Fonera 2100 avec le firmware FrancoFON
Voilà un titre de billet très spécifique… Mais si vous avez une vieille Fonera comme moi, vous avez peut-être installé FrancoFON et donc vous avez un accès SSH. Une fois connecté en SSH, pour cacher le SSID Public de la Fonera, il suffit d’entrer la commande : iwpriv ath0 hide_ssid 1
Android Lollipop – problème de microphone qui ne fonctionne plus
J’ai un Sony Xperia Z3 Compact et, soudainement, le micro s’est arrêté de fonctionner. Je suis passé sous Lollipop il y a quelques jours. Après investigation, cela est peut-être dû à l’utilisation de mon casque pour écouter de la musique… J’ai donc effectué quelques recherches pour trouver un correctif, et c’est finalement venu du Issue […]
Root/directory, 0x8004100E – (WBEM_E_INVALID_NAMESPACE) Namespace specified cannot be found
I think I found the MOF file related to the above error. To fix it you might try: C:\Windows\System32\wbem>mofcomp DscCore.mof
standardCimv2 or MSFT_NetIPAddress missing from WMI
I spent some time trying to figure out why root\standardCimv2 was missing on my Windows 8.1. Finally it was an issue with a MOF file in WMI. To fix it: C:\Windows\System32\wbem>mofcomp NetAdapterCim.mof
Win32_Processor : invalide classe
J’ai eu un certain nombre d’erreurs qui m’ont amené à chercher comment fixer wmi concernant le message : « Win32_Processor : invalide classe » J’ai finalement trouvé comment faire grâce à https://katyscode.wordpress.com/2007/02/03/tutorial-how-to-fix-wmi-corruption/ — il suffit de faire : C:\Windows\System32\wbem>mofcomp cimwin32.mof Compilateur MOF Microsoft (R) – Version 6.3.9600.16384 Copyright (c) Microsoft Corp. 1997-2006. Tous droits réservés. […]
Utiliser un email alias avec GMail [Astuce]
Vous possédez une adresse GMail ? Et vous avez un autre email qui est redirigé vers votre boite GMail ? Et vous voulez envoyer des emails avec cet alias ? Par exemple, mon GMail est aymeric@gmail.com et je redirige aymeric@example.com vers cette même boite. Alors pour pouvoir envoyer des emails en aymeric@example.com depuis GMail c’est […]
Détecter la version d’IE [JavaScript]
Via http://tanalin.com/en/articles/ie-version-js/ on trouve un moyen simple de détecter la version d’IE : var IE8 = !!(document.all && document.querySelector && !document.addEventListener); // -> true/false var IE9 = !!(document.all && document.addEventListener && !window.atob); // -> true/false var IE10 = !!(document.all && window.atob); // -> true/false On peut aussi utiliser les conditionals compilation: var ieVersion = /*@cc_on […]
Get window/viewport/document height and width [JavaScript]
Via andylangton and james.padolsey we can find the viewport and document height/width in JavaScript: function getPageSize() { var vw = {width:0, height:0}; var doc = {width:0, height:0}; var w=window, d=document, dde=d.documentElement, db=d.getElementsByTagName(‘body’)[0]; // viewport size vw.width = w.innerWidth||dde.clientWidth||db.clientWidth; vw.height = w.innerHeight||dde.clientHeight||db.clientHeight; // document size doc.width = Math.max(db.scrollWidth, dde.scrollWidth, db.offsetWidth, dde.offsetWidth, db.clientWidth, dde.clientWidth); doc.height = Math.max(db.scrollHeight, […]
Autosize a text to fit into a div in pure/native JavaScript
I was looking for a very tiny and light solution to fit a text inside a box. The box’ height and width are fixed. I only found some great solutions like BigText but I didn’t want to have jQuery loaded. Finally I found some code on StackOverflow and also at Coderwall. I created my own […]