Skip to content

Instantly share code, notes, and snippets.

View shahaj90's full-sized avatar
๐Ÿ 
Working from home

Shahajuddin shahaj90

๐Ÿ 
Working from home
View GitHub Profile
@shahaj90
shahaj90 / vs config
Last active August 31, 2026 11:47
VS code config File
{
// --- Mac Window โ€” native titlebar for WhiteSur-Dark (custom= default on Linux) ---
"window.titleBarStyle": "native",
"window.customTitleBarVisibility": "never", // hide custom bar when native
// --- UI & Workbench โ€” Dracula Soft + Material Icons (keep one icon pack) ---
"workbench.colorTheme": "Dracula Theme Soft", // dracula-theme 2.25.1 vs-dark
"workbench.startupEditor": "none", // no welcome page
"workbench.layoutControl.enabled": false, // default true
"workbench.secondarySideBar.showLabels": false,
@shahaj90
shahaj90 / zed editor config
Last active August 31, 2026 11:55
Zed editor config file
{
"window_decorations": "server",
"disable_ai": false,
"agent_servers": {},
"diff_view_style": "unified",
"language_models": {
"opencode": {
"show_go_models": true,
"show_free_models": false,
"show_zen_models": false
@shahaj90
shahaj90 / .htaccess
Last active December 25, 2024 18:13
Nuxtjs htaccess file for cPanel
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
@shahaj90
shahaj90 / .htaccess
Last active March 9, 2024 17:17
Laravel htaccess file for cPanel
<IfModule mod_rewrite.c>
# That was ONLY to protect you from 500 errors
# if your server did not have mod_rewrite enabled
RewriteEngine On
# RewriteBase /
# NOT needed unless you're using mod_alias to redirect
RewriteCond %{REQUEST_URI} !/public
RewriteRule ^(.*)$ public/$1 [L]
@shahaj90
shahaj90 / .htaccess
Last active March 9, 2024 17:16
Nextjs htaccess file for cPanel
<IfModule mod_rewrite.c>
RewriteEngine on
# Remove trailing slash if it exists
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Serve HTML files without extension
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html [NC,L]
</IfModule>