Bits of code, bytes of life.

I’m not here to teach; I’m here to share. Sometimes that’s a bug fix. Sometimes it’s a breakdown. Either way, welcome to my blog.

Read this first

SSH Key-Based Authentication on Linux Server

Here are the top 10 Password of 2018

123456
password
123456789
12345678
12345
111111
1234567
sunshine
qwerty
iloveyou

using public key pairs is a much wiser thing to do than using passwords or lists of passwords. I will focus on things that are not widely known about different forms of SSH authentication, and I see no other answers mentioning them.

First of all, you must understand that user authentication is a different and separate process than the establishment of the secure channel. In laymans terms what this means is that first, the public key of the server is used (if accepted!) to construct the secure SSH channel, by enabling the negotiation of a symmetric key which will be used to protect the remaining session, enable channel confidentiality, integrity protection and server authentication.

So, to sum up, using public key pairs offers considerably more protection than using...

Continue reading →


SETUP PYTHON NOTEBOOK SERVER ON AWS FOR DEEP-LEARNING

deeplearning.png
Lets play around with some deep learning libraries on AWS with GPU.
If you don’t know what’s deep learning, check this wikipedia article on deep learning

And i will be using Jupyter/IPython Notebook for learning and tinkering.
Jupyter/IPython Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Cool isn’t it ?

I will go through complete guide to set up AWS with the intention of starting my very first Self Driving Car Engineer ND project, Lane Line Detection and further Deep Learning project predicting the correct steering angle.

In this tutorial i will show you how to set up Jupyter/IPython Notebook Server in Amazon Elastic Compute Cloud(EC2) and access it remotely from your web-browser.

I have divided the tutorials into 3 different part,

  • Part 1: Creating AWS Account and Setting Up...

Continue reading →


Introduction to Deep Learning

deep_learning_cover.jpg
Over the past few years, the term “deep learning” has taken over the internet and firmly worked its way into business language when the conversation is about Artificial Intelligence (AI), Big Data and analytics.

What is Deep Learning ?
Deep Learning refers to artificial neural networks that are composed of many layers. It is the new big trend in Machine Learning. It promises general, powerful and fast machine learning, moving one step closer to AI.

What is a Neuron ?
The basic cell in a biological brain is called a neuron (type of nerve cell). There are 100 billion neurons in a human brain. These neurons are connected to form a biological neural network with each network having an average of 100,000 connections.
ann_neuron-700x376.png

In computer science neuron (artificial neuron) is a mathematical function conceived as a model of biological neurons, a neural network. It receives one or more inputs and...

Continue reading →


मंज़िल के करीब

जीते जी वक्त गुजर गया, ज़िन्दगी एक मोड़ पर आ खड़ी हुई
मंज़िल तो पास आई थी, पर रास्ता कहीं खो गया

View →


Setup Raspberry PI B+ without Display and Keyboard [Complete Guide]

raspi-3x.png

Headless Raspberry Pi Setup Using NOOBS and Ethernet Only

Ten days after I placed an order on eBay, my first Raspberry Pi arrived—and I was excited to get started. I had already downloaded the NOOBS (New Out Of Box Software) installer from the official website. Everything seemed ready…

Then I realized:
I had no HDMI cable, no USB keyboard, and no USB mouse.

The only thing I had was a 16GB microSD card preloaded with NOOBS. I wanted to install Raspbian (now known as Raspberry Pi OS)—without connecting a display, keyboard, or mouse. And yes, I pulled it off.

If you’re in a similar situation, here’s exactly how I did it:

What You Need

  • A Raspberry Pi (any model that supports NOOBS)
  • A microSD card (4GB or larger)
  • A laptop or desktop with an SD card reader
  • NOOBS (latest version): https://www.raspberrypi.org/software/

Step-by-Step Installation

1. Format the SD Card Properly

Use...

Continue reading →


Install Android SDK/ADT Bundle on Ubuntu [Complete Guide]

eclipsestart-3x.png

Android SDK/ADT Installation on Ubuntu (64-bit)

Android SDK/ADT is a development platform for Android OS, enabling developers to build applications for Android devices. This tutorial walks through installing the Android SDK/ADT Bundle on Ubuntu. This guide uses Ubuntu 13.04 (64-bit, Intel Core i5 2450M @ 2.50GHz x4).


You can check your OS version using:

lsb_release -a

To check your Linux distribution type:

file /sbin/init

1. Install Required 32-bit Libraries

Android SDK is 32-bit, so if you’re using a 64-bit OS, install the necessary 32-bit compatibility libraries.

For Ubuntu 12.04:

sudo apt-get install ia32-libs

For Ubuntu 13.04:

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5

For Ubuntu 13.10:

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1

2. Install JDK (Java Development Kit)

If you haven’t installed the...

Continue reading →


How to: Enable and Install (updates/rmps) in RHEL6 without RHNs ?

redhat-3x.png

Installing and Using yum in RHEL6 Without RHN

I recently installed RHEL6 (Red Hat Enterprise Linux 6) on my machine. It’s working perfectly and does exactly what I need. However, unlike Ubuntu or most Linux distributions (except CentOS, which is quite similar to Red Hat), getting updates in RHEL is not straightforward—you must be registered with RHN (Red Hat Network).


What is yum?

To install or update RPM packages in RHEL/CentOS, we use the yum command. It’s a powerful tool that:

  • Automatically handles dependencies
  • Can install, update, or remove packages
  • Supports group installation of packages

yum uses repository files found in: /etc/yum.repos.d/[name].repo

Basic Format of a .repo File

[repo_name]
name=My Local Repo
baseurl=file://PATH_OF_YOUR_FOLDER
enabled=1
gpgcheck=0

This configuration tells yum to search for .rpm packages in the specified folder.

Unlike Ubuntu, where...

Continue reading →