This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
#include "SIM900.h" | |
bool gprs_active; | |
char incoming[255] = ""; | |
bool handling_call; | |
void setup() | |
{ | |
handling_call = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
using namespace std; | |
struct Point | |
{ | |
size_t x; | |
size_t y; | |
Point() : x(0), y(0) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cassert> | |
#include <numeric> | |
#include <iostream> | |
#include <fstream> | |
#include <vector> | |
#include <set> | |
#include <functional> | |
#include <cstdint> | |
uint16_t readLittleEndianWord(std::ifstream& stream) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$subscriptionId = 'XXXXXXXXXXXXXXXXXX'; | |
$login = in_array('--login', $argv); | |
if($login) | |
{ | |
if(!in_array('--username', $argv) || !in_array('--password', $argv)) | |
{ | |
echo "Usage: php {$argv[0]} --login --username <username> --password <password>\n"; | |
exit(1); |
OlderNewer