Skip to content

Instantly share code, notes, and snippets.

View whit's full-sized avatar

Vítek Pliska whit

View GitHub Profile
@whit
whit / How-to-Python-in-Cursor.md
Created April 25, 2025 08:55 — forked from joeblackwaslike/How-to-Python-in-Cursor.md
How to use python with the Cursor IDE

How to use python with the Cursor AI IDE

We are going to edit cursors settings to point to the microsoft extensions marketplace.

  1. Remove all extensions and exit Cursor.
  2. Locate your Cursor project.json file depending on your platform and open it.
    • On MacOS: /Applications/Cursor.app/Contents/Resources/app/product.json
    • On Windows: C:\Users\<user_name>\AppData\Local\Programs\cursor\resources\app\product.json
    • On Linux: /usr/lib/code/product.json
  3. Locate the object value for key extensionsGallery in the json document.
@whit
whit / keybase.md
Last active August 29, 2015 14:16
keybase.md

Keybase proof

I hereby claim:

  • I am whit on github.
  • I am vitek (https://keybase.io/vitek) on keybase.
  • I have a public key whose fingerprint is 2F83 5558 890C 1C8B 50FE 79A7 EF82 A7DE 93C5 C427

To claim this, I am signing this object:

@whit
whit / gist:1320472
Created October 27, 2011 18:55
Simple awesome battery widget for notebooks with SMAPI (IBM/Lenovo).
-- register widget
batterywidget = widget({type = "textbox", name = "batterywidget", align = "right" })
-- timer
awful.hooks.timer.register(10, function()
battery('BAT0')
end)
-- widget function
function battery(adapter)
@whit
whit / .Xresources
Created October 23, 2011 17:19
Personal ~/.Xresources settings. With some rxvt-unicode tweaks, Solarized color theme etc...
##############
# Xft settings
##############
Xft.dpi: 96
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
@whit
whit / solarized-dark.colorscheme
Created October 23, 2011 17:07
Solarized (dark) color theme for KDE's Konsole. Copy it to ~/.kde4/share/apps/konsole/ and enjoy...
[Background]
Color=0,43,54
Transparency=false
[BackgroundIntense]
Color=104,104,104
Transparency=false
[Color0]
Color=7,54,66