Skip to content

Instantly share code, notes, and snippets.

View anisur3036's full-sized avatar
🏠
Working with vuejs and tailwindcss

Anisur Rahman anisur3036

🏠
Working with vuejs and tailwindcss
View GitHub Profile
const fruits = ['apple', 'orange', 'banana', 'mango', 'pineapple', 'jackfruit', 'strowberry'];
// const pushedArray = fruits.push('blackberry');
// console.log(fruits);
// console.log(pushedArray);
// const popArray = fruits.pop();
// console.log(fruits);
@anisur3036
anisur3036 / Task.md
Last active November 4, 2021 13:59
JavaScript Task

Day 1

  • A student know basic of JavaScript, He trying to make a function that concatenate string "JavaScript" at the end of his input. This function takes an input or argument as string and return something link below example.
saySomething("Oh nooo!")  "Oh nooo! JavaScript"

saySomething("I am learning")  "I am learning JavaScript"

saySomething("Ii is My first challange of")  "Ii is My first challange of JavaScript"
@anisur3036
anisur3036 / Home.jsx
Created December 25, 2021 08:37 — forked from adrianhajdin/Home.jsx
Build and Deploy a Modern Full Stack Social Media App | FULL COURSE
import React, { useState, useRef, useEffect } from 'react';
import { HiMenu } from 'react-icons/hi';
import { AiFillCloseCircle } from 'react-icons/ai';
import { Link, Route, Routes } from 'react-router-dom';
import { Sidebar, UserProfile } from '../components';
import Pins from './Pins';
import { userQuery } from '../utils/data';
import { client } from '../client';
import logo from '../assets/logo.png';
@anisur3036
anisur3036 / assignment.c
Created October 28, 2022 16:04
First Assignment
//problem 01
#include <stdio.h>
int main()
{
int a = 5, b = 13;
// Write code here
int temp;
temp = a;
a = b;
@anisur3036
anisur3036 / merge_and_sorted_array.c
Last active October 31, 2022 09:03
Write a C program to merge two array and sort element in desending order.
// Write a c program to sort a array element in Desending order
#include <stdio.h>
int main() {
int i, j, temp, n1, n2, n3;
int arr1[100000], arr2[100000], arr3[200000];
printf("Please enter the size of first array: ");
scanf("%d", &n1);
@anisur3036
anisur3036 / reverse_array.c
Created October 31, 2022 17:24
Print a reverse order of an array in C language
/*
*Write a C program to take one positive integer N, the size of an array as input.
*Then take an integer array of size N as input and show output in reverse order.
*/
#include <stdio.h>
int main() {
int i, N;
@anisur3036
anisur3036 / program.c
Created November 1, 2022 09:54
Value will be added specific index in C
/*
* You will be given an positive integer N and after that an integer array of size N.
* Then you will be given Q which refers to queries. For each query you will be given i and v where i refers to the index and v to value.
* You need to add the value to that index. After all of the queries print the values
*/
#include <stdio.h>
int main() {
// Write C code here
@anisur3036
anisur3036 / unique.c
Last active November 1, 2022 12:40
Find out all element of array are same in C
#include <stdio.h>
int main() {
// Write C code here
int i, n, m, unique = 0;
int value;
printf("Size of array: ");
scanf("%d", &n);
int arr[n];
@anisur3036
anisur3036 / program.c
Last active November 1, 2022 14:22
Nested loop example
/*
* Write a C program to take one positive integer N, the size of an array as input.
* Then take an integer array of size N as input.
* You need to print the values and for every value, you need print other values than that.
* See the samples for more clarification.
*/
#include <stdio.h>
int main() {
@anisur3036
anisur3036 / merge.c
Created November 6, 2022 06:51
Divide into two array of one array element and after that merge them again oposite direction
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int N, R, K, i, j, index, boysIndex;
int arr[21];
int arr2[21];
int arr3[21];
int mergeArray[21];
scanf("%d", &N);