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
#include<stdio.h>
/*
*Pattern-1
1
1 2
1 2 3
*Number Right Angle Triangle Pattern
*/
int main() {
  • Input-Output from console
  • Simple arithmatic and bitwise operations
  • If-Else
  • Loops
  • Array
  • ArrayList
  • HashMap
  • Stack class
  • Queue class
  • StringBuffer class
@hossainlab
hossainlab / functions.js
Created April 20, 2019 07:55
Functions In JS
// Function Declarations
function sayHello() {
console.log("Hello World!");
}
// Call Function
sayHello();
// return
function sayHello() {
const color = 'red';
switch(color) {
case 'red':
console.log('Color is red!');
break;
case 'blue':
console.log('Color is blue!');
break;
default:
n = int(input("Enter number: "))
reversed_number = 0
while(n>0):
last_digit = n%10
reversed_number = reversed_number*10 + last_digit
n = n//10
print("Reversed Number:",reversed_number)
@hossainlab
hossainlab / welcome-to-colaboratory.ipynb
Created July 14, 2019 16:41
Welcome To Colaboratory
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hossainlab
hossainlab / moocs.md
Last active March 14, 2020 07:00
MOOCs for Learning
@hossainlab
hossainlab / computing_for_life.md
Last active March 12, 2020 16:54
Computing for Life

Computing for life: Study Plan

Week-1: Linux

  • Introduction To Linux
  • Why Linux Over Windows?
  • Installing UBUNTU-19.04
    • Option-1: In VirtualBox
      • Minumum Laptop Config: RAM=4GB, PRO= i3, HDD or SSD?, SSD=MUST(For Good Performance In VirtualBox)
    • Option-2: Dual Boot(Alongside Windowns)
  • Minimum Laptop Config: RAM=4GB, PRO= i3, HDD or SSD?, SSD=Recommended, FreeSpace=50GB+
@hossainlab
hossainlab / LaTex_CheatSheet.tex
Created October 16, 2019 15:39
LaTex CheatSheet for Scientific Writing
% Document will be printed on a4 paper, using the 12pt default font
% Define that we want to use the report class template
% Other classes : article, book, letter, slides and others
% In the preamble we define document wide rules
% Commands start with a name [optional arguments] {required arguments}