Skip to content

Instantly share code, notes, and snippets.

View heyitsnovi's full-sized avatar
🎯
Focusing

Кел-Нови heyitsnovi

🎯
Focusing
View GitHub Profile
#include <SoftwareSerial.h>
SoftwareSerial sim(10, 11);
void setup() {
Serial.begin(9600);
Serial.println("System Starting...");
sim.begin(9600);
delay(1000);
Serial.println("Initializing SIM800L Module...");
@heyitsnovi
heyitsnovi / ReadSMS.ino
Created March 14, 2023 13:45 — forked from salmanfarisvp/ReadSMS.ino
Read SMS using SIM800L and Print the message content in I2C LCD Display .
#include <SoftwareSerial.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
String Grsp;
SoftwareSerial mySerial(3, 2); //SIM800L Tx & Rx is connected to Arduino #3 & #2
#include <LiquidCrystal_I2C.h>
#include <NewPing.h>
#include <SPI.h>
#include <Ethernet.h>
const int trigPin = 9;
const int echoPin = 10;
const int max_distance = 1400; //in centimeter
// defines variables
1E -> C140
1MZFE -> A541E automatic
1ZZFE ->C60
18RG -> T50
2C -> W58
2E -> C150
2ETE -> C152
2JZGE -> W58
2JZGTE ->V160
2TB -> T50
@heyitsnovi
heyitsnovi / getpath.html
Created September 28, 2022 03:06
Get Element DOM Path
<html>
<head>
<title>Dompath Example</title>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="maindiv">
<a href="#" id="smlink">Some Link</a>
<div class="some-complicated-div">
@heyitsnovi
heyitsnovi / Public_Time_Servers.md
Created July 24, 2021 01:11 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

This file has been truncated, but you can view the full file.
{
"rows": [
{
"type": 3,
"data": {
"source": 3,
"id": 1,
"x": 0,
"y": 733
},
[
{
"brgy":"Agsoso",
"Lat":"9.7897",
"Lon":"123.8203"
},
{
"brgy":"Badbad Occidental",
"Lat":"9.8030",
"Lon":"123.8133"
<?php
/*
💬 Get Google-Reviews with PHP cURL & without API Key
=====================================================
**This is a dirty but usefull way to grab the first 8 most relevant reviews from Google with cURL and without the use of an API Key**
How to find the needed CID No:
- use: [https://pleper.com/index.php?do=tools&sdo=cid_converter]
<?php
date_default_timezone_set('Asia/Manila');
function isBetween($from, $till, $input) {
$fromTime = strtotime($from);
$toTime = strtotime($till);
$inputTime = strtotime($input);
return($inputTime >= $fromTime and $inputTime <= $toTime);
}