Skip to content

Instantly share code, notes, and snippets.

View alamindevms's full-sized avatar
❤️
Love can do all but raise the dead.

Al Amin Hossain alamindevms

❤️
Love can do all but raise the dead.
View GitHub Profile
If you need to add process name then modify the PROCESS_NAMES() value.
Step 1:
Save the script to a file, for example, stop_processes.sh
Step 2:
Make the script executable: chmod +x stop_processes.sh
Step 3:
Run the script whenever your PC slows down: ./stop_processes.sh
@alamindevms
alamindevms / index.html
Created February 8, 2024 04:03
Nested Table Design
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nested Table Design</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<section>
@alamindevms
alamindevms / settings.json
Created December 4, 2023 04:20
VS-Code-Settings-Extentions
{
// editor
"editor.fontSize": 20,
"editor.fontFamily": "Fira Code, Operator Mono",
"editor.fontLigatures": true,
"editor.wordWrap": "on",
"editor.minimap.enabled": false,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
@alamindevms
alamindevms / index.html
Created May 19, 2023 10:03
Responsive Image
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Responsive Images</title>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
@alamindevms
alamindevms / index.html
Created August 12, 2022 05:39
Carousel with gsap animation, tailwindcss
<section class="relative overflow-hidden h-[250px] lg:h-[650px] bg-cover w-full bg-bottom">
<div class="h-full w-full">
<div class="wrapper">
<div id="slider">
<div class="slide">
<div class="slide-wrapper">
<div class="img-wrapper">
<img src="https://wallpapercave.com/wp/wp1808936.jpg" alt="">
</div>
<div class="title-wrapper">
@alamindevms
alamindevms / Calendar.vue
Created August 4, 2022 07:35
Weekly calendar Vue Component
<template>
<div class="space-y-4">
<div class="flex items-center gap-2">
<h1 class="text-4xl font-bold text-[#1B1D21]">
{{ formatDate2(selectDate.toLocaleDateString()) }}
</h1>
<DatePicker class="shrink-0" v-model="selectDate">
<template v-slot="{ inputValue, togglePopover }">
<button @click="togglePopover()">