Skip to content
  • Presentations

My Notes…

Home | Work | Life

My Notes…

Home | Work | Life

  • Presentations

Featured Items

Machine learning using decision tree algorithm in python
Posted on July 7, 2019July 8, 2019 by manish

Machine learning using decision tree algorithm in python

Share

Decision tree algorithm is very basic method to predict result of given input using the pre-known data (knowledge) . Let us see how this can be used in machine learning to do predictions. To start with, you need python scikit-learn module Think of a problem statement…say predicting a domestic animal with its height, length and […]

machine learning, python
  • Tech bytes
ACS712 current sensor with NodeMCU
Posted on June 16, 2019June 16, 2019 by manish

ACS712 current sensor with NodeMCU

Share

When we buy an electrical appliance we trust that the load mentioned on specs is correct. Let us try to build something to measure actual power usage of a 220V AC electrical appliance. ACS712 is available is 5A, 20A and 30A current rating. This sensor works on the principal of Hall effect. From the data […]

ACS712, Homeautomation
  • Tech bytes
python based nmap port scanning
Posted on June 12, 2019June 15, 2019 by manish

python based nmap port scanning

Share

Nmap is a great tool to run scans on remote hosts and networks. python-nmap module uses underline nmap binary to run scans and adds advantage of programmable controls to get desired results. To start install python-nmap module. Here is a sample code how to use above module and run scans. Save this as scanit.py Output

ITsecurity, nmap
  • Tech bytes
Dharamshala, Kangra, Palampur and Baijnath photos
Posted on May 29, 2019May 31, 2019 by manish

Dharamshala, Kangra, Palampur and Baijnath photos

Share
Himachal
  • Travel notes
Hotwheels collection
Posted on May 28, 2019July 28, 2019 by manish

Hotwheels collection

Share
Hotwheels, toys
  • Everything else
Paramiko python ssh library
Posted on May 8, 2019May 9, 2019 by manish

Paramiko python ssh library

Share

At times we have to use ssh connections to remote hosts/devices in programs to perform certain tasks. Here is an example that you can pick and modify to your taste.

python
  • Tech bytes
Migrate elasticsearch data from one cluster to another
Posted on April 5, 2019April 5, 2019 by manish

Migrate elasticsearch data from one cluster to another

Share

Suppose you have an existing elasticsearch cluster A and, for any reason, you want to migrate the data to cluster B.In this write up, My cluster A is on ELK 5.4 and cluster B is on ELK 6.7. This procedure is very handy to upgrade and migrate ELK on from existing to new servers. On […]

Elasticsearch
  • Tech bytes
Playing with elasticsearch indices
Posted on March 27, 2019September 3, 2019 by manish

Playing with elasticsearch indices

Share

List all indices List indices matching a pattern Delete an index Fetch available fields in an index Search something within an index List all items in an index

Elasticsearch, nosql
  • Tech bytes
Coorg Madikeri, Karnataka photos
Posted on March 16, 2019March 17, 2019 by manish

Coorg Madikeri, Karnataka photos

Share
coorg, Karnataka
  • Travel notes
Syslog messages in EFK stack
Posted on March 15, 2019March 15, 2019 by manish

Syslog messages in EFK stack

Share

You can use opensource syslog-ng tool to capture syslog messages from various sources, like remote servers, devices, local logs and so on. These logs can then be forwarded to fuentd on EFK stack. Here is a sample config of syslog-ng config to receive logs from devices and hosts on tcp and udp port 514. Received […]

Analytics, efk
  • Tech bytes

Posts navigation

Older posts
Newer posts
Copyright © Blogbuster 2025 Proudly powered by WordPress | Theme: Blogbuster by Mystery Themes.