<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's experiments, little discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


TWIL - Week #25

This Week I Learned:

Azure

  • Previously, Azure Virtual Machines deployed in suspended subscriptions would be deleted when the spending limit was passed (the data drives would be preserved – but the VM instances themselves would be deleted). Now when a subscription is disabled, VMs deployed inside it will simply move into the stopped de-provision state that was recently introduced (which allows a VM to stop without incurring any billing).

JavaScript 

  • Editing JavaScript code in real time is possible in Chrome and Chromium based browsers. After loading a web page completely, press the F12 key to open Developer Tools, then open the 'Sources' tab. Now open any JavaScript file loaded on the browser and you can directly edit it by clicking anywhere in that file. After making modifications press Ctrl+S to save the changes. The browser will automatically take in the new code. If there are some syntax errors in your code then it will display them in the console. So keep an eye on the console whenever you apply changes. If the part of code you modify is going to be executed by future events then you can see the effect of the modification. There is no point in changing the code that is not going to be executed in future events on that web page. For example, the code that is getting executed while the page is loading and making modifications to that code has no effect.

Browsers

  • To view the source of a web page directly you can use the view-source URI scheme in Chrome, Firefox (but not IE): view-source:somedomain.com
  • Netscape Plugin Application Programming Interface (NPAPI) is a cross-platform plugin architecture used by many web browsers. Internet Explorer dropped supported for NPAPI in version 5.5 SP2. Starting in January 2014, Chrome will block webpage-instantiated NPAPI plug-ins as per an announcement by Justin Schuh, Security Engineer and Plug-in Retirement Planner. However, the built-in Flash plug-in and PDF viewer will be unaffected because they don’t use NPAPI.

India

  • The Apollo Clinic lets you view your diagnostic reports online which is nice. Wonder if there are privacy standards defined for health records in India and if the website maintains those standards.

Trivia


Everything else

Labels:

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment