Cursor Cheatsheet
AI Generate comments @commit generate commit message
AI Generate comments @commit generate commit message
ubuntu
Resizing a window that's too small Alt + F10 Resizes the window
Basics Functionality Keys dd Delete one line Delete a block of lines Go to the starting line and type ma (mark "a"). Then go to the last line and enter d'a (delete to mark "a").
Fixing a hard drive Adding an external hard drive to a Proxmox VM
Link: Proxmox Forum Automatically 1. Go to your server 2. Expand the disk section 3. Click on Directory 4. Find the directory you want to remove 5. Click on the obscure more button in your top right corner 6. Select Destroy Manually 1. Login to your Proxmox Server Web GUI
Granting Permissions to Postgres Roles Granting permissions to sequences GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO www; Change owners for all tables in Postgres DO $$ DECLARE r RECORD; BEGIN FOR r IN SELECT tablename FROM pg_tables WHERE schemaname = 'public' LOOP EXECUTE 'ALTER TABLE
JQL Finding all issues related to a portfolio hierarchy issuekey in portfolioChildIssuesOf(MYKEY-8)
Initial Setup System Default Port: 5380 Setting up DNS Server * General Section * Set the DNS Server Local End Point to point to the network address that it should be listening to * Similarly, the DNS Server IPv4 address should beset to point to the network address it should be listening to
polestar
Google Assistant Commands You can use "Hey Google" to do the following commands * Check car battery status * Start climate preconditioning * Unlock car doors * Lock car doors
My backscreen won't turn on There's a button to the left of the view finder that toggles between the rear LCD screen and the electronic view finder. What happens to me is that I sometimes accidentally touch it and it disables the display on my screen.
Setting up ZWave on Home Assistant as a container * Identify the device that the ZWave dongle is plugged into ls -l /dev/serial/by-id
Docker configurations Setting up a local environment docker run \ --name elasticsearch \ --net elastic \ -p 9200:9200 \ -p 9300:9300 \ -e "discovery.type=single-node" \ -e "xpack.security.enabled=true" \ -t docker.elastic.co/elasticsearch/elasticsearch:8.5.2 Your local environment has to run in a single-node