Skip to content

Instantly share code, notes, and snippets.

View hamidrhashmi's full-sized avatar

Hamid R. Hashmi hamidrhashmi

View GitHub Profile
@hamidrhashmi
hamidrhashmi / RTPengine_Installation_on_Rocky.md
Last active March 12, 2025 12:03
RTPengine Installation on Rocky Linux

First of all disable SELinux

setenforce 0

To permanantly disable selinux edit file vim /etc/selinux/config

SELINUX=disabled

Now enable the CodeReady Builder repository

@hamidrhashmi
hamidrhashmi / qryn.md
Created December 23, 2024 12:52
How to send data to qryn

https://gigapipe.com/docs.html

Pre-Requisite: Signup And you have created the Organization and a Project.

As the Project is created you will have two Stack already added to your project

Grafana

@hamidrhashmi
hamidrhashmi / iot_qryn.md
Last active January 3, 2025 12:32
IOT Device Monitoring with Qryn

Configuring your own MQTT broker with a database offers significant cost advantages over cloud IoT platforms like AWS or Azure. You eliminate recurring service fees, unpredictable pricing tiers, and data egress costs. Hosting on-premises or on a low-cost VPS ensures a predictable and lower total cost of ownership, especially for scaling needs.

Self-hosted solutions provide full customization, allowing you to optimize message retention, QoS, and security without premium charges. Direct integration with your database avoids extra pipeline costs, while local data control enhances privacy and compliance.

Unlike proprietary platforms, self-hosting prevents vendor lock-in, offering greater flexibility to adapt or migrate as needed. Open-source brokers like RabbitMQ deliver robust functionality for free, making this approach ideal for long-term, cost-effective IoT deployments.

Here is my little effort to create onsite or make your onw cloud solution for IOT using qryn.

![mqttArchitecture](https://gist.github.co

@hamidrhashmi
hamidrhashmi / ch_hosted.md
Created December 23, 2024 12:40
Clickhosue Hosted Services
@hamidrhashmi
hamidrhashmi / linux_commands.md
Last active April 14, 2025 15:37
Use full Linux Commands

How to check the Linux OS version

lsb_release -a 

OR

cat /etc/*lease

How to grep network traffic on a specific port or port range

@hamidrhashmi
hamidrhashmi / system_monitoring.md
Last active December 30, 2024 07:17
How to monitor Linux machines

STEP2: Install Node Exporter

Download node_exprter

wget https://github.com/prometheus/node_exporter/releases/download/v1.8.2/node_exporter-1.8.2.linux-amd64.tar.gz
tar -zxvf node_exporter-1.8.2.linux-amd64.tar.gz
mv node_exporter-1.8.2.linux-amd64 /usr/local/node_exporter

Create this unit file

@hamidrhashmi
hamidrhashmi / heplify-server.md
Last active December 5, 2024 08:04
how to install heplify server ?

Download heplify-server

wget https://github.com/sipcapture/heplify-server/releases/download/v1.59.7-1/heplify-server
chmod + heplify-server
mv heplify-server /usr/bin/

Set Envoirnmnet variables

export HEPLIFYSERVER_HEPADDR=0.0.0.0:9060
export HEPLIFYSERVER_HEPTCPADDR=0.0.0.0:9061
@hamidrhashmi
hamidrhashmi / next.md
Created November 29, 2024 12:02
How to compile and deploy next application

Install nodejs

Use this link for further reading

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
nvm install 22
node -v 
npm -v 
@hamidrhashmi
hamidrhashmi / Freeswitch-test-dialplan.md
Last active October 30, 2024 08:10
Freeswitch Dial plan to test Different Call Scenario

Answer Call starting with 00 or +

    <extension name="echo_DZ">
            <condition field="${destination_number}" expression="^(?:\+|00)(\d+)$">
                <action application="log" data="Call Received with Call-ID: ${sip_call_id}"/>
                <action application="log" data="Call Received with Call-ID: <${sip_call_id}>"/>
                <action application="answer"/>
                <action application="echo" data=""/>
            </condition>
 
@hamidrhashmi
hamidrhashmi / sipp_uac.md
Last active October 14, 2024 07:52
SIPp UAC scenario file with pcap

Please install latest sipp (>3.7.3)

wget https://github.com/SIPp/sipp/releases/download/v3.7.3/sipp
chmor +x sipp
mv sipp /usr/bin/sipp

use the following sipp scenario file

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">