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 / books.json
Last active September 14, 2023 13:06
bangla-programming-books-by-jhanakar-mahabub-from-rokomari.com-real-api-data-collected-in-14-sep-2023-at-04:02PM
[
{
"bookTitle": "হাবলুদের জন্য প্রোগ্রামিং",
"bookAuthor": "ঝংকার মাহবুব",
"bookPrice": "TK. 300",
"offerPrice": "TK. 225",
"authorImage": "https://i.imgur.com/gYfE1O8.jpg",
"bookCover": "https://ds.rokomari.store/rokomari110/ProductNew20190903/130X186/00ea58560_112222.jpg"
},
{
@thecodermehedi
thecodermehedi / blogsbymehedi.json
Last active September 13, 2023 17:36
mock-blog-post-data
[
{
"id": 1,
"coverImage": "https://i.imgur.com/KFPqtc4.jpg",
"userImage": "https://i.imgur.com/6bWEcgc.png",
"userName": "Mehedi Hasan",
"postDate": "Mar 14",
"title": "Introduction to JavaScript",
"tags": ["#JavaScript", "#Programming", "#WebDev"],
"readingTime": 10
[
{
"id": 1,
"name": "Watch",
"price": "$19.99",
"brand": "Rolex"
},
{
"id": 2,
"name": "Sunglasses",
@thecodermehedi
thecodermehedi / css-media-queries-cheat-sheet.css
Created July 20, 2023 06:32 — forked from bartholomej/css-media-queries-cheat-sheet.css
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
@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
@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 / 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 / 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 / .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 / .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",