Skip to content

Instantly share code, notes, and snippets.

View thecodermehedi's full-sized avatar
🧑‍💻
Solo Levelling

Mehedi Hasan thecodermehedi

🧑‍💻
Solo Levelling
View GitHub Profile
@thecodermehedi
thecodermehedi / bootstrap-breakpoint.css
Last active May 15, 2023 10:04 — forked from WebDevSimplified/bootstrap-breakpoint.css
This stylesheet adds text describing the current Bootstrap Breakpoint in the top right corner of the screen.
body {
margin-top: 40px; /* This margin just makes the text easier to read. You can remove it if you want since it can mess with your other styles. */
}
body::before {
content: "XS";
color: red;
font-size: 2rem;
font-weight: bold;
position: fixed;
@thecodermehedi
thecodermehedi / office2021activator.cmd
Last active March 22, 2025 20:48
Office 2021 LTS Activation Script
@echo off
title Activate Microsoft Office 2021 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Microsoft Office Standard 2021&echo - Microsoft Office Professional Plus 2021&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo =====================================================================================&echo Activating your product...&cscript //nologo slmgr.vbs /ckms >nul&c
@thecodermehedi
thecodermehedi / settings.json
Last active June 6, 2023 15:22
vscodium customization settings
{
//* Workbench
"window.menuBarVisibility": "toggle",
"workbench.sideBar.location": "left",
"window.autoDetectColorScheme": true,
"workbench.list.smoothScrolling": true,
"workbench.editor.labelFormat": "short",
"workbench.startupEditor": "newUntitledFile",
"workbench.productIconTheme": "fluent-icons",
"workbench.iconTheme": "material-icon-theme",
@thecodermehedi
thecodermehedi / settings.json
Last active June 6, 2023 10:36
Windows Terminal Settings
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [],
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"firstWindowPreference": "defaultProfile",
"initialCols": 80,
"initialRows": 20,
"profiles":
{
@thecodermehedi
thecodermehedi / .hyper_windows.js
Last active May 15, 2023 09:54
Hyper Terminal Configuration File For Windows
"use strict";
module.exports = {
config: {
updateChannel: "stable",
fontSize: 36,
fontFamily: '"JetBrainsMono Nerd Font Mono", "FiraCode NFM", monospace',
fontWeight: "normal",
@thecodermehedi
thecodermehedi / .hyper_linux.js
Created May 15, 2023 09:53
Hyper Terminal Configuration File For Linux
"use strict";
module.exports = {
config: {
updateChannel: "stable",
fontSize: 16,
fontFamily: '"JetBrainsMonoNL Nerd Font Mono", monospace',
fontWeight: "normal",
@thecodermehedi
thecodermehedi / starship.toml
Last active May 15, 2023 12:45
Starship Prompt Customization
## FIRST LINE/ROW: Info & Status
# First param ─┌
[username]
format = " [╭─$user]($style)@"
style_user = "bold green"
style_root = "bold red"
show_always = true
# Second param
[hostname]
@thecodermehedi
thecodermehedi / sources.list
Last active May 16, 2023 12:45
Debian (Currently Version 12) testing branch (Currently called Bookwarm) APT Package Manager Source List File For x64(Intel) or AMD64 Architechture
deb [arch=amd64] http://deb.debian.org/debian testing main contrib non-free-firmware
deb-src [arch=amd64] http://deb.debian.org/debian testing main contrib non-free-firmware
deb [arch=amd64] http://security.debian.org testing-security main contrib non-free-firmware
deb-src [arch=amd64] http://security.debian.org testing-security main contrib non-free-firmware
@thecodermehedi
thecodermehedi / disable-screensaver.sh
Created May 16, 2023 12:36 — forked from ChrisTitusTech/disable-screensaver.sh
Disable Screensaver and timeouts on GNOME based Distributions
#!/bin/bash
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
gsettings set org.gnome.desktop.screensaver idle-activation-enabled false
gsettings set org.gnome.settings-daemon.plugins.power idle-dim false
@thecodermehedi
thecodermehedi / fixlocale.sh
Created May 16, 2023 12:38 — forked from ChrisTitusTech/fixlocale.sh
Fix Locales in any distro
#!/bin/bash
echo "LC_ALL=en_US.UTF-8" | sudo tee -a /etc/environment
echo "en_US.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
echo "LANG=en_US.UTF-8" | sudo tee -a /etc/locale.conf
sudo locale-gen en_US.UTF-8