Skip to content

Instantly share code, notes, and snippets.

View Jayesh-11's full-sized avatar
🌱
idkmanwhatisthisletmesleep

Jayesh Vyavahare Jayesh-11

🌱
idkmanwhatisthisletmesleep
View GitHub Profile
@Jayesh-11
Jayesh-11 / html_tooltip.md
Created March 8, 2026 10:35
tool tip in html
@Jayesh-11
Jayesh-11 / cursor-hides-title-bar-better.md
Last active March 6, 2026 16:23
Cursor does what VSCodium won't — hiding the title & status bar the right way

When I am not using nvim, I use VSCodium, Cursor or Zed, and irrespective of what editor I use I like to keep it clean i.e minimal things on my screen. There is no beating nvim in that case, but when I am using VSCodium, Cursor or Zed, the title bar and status bar is something that I don't need, 0 cases, I haven't ever found them useful.

Now hiding them means hiding them, that means they should not visible at all, I could not find a way to do that in VSCodium. I could not get it to work natively. I haven't tried on Zed yet, will update.

Cursor on the other hand made it absolutely easy and provided better UX. The difference is present in the comments. This is how you do it. Cmd + Shift + J > General > Layout > Hide both Its not also just hiding the title bar but also utilizing the space for tabs. Gold.

I appreciate Cursor for being considerate about this, small thing but I'm really glad so

@Jayesh-11
Jayesh-11 / adding_shortcut_for_chrome_apps_in_karabiner.json.md
Created March 1, 2026 11:53
Adding shortcut for chrome apps in karabiner.json

So I use Karabiner for keyboard shortcuts and I also use jira for tracking personal tickets but jira doesn't provide desktop application so I used pwa but since its not a normal application, putting the path in karabiner was bit tricky

first, chrome applications are not stores at Applications but rather at ~/Applications/Chrome\ Apps.localized

second, now you cannot simply use \ here because karabiner.json rejects that, so instead you need to use ~/Applications/Chrome Apps.localized/Jira.app

and now it works!

@Jayesh-11
Jayesh-11 / some_useful_commands.md
Last active January 27, 2026 15:12
Some useful commands

check if nerd font is installed

fc-list | grep "Nerd Font"
@Jayesh-11
Jayesh-11 / mac_setup.md
Last active March 6, 2026 10:06
mac setup

Mac settings

Based on the screenshot shown:

  • Appearance
    • Light Mode
    • Liquid Glass -> Tinted
      • Windows
        • Sidebar icon size -> Large
  • Tint window background with wallpaper color -> Off
@Jayesh-11
Jayesh-11 / how_to_decrease_docker_image_size.md
Created January 16, 2026 11:47
How to decrease docker images size

How to decrease docker images size

Published: Jan 16 2026


In short : Multi-stage build

I was building a rust server to be deployed as docker image on a VM Here's the thing once I did build that, the size of image was 2.4GB.

@Jayesh-11
Jayesh-11 / RectangleConfig.json
Last active January 2, 2026 08:38
RectangleConfig.json
{
"bundleId" : "com.knollsoft.Rectangle",
"defaults" : {
"SUEnableAutomaticChecks" : {
"bool" : true
},
"allowAnyShortcut" : {
"bool" : true
},
"almostMaximizeHeight" : {
@Jayesh-11
Jayesh-11 / google_keyboard_looks_better_with_square_keys.md
Last active December 27, 2025 06:08
Google Keyboard looks better with square keys

Google Keyboard looks better with square keys

Published: Dec 26 2025


I like my tools efficient and pretty, so I play around with them until they look and feel great. I was messing with gboard settings on my android phone and realized I can change its height and by doing that it makes the keyboard keys look square, its a much better experience then whatever the default height and width is, give it a shot. Personally never going back to default keyboard.

@Jayesh-11
Jayesh-11 / nested_try_catch_issue_in_js.md
Last active December 27, 2025 06:06
Nested try catch issue in JS

Nested try catch issue in JS

Published: Dec 19 2025


Lets say there are three promises

async function a() {