Entries Written By The Nerd
Vagrant cheat sheet
vagrant Verify vagrant installation vagrant init hashicorp/bionic64 This will create a Vagrantfile in current directory vagrant up start the virtual machine from the Vagrantfile configuration vagrant halt shutdown VM preserving content of the disk vagrant reload This will quickly restart your virtual machine, skipping the initial import step vagrant reload –provision The provision flag on …
Tips For Sampling High Speed Analog Signal in Arduino/Microcontroller
In many Arduino projects, we need to sample high-frequency signals such as an audio or equivalent signal. Think about a situation we want to sample the 50Hz AC signals and want to see the signal in Arduino serial plotter in real-time. In such cases, we make a few common mistakes that can be easily avoided …
Custom data structure design for Arduino and Microcontroller project | Part 1
Data structure provides an efficient way of organizing data and functionality in the digital system. Good data structure design makes the system efficient and fast. There are few standard data structures in computer literature. Queue Stack Array – One dimension as vector Array – Multi dimension as Matrix List Tree Apart from the standard data …
Linux guide to the netstat command: netstat cheat sheet
netstat is used to list out all the network(socket) connections of a system and it is a very useful tool for checking system safety. Here is the list of all the possible flags that we can use with the netstat command. Flags -a list all connection -n disable DNS lookup -t list only TCP connection …
Python package installation guide: manual and automatic methods
Most python packages are designed to be compatible with the python-pip package manager. pip is the default CLI for managing python packages. All the popular packages can be installed using pip. But some old package does not support pip installation. In such a case, we have to install the package manually. In this document, I …
conda cheatsheet: manage Anaconda package like pro
The conda is the command-line interface tool for managing installations of various packages in Anaconda. Of course, Anaconda has GUI to manage everything. But GUI does not provide all the functionalities. Here comes the conda CLI tool for managing Anaconda packages. conda basic commands conda clean –all It clean tarballs garbage create by environments and …
Different ways of loading datasets for machine learning and deep learning
Loading the dataset is the first task we have to do before running any model. As a beginner in machine learning, I have faced the serious problem of loading datasets. Because different tutorials follow different ways of loading datasets. For this reason, I documented the popular ways of loading datasets into your model. While training …
Linux Basic Commands Cheatsheet
Working flawlessly with Linux mostly depends on how well we know the Linux commands. It really needs time to be good at all the Linux commands. The purpose of this document is to list all the basic commands so that anyone can get help. Linux Command Structures A command is a program that tells the …
Python Package Management Twist All Python Beginners Should Know
Recently I have started working with deep learning although I don’t have that much knowledge over machine learning and neural network. The only thing I believe to be good at is programming. So switching to new programming is not that challenging for me. Also, I have a little bit of understanding of python before. We …
Checksum: The Easiest Way to Find Data mismatch in Your IoT Project | Part 1
I frequently design IoT projects and write firmware for them. I faced a few weird data mismatch-related problems in these projects which I could overcome easily if I planned properly. Today I will discuss an interesting bug of an IoT project related to the communication protocol. The system had a base station and hundred of …
Recent Comments