Devenet Devenet

Liens en vrac

Quelques 360 marque-pages glanés pendant ma navigation sur le Web.

Android utilise 2 IP selon si les requêtes sortent du téléphone ou du partage de connexion

http://liens.howtommy.net/?NJKP8w

Depuis Android 4.4, et pour servir les intérêts des opérateurs, Android ne fait pas passer le trafic interne et en partage par la même interface réseau : deux adresses IP distinctes côté opérateur sont attribuées, et ainsi votre opérateur peut savoir exactement comment est utilisé sa connexion.

Pour désactiver ce comportement :
https://danielpocock.com/android-betrays-tethering-data
https://pmf.silvrback.com/fixing-tethering-on-android-kitkat

⁂

This can be fixed permanently using the following procedure (UPDATE: no root required):
1. Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
2. Enable USB debugging under Settings -> Developer options
3. Connect the device with a USB cable to a computer with the Android SDK platform tools installed
4. Start an adb shell: adb shell
5. In the adb shell, run this command: settings put global tether_dun_required 0

How to Disable OneDrive in Windows 10 - Microsoft Community

https://answers.microsoft.com/en-us/windows/wiki/windows_10-files/how-to-disable-onedrive-in-windows-10/bb20683e-c38f-4c38-9b22-dfd73eeeb510

Désactiver OneDrive sur Windows 10 :

> taskkill /f /im OneDrive.exe

Sur un système 64 bits :
> %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall

Sur un système 32 bits :
> %SystemRoot%\System32\OneDriveSetup.exe /uninstall

Downgrade from Android Wear 2.0 to Wear 1.5

https://forum.xda-developers.com/showpost.php?p=71823043

Comment revenir à la version d’Android Wear 1.5 sur une LG G Watch R, après avoir fait la mise Android Wear 2.0 et ne pas avoir du tout aimé le nouveau système de notifications, ainsi que les raccourcis nouveaux et supprimés…

Pour supprimer la notification de mise à jour : https://forum.xda-developers.com/showpost.php?p=71964952&postcount=22
Google a rusé, il faut aussi modifier ce paramètre : https://forum.xda-developers.com/showpost.php?p=73366699&postcount=49

La puissance des workflows git

https://medium.com/@OVHUXLabs/la-puissance-des-workflows-git-12e195cafe44

Après avoir testé Git Flow, Github Flow, les devops d’OVH nous propose leur solution hybride.

Forcer ou non le téléchargement d’un document PDF en spécifiant un nom de fichier

https://stackoverflow.com/questions/6293893/how-to-force-files-to-open-in-browser-instead-of-download-pdf

To indicate to the browser that the file should be viewed in the browser:
 Content-Type: application/pdf
 Content-Disposition: inline; filename="filename.pdf"

To have the file downloaded rather than viewed:
 Content-Type: application/pdf
 Content-Disposition: attachment; filename="filename.pdf"

ASP.NET MVC 5 Internationalization

http://afana.me/post/aspnet-mvc-internationalization.aspx

Now, let’s review the terms used so far:
• Globalization (G11N): The process of making an application support different languages and regions.
• Localization (L10N): The process of customizing an application for a given language and region.
• Internationalization (I18N): Describes both globalization and localization.
• Culture: It is a language and, optionally, a region.
• Locale: A locale is the same as a culture.
• Neutral culture: A culture that has a specified language, but not a region. (e.g. “en”, “es”)
• Specific culture: A culture that has a specified language and region. (e.g. “en-US”, “en-GB”, “es-CL”)