Skip to content

Instantly share code, notes, and snippets.

View ccall48's full-sized avatar

Cory ccall48

View GitHub Profile
@ccall48
ccall48 / heltec-wireless-tracker-v1.1-oled.ino
Last active April 10, 2024 05:28
heltec-wireless-tracker-v1.1-oled
/* Heltec Automation LoRaWAN communication example
*
* Function:
* 1. Read the longitude and latitude of GPS and upload it to the LoRaWAN server.
* 2. Display the longitude and latitude of GPS on the screen.
*
* Description:
* 1. Communicate using LoRaWAN protocol.
*
* HelTec AutoMation, Chengdu, China
@ccall48
ccall48 / helium_mapper_flow.js
Created February 6, 2024 02:04
Helium ChirpStack Mapper Flow
[
{
"id": "ef6a48be18856f84",
"type": "tab",
"label": "Helium GPS Mapper",
"disabled": false,
"info": "",
"env": []
},
{
@ccall48
ccall48 / chirpstack_grpc.py
Created June 7, 2023 01:43
chirpstack grpc python example to get device & gateway statuses.
from itertools import chain
from datetime import datetime as dt, timedelta as td
import json
import grpc
from google.protobuf.json_format import MessageToJson
from chirpstack_api import api
api_token = '<CHIRPSTACK API_KEY>'
server = 'localhost:8080'
@ccall48
ccall48 / del_slash.py
Created September 29, 2022 09:11
delete discord application commands
import requests
import time
class AppCommands:
"""
Get Guild Application Commands
GET/applications/{application.id}/guilds/{guild.id}/commands
Delete Guild Application Command