Skip to content

Instantly share code, notes, and snippets.

View hasinur1997's full-sized avatar
🎯
Focusing

Hasinur Rahman hasinur1997

🎯
Focusing
  • rtCamp
  • India
View GitHub Profile
@hasinur1997
hasinur1997 / python-assignment-one.md
Created February 6, 2025 16:02
python-assignment-one
print("Enter a number: ")
number1 = int(input())

print("Enter another number:")
number2 = int(input())

print("Enter operator: ")
operator = input()

Javascript Notes

Closures: A closure is a function having access to the parent scope, even after the parent function has closed.

Example:

const add = (function () {
  let counter = 0;
  return function () {counter += 1; return counter}
})();

25 Coding Patterns

  1. Two Pointers
  2. Fast and Slow Pointers
  3. Flood Fill
  4. Sliding Window
  5. Merge Intervals
  6. Cyclic Sort
  7. In-place Reversal of a Linked List
  8. Tree Depth First Search

Softare Testing

Software testing can be stated as the process of verifying and validating whether a software or application is bug-free, meets the technical requirements as guided by its design and development, and meets the user requirements effectively and efficiently by handling all the exceptional and boundary cases.

Collected defination from Geeksforgeeks

Types of Testing

alt t Collected from Geeksforgeeks

@hasinur1997
hasinur1997 / git-commands.md
Last active March 14, 2023 06:58
Git commands

Common git commands

git add . ("Add all changes on current branch")

git status ("Display the state of the working directory")

git commit -m "Commit message" ("Added git commit message")

git commit --amend -m "New commit message" ("Changes the recent commit message")

@hasinur1997
hasinur1997 / wp-media.md
Last active September 19, 2022 15:13
WordPress Media upload using wp-media
@hasinur1997
hasinur1997 / wp-list-table.md
Created September 16, 2022 14:23
WordPress List Table Example

WordPress List Table

<?php
namespace Hasinur\Library\Admin;

use WP_List_Table;

class BookListTable extends WP_List_Table {
    public $books = [];