tag:blogger.com,1999:blog-79799482024-03-14T08:29:41.482+01:00Vittorio PavesiThis blog contain some interesting links, some useful information and any other thing I would like to keep logged.Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.comBlogger449125tag:blogger.com,1999:blog-7979948.post-73474380287822944282022-04-27T22:48:00.005+02:002023-03-08T10:39:00.939+01:00Be notified when lose power<div style="text-align: left;"><b><br /></b></div><div style="text-align: left;"><b>NEEDING:</b><br />The electricity on my parent's house is not really stable and I needed to be notified when losing power and they aren't at home.</div><p style="text-align: left;"><br /></p><div style="text-align: left;"><b>SOLUTION:</b><br />I used an Arduino Board and the free service provided by https://healthchecks.io and I got the notification every time the electricity is not available.</div><div style="text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM_8hwlPkd0vy2gt_uGlyXsyq1ffLQmgNd-P1fAZYb5UQMUoVLBCrk1kQbpso_w3I-RqUR4cnewRQTJnmSc7vRaJGyTpXqcOl2I-iBWThrIIEteOUdp85vsU69ItdqXmx1r1ywFBxIN0VGW8DRsDHtYMRM9EzhKWrttWB6tdUxQzNnEcZ_vQ/s480/ESP8266.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="480" data-original-width="343" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM_8hwlPkd0vy2gt_uGlyXsyq1ffLQmgNd-P1fAZYb5UQMUoVLBCrk1kQbpso_w3I-RqUR4cnewRQTJnmSc7vRaJGyTpXqcOl2I-iBWThrIIEteOUdp85vsU69ItdqXmx1r1ywFBxIN0VGW8DRsDHtYMRM9EzhKWrttWB6tdUxQzNnEcZ_vQ/w143-h200/ESP8266.png" width="143" /></a></div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk88moTolexB3mu8o4FcWY-UbZ4BXVjL2I9m6BVkfsZfI4JFoHeI9e2kH3vngwGW6uyJve5Y9y5xM3cXSdzj6enYZJPjqSIzvZ_pfKwt3XAQHtPtc_TRkGac0lNv2hdrz56wd_vpn2nPbfJYdPy4GYkPmycY1werXs0xr7MDgOSF-YngCnRQ/s552/Telegram.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="384" data-original-width="552" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk88moTolexB3mu8o4FcWY-UbZ4BXVjL2I9m6BVkfsZfI4JFoHeI9e2kH3vngwGW6uyJve5Y9y5xM3cXSdzj6enYZJPjqSIzvZ_pfKwt3XAQHtPtc_TRkGac0lNv2hdrz56wd_vpn2nPbfJYdPy4GYkPmycY1werXs0xr7MDgOSF-YngCnRQ/s320/Telegram.PNG" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><b>INSTRUCTIONS</b></div><ol style="text-align: left;"><li>Create a free account on <a href="https://healthchecks.io">https://healthchecks.io</a> </li><li>Configure a new check that send notification if not connection is received</li><li>Got an ESP8266 Arduino Board for 3/4 β¬ </li><li>Download code from here <a href="https://github.com/vittoriop77/HealthChecksIO" target="_blank">https://github.com/vittoriop77/HealthChecksIO </a></li><li>Set WiFi parameters (SSID and Password)</li><li>Set HealthChecks URL</li><li>Upload Code to ESP8266</li></ol><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvHBbwjW9hHMRmIIKveYkNiR-SLKyJCgLAiUPb8mwOxuvzFvh2HvgjSAJ4yM2byr4y0hbYvarup7XR6Im4GrJ951990HB2MEBQVSQC7RwZW60cQOM54ckY_GJJ-1UHTzgbbZ3aULZbDBKaewCL2p01ezJg5CU7B-fTxfwbiDQMzxs3V0G_hw/s1334/HC.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="749" data-original-width="1334" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvHBbwjW9hHMRmIIKveYkNiR-SLKyJCgLAiUPb8mwOxuvzFvh2HvgjSAJ4yM2byr4y0hbYvarup7XR6Im4GrJ951990HB2MEBQVSQC7RwZW60cQOM54ckY_GJJ-1UHTzgbbZ3aULZbDBKaewCL2p01ezJg5CU7B-fTxfwbiDQMzxs3V0G_hw/w640-h360/HC.PNG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div><br /></div><div><br /><div><br /><p><br /></p></div></div></div><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com2tag:blogger.com,1999:blog-7979948.post-81792902988013186432022-01-12T10:00:00.003+01:002022-01-12T10:02:14.853+01:00Sync Runkeeper and Strava<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEizVM6mSBgqbFlo7QOZVOErq0M0V22QnBb_3KD0XI4JFblUxXXcF0ao-kThcNT5rWzeOzHnakvoDNPbx9FtSlmdxxFo-5psovETiWPWav41w8-ej3tieihpFU-p8yaECfBqgz-fpMAv4pP0xnnaIUzTiqcX9BleFzgZPR_wRIjGtFmsbt5ykA=s512" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="512" data-original-width="512" height="126" src="https://blogger.googleusercontent.com/img/a/AVvXsEizVM6mSBgqbFlo7QOZVOErq0M0V22QnBb_3KD0XI4JFblUxXXcF0ao-kThcNT5rWzeOzHnakvoDNPbx9FtSlmdxxFo-5psovETiWPWav41w8-ej3tieihpFU-p8yaECfBqgz-fpMAv4pP0xnnaIUzTiqcX9BleFzgZPR_wRIjGtFmsbt5ykA=w126-h126" width="126" /></a><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgcK8b-l7TyW-W7hKXSms5FQfdCL4QLpy1YCdeZd0fHAhZy842HlWIjl8uz0SWCuey2PMIMBKLuCyF8H4XPnw6sWzQZGRpGE2UouXdcsuCunH_GLihTsFN9ABOBCxk3ExxKLs-a3lJYBRUKn6gfO-esdloW5utY8891WIopKxKPrAQbMhHEgQ=s600" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="311" data-original-width="600" height="104" src="https://blogger.googleusercontent.com/img/a/AVvXsEgcK8b-l7TyW-W7hKXSms5FQfdCL4QLpy1YCdeZd0fHAhZy842HlWIjl8uz0SWCuey2PMIMBKLuCyF8H4XPnw6sWzQZGRpGE2UouXdcsuCunH_GLihTsFN9ABOBCxk3ExxKLs-a3lJYBRUKn6gfO-esdloW5utY8891WIopKxKPrAQbMhHEgQ=w200-h104" width="200" /></a></div><br /><p><b><u>GOAL</u></b>: </p><p>I used Runkeeper since 2010, recently many friends started using Strava and I would like to use both.</p><p><br /></p><p><u><b>SOLUTION</b></u>: </p><p>To <b>sync all new activities</b> I used <a href="https://zapier.com/" target="_blank">Zapier</a> , the following link share the reusable ZAP <a href="https://zapier.com/shared/7969c073e68120741c157a11cebc3d5f745f3686" target="_blank">https://zapier.com/shared/7969c073e68120741c157a11cebc3d5f745f3686</a> </p><p>To <b>import more than 1000 logged activities</b> I used Strava Uploader, a really easy tool published on GitHub <a href="https://github.com/barrald/strava-uploader" target="_blank">https://github.com/barrald/strava-uploader</a> </p><p><br /></p><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-21595420031970252832020-11-25T15:36:00.005+01:002020-11-25T15:43:12.741+01:00Minikube error trouble accessing https://k8s.gcr.io<p> </p><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-lzpudcDqn6Y/X75p0rA0thI/AAAAAAAAphg/adUT23PEzmYZt_1CkUgTf82TjPEEJCN6QCLcBGAsYHQ/s1044/minikube.jpeg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="Minikube" border="0" data-original-height="296" data-original-width="1044" height="114" src="https://1.bp.blogspot.com/-lzpudcDqn6Y/X75p0rA0thI/AAAAAAAAphg/adUT23PEzmYZt_1CkUgTf82TjPEEJCN6QCLcBGAsYHQ/w400-h114/minikube.jpeg" title="Minikube" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">I'm playing with <a href="https://kubernetes.io/" target="_blank">MiniKube </a>and I'm experiencing this error at startup</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><span style="color: red; font-family: courier;"><b>This container is having trouble accessing https://k8s.gcr.io</b></span></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">More details:</div><div class="separator" style="clear: both; text-align: center;"><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="smile" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png">π</g-emoji> minikube v1.15.1 on Centos 8.2.2004</span></div>
<g-emoji alias="sparkles" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2728.png"><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="sparkles" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2728.png">β¨</g-emoji> Automatically selected the docker driver</span></div></g-emoji><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="white_check_mark" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2705.png">β
</g-emoji> Using image repository</span></div>
<g-emoji alias="+1" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png"><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="+1" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">π</g-emoji> Starting control plane node minikube in cluster minikube</span></div></g-emoji><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="fire" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f525.png">π₯</g-emoji> Creating docker container (CPUs=2, Memory=2200MB) ...</span></div>
<g-emoji alias="exclamation" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2757.png"><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="exclamation" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2757.png">β</g-emoji> <b><u>This container is having trouble accessing <a href="https://k8s.gcr.io/" rel="nofollow">https://k8s.gcr.io</a></u></b></span></div></g-emoji><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="bulb" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4a1.png">π‘</g-emoji> To pull new external images, you may need to configure a proxy: <a href="https://minikube.sigs.k8s.io/docs/reference/networking/proxy/" rel="nofollow">https://minikube.sigs.k8s.io/docs/reference/networking/proxy/</a></span></div>
<g-emoji alias="whale" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f433.png"><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="whale" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f433.png">π³</g-emoji> Preparing Kubernetes v1.19.4 on Docker 19.03.13 ...</span></div></g-emoji><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="mag_right" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f50e.png">π</g-emoji> Verifying Kubernetes components...</span></div>
<g-emoji alias="star2" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f31f.png"><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="star2" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f31f.png">π</g-emoji> Enabled addons: storage-provisioner, default-storageclass</span></div></g-emoji><div style="text-align: left;"><span style="font-family: courier;"><g-emoji alias="surfer" class="g-emoji" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f3c4.png">π</g-emoji> Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default</span></div>
</div><div class="separator" style="clear: both; text-align: left;"><br /></div><p></p><div class="separator" style="clear: both; text-align: left;">Many guide suggest to set proxy or change driver mode, I fixed in this simple way:</div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: left;"><span style="color: #2b00fe; font-family: courier;"> ~</span><span style="color: #2b00fe; font-family: courier;"> </span><span style="color: #2b00fe; font-family: courier;">sudo systemctl restart docker.service</span></div><div class="separator" style="clear: both; text-align: left;"><span style="color: #2b00fe; font-family: courier;"> ~ minikube delete</span></div><div class="separator" style="clear: both; text-align: left;"><span style="color: #2b00fe; font-family: courier;"> ~ minikube start --driver=docker</span></div><div><br /></div></div><p><br /></p><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com1tag:blogger.com,1999:blog-7979948.post-59852683985504400962020-09-17T22:41:00.004+02:002020-09-17T22:41:30.892+02:00Kali on WSL2 with Desktop Experience<p> </p>As you may know you can install the advanced penetration testing linux distribution <b>KALI</b> on <b>WSL2</b> (Windows Subsystem for Linux).<p></p><div>The great news is that you can have a r<b>eal desktop experience</b> of Kali on a Windows client using Win-KeX.</div><div><br /></div><div>The features are:</div><div style="text-align: left;"><ul style="text-align: left;"><li>Window mode: start a Kali Linux desktop in a dedicated window</li><li>Seamless mode: share the Windows desktop between Windows and Kali apps and menus</li><li>Sound support</li><li>Unprivileged and Root session support</li><li>Shared clipboard for cut and paste support between Kali Linux and Windows apps</li><li>Multi-session support: root window & non-priv window & seamless sessions concurrently</li></ul><div>The installation is really easy: sudo apt update && sudo apt install kali-win-kex</div><div><br /></div><div>A step by step video is available <a href="https://www.youtube.com/watch?v=AfVH54edAHU" target="_blank">here</a></div><div><br /></div><img border="0" data-original-height="900" data-original-width="1253" height="288" src="https://1.bp.blogspot.com/-olpYStwDgxw/X2PHwx9SdOI/AAAAAAAAobU/HBmSKM4wU4wQkOBFOilNnP3dwl8CDVwLACLcBGAsYHQ/w400-h288/kali-win-kex.png" width="400" /></div><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-30534940740404729492020-05-29T22:53:00.000+02:002020-05-29T22:53:49.340+02:00Lo smartworker e i muffinMy first book is available on Amazon !<div><br /></div><div><b><font size="4">Lo Smartworker e i Muffin</font></b></div><div><b>Manuale semiserio di sopravvivenza allo smartworking</b><br /><div><br /></div><div><div>Link: <a href="https://www.amazon.it/dp/B088ZTR37K">https://www.amazon.it/dp/B088ZTR37K</a></div></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://1.bp.blogspot.com/-PVVCbmLQcEE/XtF11rcZJQI/AAAAAAAAlBc/B0yMUW1aHk0HztbNdYfaUTzy3_kqxBZ_gCK4BGAsYHg/CopertinaEBook.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="2000" data-original-width="1250" height="320" src="https://1.bp.blogspot.com/-PVVCbmLQcEE/XtF11rcZJQI/AAAAAAAAlBc/B0yMUW1aHk0HztbNdYfaUTzy3_kqxBZ_gCK4BGAsYHg/s320/CopertinaEBook.jpg" /></a></div><div><br /></div></div><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-6700806434793730622020-03-14T10:11:00.002+01:002020-03-14T10:17:17.488+01:00Check_MK SNMP Plugin ExampleI spent days looking for a good example for an SNMP Plugin for <a href="https://checkmk.com/" target="_blank">Check_MK Monitoring System</a> but I didn't find a good one and the <a href="https://checkmk.com/cms_snmp.html" target="_blank">documentation </a>is not clear at all..<br />
<br />
So I decided to write one by myself and publish on <a href="https://github.com/vittoriop77" target="_blank">my Github</a>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-CArm2y6ixOI/XmyfBIyhIVI/AAAAAAAAisE/_BfTqXbAV_MV4wjPoFNZKa4cXrlSWrudwCLcBGAsYHQ/s1600/Code.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="480" data-original-width="533" height="288" src="https://1.bp.blogspot.com/-CArm2y6ixOI/XmyfBIyhIVI/AAAAAAAAisE/_BfTqXbAV_MV4wjPoFNZKa4cXrlSWrudwCLcBGAsYHQ/s320/Code.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Source code available here: <a href="https://github.com/vittoriop77/Check_MK_Plugins/blob/master/SMTP_Sessions" style="text-align: center;">https://github.com/vittoriop77/Check_MK_Plugins/blob/master/SMTP_Sessions</a></div>
<br />
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-38690693049721473272020-02-01T22:22:00.002+01:002020-02-01T22:25:57.993+01:00Customize Terminal ConsoleI'm playing with Terminal Console on Windows and Linux, below you can find the documentation I used as a sample<br />
<br />
<b>Windows Terminal Console Configuration from Scott Hanselman</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-Eli-73CMGxI/XjXqh0mJTyI/AAAAAAAAhnw/sebdaME3SuUvxwX9AAgv0k--Qgongit2wCLcBGAsYHQ/s1600/image_e2447ddd-416e-4036-9584-e728455e6d9d.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"><img border="0" data-original-height="308" data-original-width="999" height="122" src="https://1.bp.blogspot.com/-Eli-73CMGxI/XjXqh0mJTyI/AAAAAAAAhnw/sebdaME3SuUvxwX9AAgv0k--Qgongit2wCLcBGAsYHQ/s400/image_e2447ddd-416e-4036-9584-e728455e6d9d.png" width="400" /></a><a href="https://1.bp.blogspot.com/-Eli-73CMGxI/XjXqh0mJTyI/AAAAAAAAhnw/sebdaME3SuUvxwX9AAgv0k--Qgongit2wCLcBGAsYHQ/s1600/image_e2447ddd-416e-4036-9584-e728455e6d9d.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a></div>
<div style="text-align: left;">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<i><br /></i>
<i>Link: <a href="https://www.hanselman.com/blog/HowToMakeAPrettyPromptInWindowsTerminalWithPowerlineNerdFontsCascadiaCodeWSLAndOhmyposh.aspx">https://www.hanselman.com/blog/HowToMakeAPrettyPromptInWindowsTerminalWithPowerlineNerdFontsCascadiaCodeWSLAndOhmyposh.aspx</a> </i></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b>Linux Bash Console Configuration from Pedro Ferrari</b></div>
<a href="https://1.bp.blogspot.com/-Eli-73CMGxI/XjXqh0mJTyI/AAAAAAAAhnw/sebdaME3SuUvxwX9AAgv0k--Qgongit2wCLcBGAsYHQ/s1600/image_e2447ddd-416e-4036-9584-e728455e6d9d.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><a href="https://1.bp.blogspot.com/-8TggdMM2qn0/XjXqh98CZ_I/AAAAAAAAhn0/l9q9kQad5Es9ZpD6vxqGO5YTFwZp5r-DgCLcBGAsYHQ/s1600/9taq8rcg08531.png" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="310" data-original-width="960" height="128" src="https://1.bp.blogspot.com/-8TggdMM2qn0/XjXqh98CZ_I/AAAAAAAAhn0/l9q9kQad5Es9ZpD6vxqGO5YTFwZp5r-DgCLcBGAsYHQ/s400/9taq8rcg08531.png" width="400" /></a><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-8TggdMM2qn0/XjXqh98CZ_I/AAAAAAAAhn0/l9q9kQad5Es9ZpD6vxqGO5YTFwZp5r-DgCLcBGAsYHQ/s1600/9taq8rcg08531.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"><br /></a></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<i>Link: <a href="https://github.com/petobens/trueline">https://github.com/petobens/trueline</a></i></div>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-14660472231642090552017-11-30T23:34:00.004+01:002021-10-15T10:18:10.293+02:00Raspberry Pi Zero W - SSH over USB<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-ekM8ayd98Zs/WiCFKNiVwgI/AAAAAAAAO7M/za3FroZmyEk2ky3hvj0rKtIORAvVsK6YgCLcBGAs/s1600/rb.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="768" data-original-width="1024" height="240" src="https://4.bp.blogspot.com/-ekM8ayd98Zs/WiCFKNiVwgI/AAAAAAAAO7M/za3FroZmyEk2ky3hvj0rKtIORAvVsK6YgCLcBGAs/s320/rb.jpg" width="320" /></a></div>
I need to connect to my new <b>Raspberry Pi Zero W with SSH over USB</b>.<br />
<br />
I found a lot of guides and forum post with the same instructions (see below) but after trying it doesn't work on my Windows 10 laptop with error:<br />
<b><span style="color: red; font-family: Courier New, Courier, monospace;">Could not resolve hostname raspberrypi.local: Name or service not known</span></b><br />
<br />
<b>Solution:</b><br />
Open <u>Device Manager</u>, Open P<u>orts (COM and LPT)</u>, search for <u>Serial USB device (COMx)</u><br />
replace drivers with this: <div><a href="http://domotique.caron.ws/wp-content/uploads/telechargement/RPI%20Driver%20OTG.zip">https://domotronic.fr/wp-content/uploads/telechargement/RPI%20Driver%20OTG.zip</a></div><div><br />
<br />
<b>Instructions:</b><br />
Edit the cmdline.txt file and add this directly after rootwait<br />
<span style="color: blue; font-family: Courier New, Courier, monospace;">modules-load=dwc2,g_serial</span><br />
Edit the config.txt file and add this directly after the last line in the file:<br />
<span style="color: blue; font-family: Courier New, Courier, monospace;">dtoverlay=dwc2</span><br />
<div>
Add an empty file called <b>ssh</b></div>
</div><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-6627572618772429022017-05-18T06:34:00.000+02:002017-05-18T06:34:06.422+02:00Java - Unable to open JLP I wasn't able to connect to a <b>Lenovo ThinkServer IPMI Console</b> due to the following error:<br />
<span style="color: red;"><b>unsigned application requesting unrestricted access to system</b></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/--BTvUrS3diE/WR0j3MUJZmI/AAAAAAAAMdY/_DoQulbozLgI2hiIyFuI8ccwhIHDZLuRgCLcB/s1600/Error1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="140" src="https://2.bp.blogspot.com/--BTvUrS3diE/WR0j3MUJZmI/AAAAAAAAMdY/_DoQulbozLgI2hiIyFuI8ccwhIHDZLuRgCLcB/s320/Error1.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-PcR1zT5mOXI/WR0j59kWALI/AAAAAAAAMdc/1wT6XH56MC88c7q158oIjtyh9hgN1hsSQCLcB/s1600/Errorr2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="42" src="https://1.bp.blogspot.com/-PcR1zT5mOXI/WR0j59kWALI/AAAAAAAAMdc/1wT6XH56MC88c7q158oIjtyh9hgN1hsSQCLcB/s320/Errorr2.png" width="320" /></a></div>
<br />
<br />
This happens because latest Oracle Java restricted access to <b>Weak Algorithms </b>(e.g. MD5).<br />
<br />
You can override this behavior changing C:\Program Files (x86)\Java\jre1.8.0_131\lib\security\<b>java.security</b> file<br />
<br />
Replace jdk.jar.disabledAlgorithms and jdk.certpath.disabledAlgorithms leaving onlu MD2<br />
<br />
Example:<br />
jdk.jar.disabledAlgorithms=MD2<br />
jdk.certpath.disabledAlgorithms=MD2<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-64403608332840540342017-03-27T22:54:00.002+02:002017-03-27T22:54:45.838+02:00SQL Server vNext Performance Windows vs LinuxI installed SQL vNext CTP 1.4 on Windows 2012 R2 and some Linux Machine in order to compare performance.<br />
<br />
Basically Write Access is comparable on Windows and Linux but Read Access is much slower on Linux<br />
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0cm 3.5pt 0cm 3.5pt; mso-yfti-tbllook: 1184; width: 451px;">
<tbody>
<tr style="height: 15.0pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td nowrap="" style="background: #5B9BD5; border-right: none; border: solid #9BC2E6 1.0pt; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-left-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 121.0pt;" valign="bottom" width="161">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="color: white; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IT; mso-hansi-font-family: Calibri;"><span style="font-size: x-small;">OS<o:p></o:p></span></span></b></div>
</td>
<td nowrap="" style="background: #5B9BD5; border-bottom: solid #9BC2E6 1.0pt; border-left: none; border-right: none; border-top: solid #9BC2E6 1.0pt; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 49.0pt;" valign="bottom" width="65">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="color: white; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IT; mso-hansi-font-family: Calibri;"><span style="font-size: x-small;">INSERT (msec)<o:p></o:p></span></span></b></div>
</td>
<td nowrap="" style="background: #5B9BD5; border-bottom: solid #9BC2E6 1.0pt; border-left: none; border-right: none; border-top: solid #9BC2E6 1.0pt; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<b><span style="color: white; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IT; mso-hansi-font-family: Calibri;"><span style="font-size: x-small;">Delta</span></span></b></div>
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<b><span style="color: white; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IT; mso-hansi-font-family: Calibri;"><span style="font-size: x-small;">(%) <o:p></o:p></span></span></b></div>
</td>
<td nowrap="" style="background: #5B9BD5; border-bottom: solid #9BC2E6 1.0pt; border-left: none; border-right: none; border-top: solid #9BC2E6 1.0pt; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 48.0pt;" valign="bottom" width="64">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="color: white; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IT; mso-hansi-font-family: Calibri;"><span style="font-size: x-small;">SELECT<o:p></o:p></span></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="color: white; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IT; mso-hansi-font-family: Calibri;"><span style="font-size: x-small;">(msec)</span></span></b></div>
</td>
<td nowrap="" style="background: #5B9BD5; border-left: none; border: solid #9BC2E6 1.0pt; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-right-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<b><span style="color: white; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IT; mso-hansi-font-family: Calibri;"><span style="font-size: x-small;">Delta <o:p></o:p></span></span></b></div>
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<b><span style="color: white; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IT; mso-hansi-font-family: Calibri;"><span style="font-size: x-small;">(%)</span></span></b></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 1;">
<td nowrap="" style="background: #DDEBF7; border-bottom: solid #9BC2E6 1.0pt; border-left: solid #9BC2E6 1.0pt; border-right: none; border-top: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-left-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 121.0pt;" valign="bottom" width="161">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="font-size: x-small;">Windows Server 2012 R2<o:p></o:p></span></b></div>
</td>
<td nowrap="" style="background: #DDEBF7; border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 49.0pt;" valign="bottom" width="65">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">0,0123<o:p></o:p></span></div>
</td>
<td nowrap="" style="background: #DDEBF7; border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">0%<o:p></o:p></span></div>
</td>
<td nowrap="" style="background: #DDEBF7; border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 48.0pt;" valign="bottom" width="64">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">1,3278<o:p></o:p></span></div>
</td>
<td nowrap="" style="background: #DDEBF7; border-bottom: solid #9BC2E6 1.0pt; border-left: none; border-right: solid #9BC2E6 1.0pt; border-top: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-right-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">0%<o:p></o:p></span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 2;">
<td nowrap="" style="border-bottom: solid #9BC2E6 1.0pt; border-left: solid #9BC2E6 1.0pt; border-right: none; border-top: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-left-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 121.0pt;" valign="bottom" width="161">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="font-size: x-small;">Linux CentOS 7 - EXT4<o:p></o:p></span></b></div>
</td>
<td nowrap="" style="border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 49.0pt;" valign="bottom" width="65">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">0,0128<o:p></o:p></span></div>
</td>
<td nowrap="" style="border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">4%<o:p></o:p></span></div>
</td>
<td nowrap="" style="border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 48.0pt;" valign="bottom" width="64">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">3,5359<o:p></o:p></span></div>
</td>
<td nowrap="" style="border-bottom: solid #9BC2E6 1.0pt; border-left: none; border-right: solid #9BC2E6 1.0pt; border-top: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-right-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">166%<o:p></o:p></span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 3;">
<td nowrap="" style="background: #DDEBF7; border-bottom: solid #9BC2E6 1.0pt; border-left: solid #9BC2E6 1.0pt; border-right: none; border-top: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-left-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 121.0pt;" valign="bottom" width="161">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="font-size: x-small;">Linux CentOS 7 - XFS<o:p></o:p></span></b></div>
</td>
<td nowrap="" style="background: #DDEBF7; border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 49.0pt;" valign="bottom" width="65">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">0,0128<o:p></o:p></span></div>
</td>
<td nowrap="" style="background: #DDEBF7; border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">4%<o:p></o:p></span></div>
</td>
<td nowrap="" style="background: #DDEBF7; border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 48.0pt;" valign="bottom" width="64">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">3,405<o:p></o:p></span></div>
</td>
<td nowrap="" style="background: #DDEBF7; border-bottom: solid #9BC2E6 1.0pt; border-left: none; border-right: solid #9BC2E6 1.0pt; border-top: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-right-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">156%<o:p></o:p></span></div>
</td>
</tr>
<tr style="height: 15.0pt; mso-yfti-irow: 4; mso-yfti-lastrow: yes;">
<td nowrap="" style="border-bottom: solid #9BC2E6 1.0pt; border-left: solid #9BC2E6 1.0pt; border-right: none; border-top: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-left-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 121.0pt;" valign="bottom" width="161">
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;">
<b><span style="font-size: x-small;">Linux CentOS 7 - BTRFS<o:p></o:p></span></b></div>
</td>
<td nowrap="" style="border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 49.0pt;" valign="bottom" width="65">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">0,0193<o:p></o:p></span></div>
</td>
<td nowrap="" style="border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">57%<o:p></o:p></span></div>
</td>
<td nowrap="" style="border-bottom: solid #9BC2E6 1.0pt; border: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 48.0pt;" valign="bottom" width="64">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">3,6312<o:p></o:p></span></div>
</td>
<td nowrap="" style="border-bottom: solid #9BC2E6 1.0pt; border-left: none; border-right: solid #9BC2E6 1.0pt; border-top: none; height: 15.0pt; mso-border-bottom-alt: solid #9BC2E6 .5pt; mso-border-right-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; mso-border-top-alt: solid #9BC2E6 .5pt; padding: 0cm 3.5pt 0cm 3.5pt; width: 60.0pt;" valign="bottom" width="80">
<div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: right;">
<span style="font-size: x-small;">173%</span><o:p></o:p></div>
</td>
</tr>
</tbody></table>
<br /><div>
Supported File System (EXT4/XFS) provide same performance, BTRFS is really BAD</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-gZIH3RxWHO8/WNl4l4loQqI/AAAAAAAALXw/afvAXQVeO0cn27AeTmp3Vatk4Vs1YPijQCLcB/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="220" src="https://4.bp.blogspot.com/-gZIH3RxWHO8/WNl4l4loQqI/AAAAAAAALXw/afvAXQVeO0cn27AeTmp3Vatk4Vs1YPijQCLcB/s640/Capture.PNG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Test has been made on virtual machines with 4 CPU and 4 GB of RAM with <a href="https://github.com/ErikEJ/SqlQueryStress" target="_blank">SqlQueryStressTool</a>.</div>
<div class="separator" style="clear: both; text-align: left;">
You can see the used <a href="https://github.com/vittoriop77/SQLServer/blob/master/TestSQLPerf.sql" target="_blank">script</a> on <a href="https://github.com/vittoriop77" target="_blank">my Github</a> </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com1tag:blogger.com,1999:blog-7979948.post-18868609705663005702017-03-26T23:45:00.001+02:002017-03-26T23:45:41.109+02:00Access vPostgres <div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-zbP99_N6DFY/WNg1Agxu4eI/AAAAAAAALW8/pw6xCRmTmCUzS8YOI--Qul-92jrVo9KNwCLcB/s1600/vCvPostgres.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="183" src="https://2.bp.blogspot.com/-zbP99_N6DFY/WNg1Agxu4eI/AAAAAAAALW8/pw6xCRmTmCUzS8YOI--Qul-92jrVo9KNwCLcB/s320/vCvPostgres.png" width="320" /></a></div>
<br />
When you install a <b>vCenter Server Appliance (vCSA)</b> you are not requested to define a password for <b>vPostgres </b>and the DBMS is installed with a random <b>password for postgres user</b> that you don't know.<br />
<br />
There are 2 solutions:<br />
<br />
1) <b>grab it</b> from C:\Windows\System32\config\systemprofile\AppData\Roaming\postgresql\pgpass.conf<br />
<br />
2)<b> reset it </b>using the following procedure:<br />
- Add the following line to D:\ProgramData\VMware\vCenterServer\data\vpostgres\pg_hba.conf<br />
(host all all 127.0.0.1/32 trust)<br />
- Reload the service parameters using this command: "D:\Program Files\VMware\vCenter Server\vPostgres\bin\pg_ctl.exe" reload -D "D:/ProgramData/VMware/vCenterServer/data/vpostgres"<br />
- Connect without any password psql -h <em>localhost</em> -U postgres<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-42252210662335604172017-03-18T23:48:00.000+01:002017-03-18T23:48:00.219+01:00Python Get a list of anonymous proxy<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-x9L9VZLcQNU/WMsV-GQDHoI/AAAAAAAALTE/HLFwgVBzVf0PyOUOPrB3V_IhDoz0t2QPACLcB/s1600/pythonlogo.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="135" src="https://2.bp.blogspot.com/-x9L9VZLcQNU/WMsV-GQDHoI/AAAAAAAALTE/HLFwgVBzVf0PyOUOPrB3V_IhDoz0t2QPACLcB/s200/pythonlogo.jpg" width="200" /></a></div>
<br />
The following script in Python generate a file with a list of anonymous proxy from http://gatherproxy.com<br />
<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">import</span> <span style="color: #0e84b5; font-weight: bold;">urllib2</span>
<span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">WriteFile</span>(<span style="color: #007020;">str</span>):
<span style="color: #008800; font-weight: bold;">with</span> <span style="color: #007020;">open</span>(<span style="background-color: #fff0f0;">'/mnt/d/Temp/proxylist.txt'</span>, <span style="background-color: #fff0f0;">"a"</span>) <span style="color: #008800; font-weight: bold;">as</span> f:
f<span style="color: #333333;">.</span>write(<span style="color: #007020;">str</span><span style="color: #333333;">+</span><span style="background-color: #fff0f0;">'</span><span style="background-color: #fff0f0; color: #666666; font-weight: bold;">\n</span><span style="background-color: #fff0f0;">'</span>)
<span style="color: #008800; font-weight: bold;">return</span>
<span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">GetURL</span>(URLString):
attempts <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">0</span>
<span style="color: #008800; font-weight: bold;">while</span> attempts <span style="color: #333333;"><</span> <span style="color: #0000dd; font-weight: bold;">3</span>:
<span style="color: #008800; font-weight: bold;">try</span>:
opener <span style="color: #333333;">=</span> urllib2<span style="color: #333333;">.</span>build_opener()
urllib2<span style="color: #333333;">.</span>install_opener(opener)
response <span style="color: #333333;">=</span> urllib2<span style="color: #333333;">.</span>urlopen(URLString, timeout <span style="color: #333333;">=</span> <span style="color: #0000dd; font-weight: bold;">30</span>)
content <span style="color: #333333;">=</span> response<span style="color: #333333;">.</span>read()
<span style="color: #888888;">#print(content)</span>
<span style="color: #008800; font-weight: bold;">from</span> <span style="color: #0e84b5; font-weight: bold;">bs4</span> <span style="color: #008800; font-weight: bold;">import</span> BeautifulSoup
soup <span style="color: #333333;">=</span> BeautifulSoup(content)
<span style="color: #008800; font-weight: bold;">for</span> row <span style="color: black; font-weight: bold;">in</span> soup<span style="color: #333333;">.</span>findAll(<span style="background-color: #fff0f0;">"script"</span>):
riga<span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">''</span><span style="color: #333333;">.</span>join(<span style="color: #007020;">map</span>(<span style="color: #007020;">str</span>, row<span style="color: #333333;">.</span>contents))
<span style="color: #888888;">#print(riga)</span>
<span style="color: #008800; font-weight: bold;">if</span> <span style="background-color: #fff0f0;">'gp.insertPrx'</span> <span style="color: black; font-weight: bold;">in</span> riga:
StrArray <span style="color: #333333;">=</span> riga<span style="color: #333333;">.</span>split(<span style="background-color: #fff0f0;">":"</span>)
IP <span style="color: #333333;">=</span> StrArray[<span style="color: #0000dd; font-weight: bold;">3</span>]<span style="color: #333333;">.</span>split(<span style="background-color: #fff0f0;">","</span>)[<span style="color: #0000dd; font-weight: bold;">0</span>]<span style="color: #333333;">.</span>replace(<span style="background-color: #fff0f0;">'</span><span style="background-color: #fff0f0; color: #666666; font-weight: bold;">\"</span><span style="background-color: #fff0f0;">'</span>,<span style="background-color: #fff0f0;">''</span>)
port <span style="color: #333333;">=</span> <span style="color: #007020;">str</span>(<span style="color: #007020;">int</span>(StrArray[<span style="color: #0000dd; font-weight: bold;">5</span>]<span style="color: #333333;">.</span>split(<span style="background-color: #fff0f0;">","</span>)[<span style="color: #0000dd; font-weight: bold;">0</span>]<span style="color: #333333;">.</span>replace(<span style="background-color: #fff0f0;">'</span><span style="background-color: #fff0f0; color: #666666; font-weight: bold;">\"</span><span style="background-color: #fff0f0;">'</span>,<span style="background-color: #fff0f0;">''</span>), <span style="color: #0000dd; font-weight: bold;">16</span>))
WriteFile(IP<span style="color: #333333;">+</span><span style="background-color: #fff0f0;">":"</span><span style="color: #333333;">+</span>port)
<span style="color: #008800; font-weight: bold;">break</span>
<span style="color: #008800; font-weight: bold;">except</span> urllib2<span style="color: #333333;">.</span>URLError <span style="color: #008800; font-weight: bold;">as</span> e:
attempts <span style="color: #333333;">+=</span> <span style="color: #0000dd; font-weight: bold;">1</span>
<span style="color: #008800; font-weight: bold;">print</span> <span style="color: #007020;">type</span>(e)
GetURL(<span style="background-color: #fff0f0;">"http://gatherproxy.com/proxylist/anonymity/?t=Anonymous#1"</span>)
GetURL(<span style="background-color: #fff0f0;">"http://gatherproxy.com/proxylist/anonymity/?t=Anonymous#2"</span>)
</pre>
</div>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com1tag:blogger.com,1999:blog-7979948.post-43693018936242260512017-03-16T23:42:00.003+01:002017-03-16T23:42:42.805+01:00Prestashop DropShipping Module<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-piVcpVCEZss/WMsRgZuwvnI/AAAAAAAALS4/_Wo9IPeBXVMQvhHPeG3JAiGPA89ySYBrwCLcB/s1600/Presta.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="205" src="https://2.bp.blogspot.com/-piVcpVCEZss/WMsRgZuwvnI/AAAAAAAALS4/_Wo9IPeBXVMQvhHPeG3JAiGPA89ySYBrwCLcB/s320/Presta.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
I need to integrate <b>Prestashop</b> with a <b>Dropshipper</b> but no modules were available for it.<br />
I created an empty module using these instructions http://doc.prestashop.com/display/PS16/Creating+a+first+module, then I added an <b>Hook</b> Function linked to <b>Payment</b><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;">public function hookactionPaymentConfirmation($params)</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>{</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>//the thing you want to do when the hook's executed goes here</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>$order = new Order((int)$params['id_order']);</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>$address = new Address((int)$order->id_address_delivery);</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>$state = new State((int)$address->id_state);</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>$country = new Country((int)$state->id_country);</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>$product_list = $order->getOrderDetailList();</span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"> </span></span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>$prodotti = '[';</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"> foreach ($product_list as $product)</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>{</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if ($prodotti != '[')</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>{</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>$prodotti .= ',';</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>$prodotti .= '{"codice": "'.$product['product_reference'].'", "qta": '.$product['product_quantity'].'}';</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"> </span></span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>$prodotti .= ']';</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>//CONTACT THE DROPSHIPPER API</span><br />
<span class="Apple-tab-span" style="white-space: pre;"><span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"> </span></span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<br />
If you need to verify the stock availability you need to override the Cart Class for the function checkProductsAccess and remove the product from the cart if it's not available<br />
<br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;">public function checkProductsAccess()</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"> {</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>parent::checkProductsAccess();</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>foreach ($this->getProducts() as $product) {</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span> //CHECK AVAILABILITY</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>if ($avail = 0) </span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>{</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>$this->deleteProduct($product["id_product"]);</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>return $product['id_product'];</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"><span class="Apple-tab-span" style="white-space: pre;"> </span>}</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"> }</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"> return false;</span><br />
<span style="color: blue; font-family: Courier New, Courier, monospace; font-size: x-small;"> }</span><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-81712881350879079372016-03-29T10:51:00.001+02:002017-03-17T11:26:26.342+01:00vSphere 6 HTML Console<a href="https://3.bp.blogspot.com/-DUf9VELpkEA/VvpBtPalePI/AAAAAAAAH9c/flvks8rARbAc6zLzAtk4SyOod2u8JLyjw/s1600/Untitled.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="225" src="https://3.bp.blogspot.com/-DUf9VELpkEA/VvpBtPalePI/AAAAAAAAH9c/flvks8rARbAc6zLzAtk4SyOod2u8JLyjw/s400/Untitled.png" width="400" /></a>If you want to provide an HTML console for vSphere 6 you can just follow these simple steps:<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<ol>
<li>Download ZIP from VMware Site https://www.vmware.com/support/developer/html-console/ (HTML, JS, CSS)</li>
<li>Install the vCenter Certificate into the web server providing HTML console (REALLY IMPORTANT)</li>
<li>Create an HTML page with the following code</li>
</ol>
<br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<br />
<div class="portlet-body">
<div id="output_text">
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><!DOCTYPE html
PUBLIC"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><html
xmlns="http://www.w3.org/1999/xhtml"> </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><head> </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><meta http-equiv="content-type"
content="text/html; charset=utf-8" />
<title>Console</title> </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"></head> </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><body>
<link rel="stylesheet"
type="text/css" href="wmks-all.css"
/> </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><script type="text/javascript"
src="jquery-1.8.3.min.js"></script> </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><script
type="text/javascript"
src="jquery-ui.min.js"></script> </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><script type="text/javascript"
src="wmks.js"
type="text/javascript"></script> </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><div id="wmksContainer"
style="position:absolute;width:100%;height:100%"></div>
</span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"><script>
var wmks = WMKS.createWMKS("wmksContainer",{})
.register(WMKS.CONST.Events.CONNECTION_STATE_CHANGE,
function(event,data){
if(data.state == WMKS.CONST.ConnectionState.CONNECTED)
{
console.log("connection state change : connected");
}
});
wmks.connect("wss://ESXhost:443/ticket/TICKETNUMBER"); </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"></script > </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"></body> </span><br />
<span style="color: blue; font-family: "courier new" , "courier" , monospace; font-size: x-small;"></html></span></div>
</div>
<br />
In order to generate ticket you can use something like this:<br />
<div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: blue; font-family: monospace , monospace;">Add-PSSnapin VMware.VimAutomation.Core</span></div>
<div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: blue; font-family: monospace , monospace;">$VCenter = "vcenter.vc.local"</span></div>
<div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: blue; font-family: monospace , monospace;">Connect-VIServer $VCenter -User vc\administrator -Password Password</span></div>
<div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: blue; font-family: monospace , monospace;">$Vm = Get-VM VIRTUALMACHINE1</span></div>
<div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: blue; font-family: monospace , monospace;">$Ticket = $Vm.ExtensionData.<wbr></wbr>AcquireTicket("webmks")</span></div>
<div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: blue; font-family: monospace , monospace;">$ESXHost = $Ticket.host</span></div>
<div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8px;">
<span style="color: blue; font-family: monospace , monospace; font-size: 12.8px;">$TicketNumber = $Ticket.ticket</span></div>
<br />
<br />
The logic is:<br />
<br />
More details here: https://www.vmware.com/support/developer/html-console/html-console-sdk-100-programmer-guide.pdf<br />
<br />
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com34tag:blogger.com,1999:blog-7979948.post-5504397195926849772015-03-15T16:19:00.000+01:002015-03-15T16:19:00.463+01:00Moto G - Clear Cache<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-qH7FCKRQzJk/VQWhjgK7G_I/AAAAAAAABI8/g56rXFyhAJ0/s1600/MOTO-G-LOLLIPOP.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://1.bp.blogspot.com/-qH7FCKRQzJk/VQWhjgK7G_I/AAAAAAAABI8/g56rXFyhAJ0/s1600/MOTO-G-LOLLIPOP.jpg" /></a></div>
After upgrading my Moto G 2013 to Lollipop it seems a little slow, I tried to clear cache using the following official procedure but it didn't work because I was able to access Recovery option but not Clear Cache Option:<br />
<br />
https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/94946/p/30,6720,8696<br />
<br />
The solution to access the "wipe cache partition" menu was:<br />
<span style="color: red;"><b>press and hold Power Button for at least two seconds and then without releasing the Power Button press Vol. Up key</b></span><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-50195740971106269822013-05-16T18:58:00.002+02:002013-05-16T18:58:33.894+02:00Ubuntu error "Running post-installation trigger update-notifier-common"During Ubuntu 13.4 installation I experienced the following error:<br />
<span style="color: red; font-family: Courier New, Courier, monospace;">Running post-installation trigger update-notifier-common</span><br />
<br />
The solution was running setup with <b>NOACPI</b> and <b>NOMODESET</b> options.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-H-gJWXrfEQo/UZUE0Tr2k-I/AAAAAAAAA3g/F0UUM6SSVKY/s1600/ubuntu.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="248" src="http://2.bp.blogspot.com/-H-gJWXrfEQo/UZUE0Tr2k-I/AAAAAAAAA3g/F0UUM6SSVKY/s320/ubuntu.png" width="320" /></a></div>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-49164435677736718332013-02-26T13:50:00.001+01:002013-02-26T13:52:05.355+01:00Robocopy Example<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-OZTnLMagMKc/USyuyAdp8_I/AAAAAAAAAzo/hQYeWQl9x-I/s1600/Robocopy.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="197" src="http://2.bp.blogspot.com/-OZTnLMagMKc/USyuyAdp8_I/AAAAAAAAAzo/hQYeWQl9x-I/s400/Robocopy.png" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Robocopy is really powerful but I never remember the syntax and I prefer using copy... So let's add a simple example for future memories<br />
<br />
<span style="color: blue; font-family: Courier New, Courier, monospace;">robocopy.exe \\SourceServer\SourceShare D:\Destination\ /V /MIR /COPYALL /R:1 /W:5 /log:D:\temp\log.txt</span><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-44922931684453870692013-01-26T19:38:00.000+01:002013-01-26T19:38:16.117+01:00Reset Windows 2012 Password<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-w-uSWeRIQjg/UQQhZVt4hgI/AAAAAAAAAzA/O2gV035jSy4/s1600/Windows-Server-2012-Logo.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="191" src="http://3.bp.blogspot.com/-w-uSWeRIQjg/UQQhZVt4hgI/AAAAAAAAAzA/O2gV035jSy4/s320/Windows-Server-2012-Logo.jpg" width="320" /></a></div>
I installed a month ago Windows 2012 Evaluation in a Virtual Machine, today I tried to logon but I forgot password :-(<br />
<br />
There is an easy way to <b>reset the password without cracking it</b>...<br />
<br />
1) Start Server using a Linux Live CD<br />
2) Go to C:\Windows\System32<br />
3) Rename Utilman.exe to OldUtilman.exe<br />
4) Copy cmd.exe to Utilman.exe<br />
5) Restart using Windows and at logon press Windows Key + U<br />
6) From command prompt type net user Administrator MyNewPassword<br />
7) Restart and voilam you'll have access to your server again ;-)<br />
<br /><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-70125352052042458222012-12-31T00:00:00.001+01:002023-05-10T22:16:24.710+02:00Kill all RDP Sessions<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-XXjnrgkxzuA/SqbJt_1RVsI/AAAAAAAAARI/ufLYX9DBU2Q/s1600/PowerShell.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://1.bp.blogspot.com/-XXjnrgkxzuA/SqbJt_1RVsI/AAAAAAAAARI/ufLYX9DBU2Q/s1600/PowerShell.jpg" /></a></div>
If you want to reset all Terminal Server (RDP) Sessions from command line, you can use this PowerShell script.<br />
<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; background: white; border-width: .1em .1em .1em .8em; border: solid gray; color: black; overflow: auto; padding: .2em .6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #906030;">$ServerName</span> = <span style="background-color: #fff0f0;">"localhost"</span>
<span style="color: grey;"># Run the qwinsta.exe and parse the output</span>
<span style="color: #906030;">$queryResults</span> = (qwinsta /server<span style="background-color: #f0a0a0; color: #f00000;">:</span><span style="color: #906030;">$ServerName</span> | <span style="color: green; font-weight: bold;">foreach</span> { ((<span style="color: #906030;">$_</span>.trim() <span style="color: #303030;">-replace</span> <span style="background-color: #f0a0a0; color: #f00000;">β</span>\s+<span style="background-color: #f0a0a0; color: #f00000;">β</span>,<span style="background-color: #f0a0a0; color: #f00000;">β</span>,<span style="background-color: #f0a0a0; color: #f00000;">β</span>))} | <span style="color: #007020;">ConvertFrom-Csv</span>)
<span style="color: grey;"># Pull the session information from each instance</span>
<span style="color: green; font-weight: bold;">ForEach</span> (<span style="color: #906030;">$queryResult</span> <span style="color: green; font-weight: bold;">in</span> <span style="color: #906030;">$queryResults</span>) {
<span style="color: #906030;">$RDPUser</span> = <span style="color: #906030;">$queryResult</span>.USERNAME
<span style="color: #906030;">$sessionType</span> = <span style="color: #906030;">$queryResult</span>.SESSIONNAME
<span style="color: #906030;">$sessionID</span> = <span style="color: #906030;">$queryResult</span>.ID
<span style="color: grey;"># We only want to display where a βpersonβ is logged in. Otherwise unused sessions show up as USERNAME as a number</span>
<span style="color: green; font-weight: bold;">If</span> ((<span style="color: #906030;">$RDPUser</span> <span style="color: #303030;">-match</span> <span style="background-color: #f0a0a0; color: #f00000;">β</span>[a-z]<span style="background-color: #f0a0a0; color: #f00000;">β</span>) <span style="color: #303030;">-and</span> (<span style="color: #906030;">$RDPUser</span> <span style="color: #303030;">-ne</span> <span style="color: #906030;">$NULL</span>)) {
<span style="color: grey;"># When running interactively, uncomment the Write-Host line below to show the output to screen</span>
<span style="color: grey;"># Write-Host $RDPUser logged in on Session ID: $sessionID</span>
<span style="color: #906030;">$command</span> = <span style="background-color: #fff0f0;">"rwinsta.exe </span><span style="background-color: #e0e0e0;">$(</span><span style="background-color: #f0a0a0; color: #f00000;">$</span><span style="background-color: #e0e0e0;">sessionID)</span><span style="background-color: #fff0f0;">"</span>
<span style="color: grey;"># Write-Host $command </span>
iex <span style="color: #906030;">$command</span>
}
}
</pre>
</div>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-61150228202990904312012-12-28T22:06:00.004+01:002012-12-28T22:06:55.216+01:00DNS Problem after update to Linux Mint 14<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-uUkjUekJ3pg/UN4JVmO4CiI/AAAAAAAAAv8/uJ5A8e-JSvg/s1600/linux-mint-logo.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="200" src="http://4.bp.blogspot.com/-uUkjUekJ3pg/UN4JVmO4CiI/AAAAAAAAAv8/uJ5A8e-JSvg/s200/linux-mint-logo.jpg" width="200" /></a></div>
After update Linux Mint from release 13 (Maya) to release 14 (Nadia), I experienced problem with DNS resolution.<br />
<br />
The solution is really simple, just type: <span style="color: blue; font-family: Courier New, Courier, monospace;"><b>sudo dns-fix</b></span> and everything will work properly.<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com1tag:blogger.com,1999:blog-7979948.post-67278283933300558122012-11-20T21:24:00.002+01:002012-11-20T21:24:17.127+01:00MyPermission.org<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-EC67fTAkJVM/UKvloj7H6GI/AAAAAAAAAs4/-teIeoiEnyw/s1600/MyPermissions.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-EC67fTAkJVM/UKvloj7H6GI/AAAAAAAAAs4/-teIeoiEnyw/s1600/MyPermissions.png" /></a></div>
This service allow you to check<b> which apps have access to your social accounts</b> (Facebook, Twitter, Google, Linkedin..)<br />
<br />
It doesn't need to access you account, it's only a<b> bookmark</b> for the permission pages which allow you to <b>grant or revoke access</b> to different services that use your social account.<br />
<br />
Check it out on <a href="http://www.mypermissions.org/">www.mypermissions.org</a>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-32879330922314070482012-11-08T22:45:00.000+01:002012-11-08T22:45:14.424+01:00Skype on Windows 8 replace Messenger<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-o_UA-DZEPWc/UJwmAtNvhAI/AAAAAAAAArc/PsFq7e2-8xc/s1600/Screenshot+(2).png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://2.bp.blogspot.com/-o_UA-DZEPWc/UJwmAtNvhAI/AAAAAAAAArc/PsFq7e2-8xc/s1600/Screenshot+(2).png" /></a></div>
As everyone know, Windows live Messenger will be retired after many years of succesfull usage.<br />
<br />
Latest Skype application with native support for Windows 8 will join contacts from MSN and Skype providing a unique IM application.<br />
<br />
After testing it for a while, I really appreciate it.<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-49793587494574637372012-10-16T22:09:00.003+02:002012-10-16T22:09:40.423+02:00Cracking WPA2 on Windows GPU Powered <br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-TCq8rOnSXPc/UH29e1ubOkI/AAAAAAAAApY/kdFHAlKP63g/s1600/iface1.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="235" src="http://1.bp.blogspot.com/-TCq8rOnSXPc/UH29e1ubOkI/AAAAAAAAApY/kdFHAlKP63g/s320/iface1.png" width="320" /></a></div>
I'm testing my own wireless network security, after I got WPA Handshake with <a href="http://www.backtrack-linux.org/" target="_blank">BackTrack</a> I would like to check how strong is my WPA2 password against a GPU Brute Force Attack.<br />
<br />
I found IGPRS (Ivan Golubev's Password Recovery Suite) and I really appreciate it.<br />
<br />
It can recover passwords for:<br />
<ul>
<li style="font-family: Verdana; font-size: 10pt; text-align: left;">Apple iOS 4.x & 5.x backups;</li>
<li style="font-family: Verdana; font-size: 10pt; text-align: left;">BlackBerry 5.x & 6.x backups;</li>
<li style="font-family: Verdana; font-size: 10pt; text-align: left;">TrueCrypt volumes (<a href="http://www.golubev.com/igprs/help/truecrypt.htm">limited support</a>);</li>
<li style="font-family: Verdana; font-size: 10pt; text-align: left;">WPA/WPA2 handshakes.</li>
</ul>
<div>
<span style="font-family: Verdana; font-size: x-small;">Link: </span><a href="http://www.golubev.com/igprs/">http://www.golubev.com/igprs/</a></div>
<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-19515299554661315112012-09-21T18:21:00.001+02:002012-09-21T18:21:30.488+02:00Change Windows Language Without Reinstall<a href="http://2.bp.blogspot.com/-Rlwg9IDUzAs/UFyTr3lcRII/AAAAAAAAAns/XiLtCKnqJ3A/s1600/globe.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="189" src="http://2.bp.blogspot.com/-Rlwg9IDUzAs/UFyTr3lcRII/AAAAAAAAAns/XiLtCKnqJ3A/s200/globe.png" width="200" /></a>I just received a new laptop with Italian language, I would like to have English language without reinstall PC.<br />
<br />
The solution was really simple, download <a href="http://www.froggie.sk/" target="_blank">Vistalizator</a>, launch it, select language and reboot, that's it !<br />
<br />
Link: <a href="http://www.froggie.sk/">http://www.froggie.sk/</a><div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com0tag:blogger.com,1999:blog-7979948.post-46545212138030258402012-09-03T12:00:00.000+02:002012-09-03T12:00:03.278+02:00Enable Virtualization on HP ProBook 4530s<a href="http://3.bp.blogspot.com/-3Cul1rJQwLA/UD85yWPCg0I/AAAAAAAAAnI/zCCFDiRwHCg/s1600/HyperV.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-3Cul1rJQwLA/UD85yWPCg0I/AAAAAAAAAnI/zCCFDiRwHCg/s1600/HyperV.jpg" /></a>I tried to install HyperV on my new HP ProBook 4530s but it fails with error message: <span style="color: red; font-family: "Courier New", Courier, monospace;">hyper-v is disabled in the firmware</span>.<br />
<br />
I enabled the parameter virtualization technology in BIOS but it still fail, the solution was to<strong> change BIOS Security Settings from View to Change for virtualization</strong>.<div class="blogger-post-footer"><script type="text/javascript"><!--
google_ad_client = "pub-9208424847702026";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_ui_features = "rc:6";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Vittorio Pavesihttp://www.blogger.com/profile/02804415638484029352noreply@blogger.com12