Clone your repo
git clone https://github.com/YOUR-USERNAME/Spoon-Knife
| # Function to display greetings and show some promotional items and its price | |
| def display_greetings(name): | |
| print(f"Welcome to {name} supermarket! Today's promotional items are:") | |
| print("----------------------------------------------------------") | |
| print() | |
| # Function to display items | |
| def display_items(msg, items): | |
| print(f"{msg}") | |
| print() |
Clone your repo
git clone https://github.com/YOUR-USERNAME/Spoon-Knife
| void hexToAscii(char *inBuff, char *outBuff) | |
| { | |
| while(*inBuff) | |
| { | |
| unsigned int ch; | |
| int n; | |
| if ( sscanf(inBuff, "%2x%n", &ch, &n) != 1 ) | |
| { | |
| break; | |
| } |
| #include <EEPROM.h> | |
| #include "PacketSerial.h" | |
| #define STARTBYTE 0xFF | |
| #define PACKETSIZE 254 | |
| #define MINPACKET 8 | |
| #define TCP 1 | |
| #define ADHOC 0 | |
| #define FWD 0 | |
| #define ACK 1 |
| 7755 CELL_0 00:14:bf:70:22:ee -67 | |
| 7757 CELL_0 74:29:af:22:91:52 -73 | |
| 7757 CELL_0 00:1a:70:a0:01:3a -73 | |
| 7757 CELL_0 66:27:37:19:15:0f -74 | |
| 7757 CELL_0 76:29:af:22:91:53 -74 | |
| 7757 CELL_0 54:88:0e:d2:eb:08 -74 | |
| 7758 CELL_0 64:27:37:19:15:0e -76 | |
| 7759 CELL_0 94:a7:b7:3d:8a:e4 -77 | |
| 7759 CELL_0 b2:c2:87:2a:ab:0b -78 | |
| 7759 CELL_0 c8:b3:73:5d:83:f5 -78 |
| 2908 NONE 00:14:bf:70:22:ee -64 | |
| 2909 NONE 54:88:0e:d2:eb:08 -77 | |
| 2909 NONE fa:8f:ca:9b:8a:de -81 | |
| 2909 NONE 76:29:af:22:91:53 -72 | |
| 2909 NONE 00:1a:70:a0:01:3a -69 | |
| 2909 NONE 42:a5:89:3e:54:09 -74 | |
| 2909 NONE 66:27:37:19:15:0f -77 | |
| 2909 NONE 64:27:37:19:15:0e -77 | |
| 2910 NONE c4:ea:1d:6c:c9:6d -77 | |
| 2910 NONE c8:b3:73:5d:83:f5 -87 |
| <?php | |
| require("class.phpmailer.php"); | |
| $mail = new PHPMailer();$mail = new PHPMailer(); | |
| $mail->IsSMTP(); | |
| $mail->Host = "smtp1.example.com;smtp2.example.com"; | |
| $mail->SMTPAuth = true; | |
| $mail->Username = 'smtpusername'; | |
| $mail->Password = 'smtppassword'; | |
| $mail->From="[email protected]"; |
| <?php | |
| // Here we specify all the type of files we want to accept | |
| $extension = array("application/pdf", "image/jpeg", "image/png", "image/gif"); | |
| if(isset($_POST['submit'])){ | |
| exec("file -i ".$_FILES['inputName']['tmp_name'], $output); | |
| $type = explode(':', (string)$output[0]); | |
| } | |
| // Here we check our file with our needs |