One way to do this is add an onclick method to your form to initiate the javascript containing the alert.
Wednesday, 27 June 2018
Mouse Over To select radio button or same like
Hi fried's normally what happens there some time we create forms for cust. cust required fast fill form fast so only mouse over to select an option.
Code using JavaScript
------------------------------------------
select MAC Plus tech
code >>
<span id="radio-buttons">
<input checked="check" class="tryout" name="example" type="radio" />
select <input class="tryout" name="example" type="radio" />
MAC <input class="tryout" name="example" type="radio" />Plus
<input class="tryout" name="example" type="radio" />tech
</span>
<script>
document.getElementById("radio-buttons").onmouseover = function (e) {
e.target.checked = true;
}
</script>
- Kishor M Sonawane
select MAC Plus tech
code >>
<span id="radio-buttons">
<input checked="check" class="tryout" name="example" type="radio" />
select <input class="tryout" name="example" type="radio" />
MAC <input class="tryout" name="example" type="radio" />Plus
<input class="tryout" name="example" type="radio" />tech
</span>
<script>
document.getElementById("radio-buttons").onmouseover = function (e) {
e.target.checked = true;
}
</script>
- Kishor M Sonawane
Thursday, 21 June 2018
Pen-drive or Any Drive Virus Remove Using MAC+ tech tool
Pen-drive or Any Drive Virus Remove Using MAC+ tech tool
MAC+tech Create Small Product For Remove Pen drive Viruses And Worms as well as Drive Viruses / Solve Auto Hidden Files Problem Follow Following steps ...
DOWNLOAD -------------------------------------------------------------------------
Step 1 >> Download the file Click Here.... https://drive.google.com/open?id=1lf9nR4nTo-Qh73N8J9Qbkk8_GcY7CZsV
(here open Drive and Download Option Available)
Step 2>> Downloaded file (.zip ) Extract and Save On your Computer
-----------------------------------------------------------------------
how to use ??
just copy MAC+tech.exe (tool) Paste on Affected Drive And Run it (Double Click).
*Note: Tool Copy On Affected Drive then Run tool...
*Software is Command line Based GUI Based Software Come Within some Day's......
thank You For Using MAC+tech Services
-Kishor M Sonawane
Wednesday, 20 June 2018
Arduino Remote Light
Program Def: Create program glow light using wireless media .
Reuredment:
two CKT two Arduino
one connected LED
another Connected Button
Each Arduino Connecrted Bluetooth HC-05 SETUP
One as Master Another As Slave :
Load This Program For Config Bluetooth
// note : pin cong:
BT Arduino
Tx 10
RX 11
VCC 5v
Gnd Gnd
EN 3.3v or pin 9 (for program)
Salve :
Write TTL Command
AT+RMAAD (clear any paired devices)
AT+ROLE=0 (set as slave)
AT+ADDR (Return H/w address remember it)
AT+UART=38400,0,0 (To fix the baud rate at 38400)
Master :
AT+RMAAD
AT+ROLE=1 (set it as master)
AT+CMODE=0 (To connect the module to the specified Bluetooth address and this Bluetooth address can be specified by the binding command)
AT+BIND=xxxx,xx,xxxxxx ( XXXXXXXXXXXX Contain slave address)
AT+UART=38400,0,0 (To fix the baud rate at 38400)
CKT DIG:
------------------------------------------------------------------------
// note : pin cong (Both Arduinos):
BT Arduino
Tx 0
RX 1
VCC 5v
Gnd Gnd
Programs
Android 1 (Button Site)
LED Site (Arduino 2)
Reuredment:
two CKT two Arduino
one connected LED
another Connected Button
Each Arduino Connecrted Bluetooth HC-05 SETUP
One as Master Another As Slave :
Load This Program For Config Bluetooth
// note : pin cong:
BT Arduino
Tx 10
RX 11
VCC 5v
Gnd Gnd
EN 3.3v or pin 9 (for program)
#include <SoftwareSerial.h> SoftwareSerial BTSerial(10, 11); // RX | TX void setup() { pinMode(9, OUTPUT); // this pin will pull the HC-05 pin 34 (key pin) HIGH to switch module to AT mode digitalWrite(9, HIGH); Serial.begin(9600); Serial.println("Enter AT commands:"); BTSerial.begin(38400); // HC-05 default speed in AT command more } void loop() { // Serial.println("in LOop"); // Keep reading from HC-05 and send to Arduino Serial Monitor if (BTSerial.available()) { Serial.write(BTSerial.read()); // Serial.println(BTSerial.read()); // Serial.println("in avl..."); //delay(1000); } // Keep reading from Arduino Serial Monitor and send to HC-05 if (Serial.available()) BTSerial.write(Serial.read()); //Serial.println("Write.."); //delay(1000); }
Salve :
Write TTL Command
AT+RMAAD (clear any paired devices)
AT+ROLE=0 (set as slave)
AT+ADDR (Return H/w address remember it)
AT+UART=38400,0,0 (To fix the baud rate at 38400)
Master :
AT+RMAAD
AT+ROLE=1 (set it as master)
AT+CMODE=0 (To connect the module to the specified Bluetooth address and this Bluetooth address can be specified by the binding command)
AT+BIND=xxxx,xx,xxxxxx ( XXXXXXXXXXXX Contain slave address)
AT+UART=38400,0,0 (To fix the baud rate at 38400)
CKT DIG:
------------------------------------------------------------------------
// note : pin cong (Both Arduinos):
BT Arduino
Tx 0
RX 1
VCC 5v
Gnd Gnd
Programs
Android 1 (Button Site)
-----------------------------------------------------
// Button Coding ... //this is master //#include <SoftwareSerial.h> //SoftwareSerial BTSerial(10, 11); const int buttonPin = 2; int buttonState = 1; void setup() { Serial.begin(9600); pinMode(buttonPin, INPUT); digitalWrite(buttonPin, HIGH); } void loop() { // send Signal to Second Arduino.... for glow LED buttonState = digitalRead(buttonPin); if (buttonState == LOW) { Serial.write('1'); } else { Serial.write('0'); } }--------------------------------------------------------
LED Site (Arduino 2)
//LED CKT #include <SoftwareSerial.h> //SoftwareSerial BTSerial(2, 3); int data = 0; const int led = 8; int flag=0; void setup() { //BTSerial.begin(38400); Serial.begin(9600); pinMode(led, OUTPUT); digitalWrite(led, LOW); } void loop() { if(Serial.available() > 0) { data = Serial.read(); // incoming data i.e 1 if(data==1 && flag==0) { flag=1; } else if(data==1 && flag==1) { flag=0; } } if (flag == '1' ) { digitalWrite(led, HIGH); // LED ON data = 0; } else if (flag == '0') { digitalWrite(led, LOW); // LED ON data = 0; } }
Tuesday, 12 June 2018
Python P2 Python Command line + exit Command
Python P2 Python Command line + exit Command
Exit Syntax
exit Use to Stop Python Program
means When You use Command Line Python At that time use exit() from Command.exit()
How to Start Command line Python :
- Open terminal / CMD
- type python
- your Command Line Python Open :)
Now type any python on it
look like ......
$python
python>> [Your Command Here]
example :
$ python
python>> print("hello MAC+tech")
hello MAC+tech
python>>
Intro Python P1 + Run Python 1st Program
Python?
It was created in 1991 by Guido van Rossum .
use :
- web development (server-side)
- Data Mining And Analytics.
- graphics
- System S/w
- software development
- mathematics
- system scripting.
- AI Application
- Embedded Development
- Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
- Python has a simple syntax similar to the English language.
- Python has syntax that allows developers to write programs with fewer lines than some other programming languages.
- Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick.
- Python can be treated in a procedural way, an object-orientated way or a functional way.
Run Program
$python File.py
Here Command Python , file name is the any File Name..
Run Steps :
open Any Editor And Type :
print("Hello, MAC+tech Word!")
Save any name ex mypro1.py
Type python mypro1.py
O/U :
Hello, MAC+tech Word!
Subscribe to:
Posts (Atom)
create and activate a Python virtual environment on macOS and Windows
create and activate a Python virtual environment on macOS and Windows: Prerequisites: Python 3: Ensure you have Python 3 installed. You ca...
-
Logical operators and symbols Google can understand three logical operators: AND, NOT and OR, so Google recognizes the “OR” as the oper...
-
A hard drive has only a few basic parts. There are one or more shiny silver platters where information is stored magnetically, there...
-
In one of our previous articles, we've shown how to manage your disks using the Disk Management utility. Now it's time to see how ...