Skip to content

Instantly share code, notes, and snippets.

View hossainlab's full-sized avatar
😎
Probably Learning!

Jubayer Hossain hossainlab

😎
Probably Learning!
View GitHub Profile
// Create a string
// TODO: I have to fix later and study more on it
var str = new String()
// ! But Most of developers skip that and follow this convention
var name = 'Jubayer';
console.log(typeof name);
// Properties and methods of the String() object
// concat(text)
// JavaScript OOP Concepts
/*
Concept-1:Object Literals
Concept-2:Constructor & This
Concept-3:Prototypes & Inheritence
Concept-4:Classes and Subclasses
*/
// Concept-1:Object Literals
const bookOne = {
@hossainlab
hossainlab / blood_donation.md
Last active January 17, 2021 18:16
This our first social work.this webapp helps our country and helpless people

Project Title: IamBloodDonor

Project Tagline: Donate Blood, Save Life

Features

  • Blood Group List
  • User Blood Request Message
  • User FeedBack Message
  • Registration
  • Login
  • Search(Current location)
@hossainlab
hossainlab / queues.md
Created November 3, 2018 19:00
Python List as Queues(First-in, First-Out)

In this article we will learn how to use python list(built-in data structure) as Queues.

Python List as Queues(First-in, First-Out)

  • import collections.deque
  • To add an item, append()
  • To remove an item, popleft()
@hossainlab
hossainlab / stack.md
Created November 3, 2018 19:08
Stacks (Last-In, First-Out)

In this article we will learn how to use python list as Stact.

Stacks (Last-In, First-Out)

  • To add an item to the top of the stack, use append()
  • To retrieve an item from the top of the stack, use pop() without an explicit index
stack = [2, 3, 4]
@hossainlab
hossainlab / idea.md
Last active December 7, 2018 18:03
Install IntelliJ on Ubuntu using Ubuntu Make

IntelliJ IDEA

IntelliJ IDEA is an integrated development environment (IDE) for Java development. It’s developed by JetBrains, the same company that developed PyCharm, the best IDE for Python. Like PyCharm.

Two Types

  • Community Edition (Free)
  • Ultimate Edition (Paid version with extra features)

➡️ Install Ubuntu Make

 sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
@hossainlab
hossainlab / latex.md
Created December 6, 2018 16:04
Learning LaTex

Operators

  • Add
    • $x + y$
  • Subtract
    • $x - y$
  • Multiply
    • $x * y$
  • $x \times y$
@hossainlab
hossainlab / anaconda.md
Last active July 9, 2020 13:24
Anaconda is a important tool for data science.

How To Install Anaconda On Ubuntu

Download Anaconda

⬇️ Download Anaconda

1️⃣ Run The Following To Install Anaconda Python(3.7)

bash ~/Downloads/Anaconda3-5.3.0-Linux-x86_64.sh

2️⃣ Activate

@hossainlab
hossainlab / postgresql.md
Last active January 17, 2021 18:16
How To Install and Use PostgreSQL on Ubuntu 18.04

How To Install and Use PostgreSQL on Ubuntu 18.04

➡️ Install PostgeSQL

sudo apt update
sudo apt upgrade -y
sudo apt install postgresql postgresql-contrib
@hossainlab
hossainlab / reverse_number.md
Created April 12, 2019 15:37
Python Program To Reverse a Given Number

Python Program to Reverse a Given Number

n = int(input("Enter a number: "))
reversed_number = 0
while(n>0):
    last_digit = n%10
    reversed_number = reversed_number*10+last_digit
 n = n//10