"Protected mode is currently turned off for the Internet zone"
Want to disable the IE7 pop-up saying “Protected mode is currently turned off”?
Solution: Just right-click the message and click “Don’t show this again”.
Want to disable the IE7 pop-up saying “Protected mode is currently turned off”?
Solution: Just right-click the message and click “Don’t show this again”.
(function(){
// Define overriding method.
jQuery.fx.prototype.hide = function(){
// Remember where we started, so that we can go back to it later
this.options.orig[this.prop] = jQuery.style( this.elem, this.prop );
this.options.hide = true;
// Begin the animation
this.custom(this.cur(), 1);
}
})();
Install PySerial:
#! /usr/bin/python | |
import serial | |
import time | |
ser = serial.Serial('/dev/ttyUSB0', 2400, timeout=1) # replace '/dev/ttyUSB0' with your port | |
while True: | |
response = ser.read(12) | |
if response <> "": | |
print "raw: " + str(response) | |
print "hex: " + str(response[-8:]) | |
print "dec: " + str(int(response[-8:], 16)) | |
time.sleep(1) | |
ser.close() |